---
Fuzzer filename: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
All functions:
  Function list name: All functions
  Elements:
    - functionName:    do_minidriver_support_style
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 927
      functionLinenumberEnd: 928
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - map_str2int
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:928,9'
          Dst:             map_str2int
    - functionName:    map_str2int
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2430
      functionLinenumberEnd: 2454
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          133
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - __ctype_b_loc
        - get_uint
        - parse_error
        - strcasecmp
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2434,6'
          Dst:             __ctype_b_loc
        - Src:             '../../../src/pkcs15init/profile.c:2435,10'
          Dst:             get_uint
        - Src:             '../../../src/pkcs15init/profile.c:2437,8'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:2452,2'
          Dst:             parse_error
    - functionName:    __ctype_b_loc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    26
      BranchProfiles:  []
      Callsites:       []
    - functionName:    get_uint
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2386
      functionLinenumberEnd: 2406
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          90
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - parse_error
        - strstr
        - strtoul
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2390,6'
          Dst:             strstr
        - Src:             '../../../src/pkcs15init/profile.c:2391,9'
          Dst:             strtoul
        - Src:             '../../../src/pkcs15init/profile.c:2392,11'
          Dst:             strstr
        - Src:             '../../../src/pkcs15init/profile.c:2393,9'
          Dst:             strtoul
        - Src:             '../../../src/pkcs15init/profile.c:2395,9'
          Dst:             strtoul
        - Src:             '../../../src/pkcs15init/profile.c:2397,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:2401,3'
          Dst:             parse_error
    - functionName:    strcasecmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    22
      BranchProfiles:  []
      Callsites:       []
    - functionName:    parse_error
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2699
      functionLinenumberEnd: 2714
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          88
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - fprintf
        - sc_do_log
        - strchr
        - vsnprintf
      functionUses:    49
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2704,2'
          Dst:             vsnprintf
        - Src:             '../../../src/pkcs15init/profile.c:2707,12'
          Dst:             strchr
        - Src:             '../../../src/pkcs15init/profile.c:2711,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:2713,3'
          Dst:             fprintf
    - functionName:    vsnprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strchr
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    258
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strstr
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strtoul
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    do_pkcs15_id_style
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 921
      functionLinenumberEnd: 922
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - map_str2int
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:922,9'
          Dst:             map_str2int
    - functionName:    do_encode_update_field
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 915
      functionLinenumberEnd: 916
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_bool
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:916,9'
          Dst:             get_bool
    - functionName:    get_bool
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2410
      functionLinenumberEnd: 2425
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          93
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - parse_error
        - strcasecmp
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2411,7'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:2412,7'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:2413,7'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:2416,7'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:2417,7'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:2418,7'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:2421,3'
          Dst:             parse_error
    - functionName:    do_encode_df_length
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 909
      functionLinenumberEnd: 910
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_bool
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:910,9'
          Dst:             get_bool
    - functionName:    do_direct_certificates
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 903
      functionLinenumberEnd: 904
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_bool
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:904,9'
          Dst:             get_bool
    - functionName:    new_macro
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1877
      functionLinenumberEnd: 1894
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          88
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
        - find_macro
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1883,13'
          Dst:             find_macro
        - Src:             '../../../src/pkcs15init/profile.c:1884,9'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/profile.c:1887,15'
          Dst:             strdup
    - functionName:    find_macro
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1898
      functionLinenumberEnd: 1906
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          54
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - strcmp
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1902,8'
          Dst:             strcmp
    - functionName:    calloc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    201
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strdup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    78
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strcmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    80
      BranchProfiles:  []
      Callsites:       []
    - functionName:    do_pin_flags
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1822
      functionLinenumberEnd: 1837
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          91
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - map_str2int
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1831,12'
          Dst:             map_str2int
    - functionName:    do_pin_maxunlocks
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1738
      functionLinenumberEnd: 1746
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1742,6'
          Dst:             get_uint
    - functionName:    do_pin_storedlength
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1809
      functionLinenumberEnd: 1818
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          61
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1812,6'
          Dst:             get_uint
    - functionName:    do_pin_minlength
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1783
      functionLinenumberEnd: 1792
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          61
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1786,6'
          Dst:             get_uint
    - functionName:    do_pin_maxlength
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1796
      functionLinenumberEnd: 1805
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          61
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1799,6'
          Dst:             get_uint
    - functionName:    do_pin_authid
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1776
      functionLinenumberEnd: 1778
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_format_id
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1777,2'
          Dst:             sc_pkcs15_format_id
    - functionName:    do_pin_reference
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1763
      functionLinenumberEnd: 1772
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          60
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1766,6'
          Dst:             get_uint
    - functionName:    do_pin_type
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1750
      functionLinenumberEnd: 1759
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          60
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - map_str2int
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1753,6'
          Dst:             map_str2int
    - functionName:    do_pin_attempts
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1726
      functionLinenumberEnd: 1734
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1730,6'
          Dst:             get_uint
    - functionName:    do_pin_offset
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1720
      functionLinenumberEnd: 1721
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1721,9'
          Dst:             get_uint
    - functionName:    do_pin_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1712
      functionLinenumberEnd: 1715
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - strdup
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1714,24'
          Dst:             strdup
    - functionName:    do_key_value
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 987
      functionLinenumberEnd: 1012
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          95
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - parse_error
        - sc_hex_to_bin
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:995,13'
          Dst:             strlen
        - Src:             '../../../src/pkcs15init/profile.c:997,7'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1003,7'
          Dst:             sc_hex_to_bin
        - Src:             '../../../src/pkcs15init/profile.c:1004,4'
          Dst:             parse_error
    - functionName:    strlen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    112
      BranchProfiles:  []
      Callsites:       []
    - functionName:    new_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 968
      functionLinenumberEnd: 983
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          93
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:976,7'
          Dst:             calloc
    - functionName:    process_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 954
      functionLinenumberEnd: 964
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          54
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - get_authid
        - init_state
        - new_key
        - process_block
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:958,6'
          Dst:             get_authid
        - Src:             '../../../src/pkcs15init/profile.c:961,2'
          Dst:             init_state
        - Src:             '../../../src/pkcs15init/profile.c:962,14'
          Dst:             new_key
        - Src:             '../../../src/pkcs15init/profile.c:963,9'
          Dst:             process_block
    - functionName:    get_authid
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2361
      functionLinenumberEnd: 2382
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          115
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - __ctype_b_loc
        - _strlcpy
        - get_uint
        - map_str2int
        - strcspn
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2365,6'
          Dst:             __ctype_b_loc
        - Src:             '../../../src/pkcs15init/profile.c:2367,10'
          Dst:             get_uint
        - Src:             '../../../src/pkcs15init/profile.c:2370,6'
          Dst:             strlen
        - Src:             '../../../src/pkcs15init/profile.c:2373,6'
          Dst:             strcspn
        - Src:             '../../../src/pkcs15init/profile.c:2374,2'
          Dst:             _strlcpy
        - Src:             '../../../src/pkcs15init/profile.c:2376,6'
          Dst:             map_str2int
        - Src:             '../../../src/pkcs15init/profile.c:2379,10'
          Dst:             get_uint
    - functionName:    init_state
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 836
      functionLinenumberEnd: 841
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          26
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    process_block
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2195
      functionLinenumberEnd: 2245
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          202
      EdgeCount:       44
      CyclomaticComplexity: 13
      functionsReached:
        - find_block_handler
        - find_cmd_handler
        - parse_error
        - process_command
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2207,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:2216,6'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:2224,14'
          Dst:             find_block_handler
        - Src:             '../../../src/pkcs15init/profile.c:2233,14'
          Dst:             find_cmd_handler
        - Src:             '../../../src/pkcs15init/profile.c:2234,11'
          Dst:             process_command
        - Src:             '../../../src/pkcs15init/profile.c:2238,3'
          Dst:             parse_error
    - functionName:    find_block_handler
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2170
      functionLinenumberEnd: 2178
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          58
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - strcasecmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2174,8'
          Dst:             strcasecmp
    - functionName:    find_cmd_handler
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2182
      functionLinenumberEnd: 2190
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          58
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - strcasecmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2186,8'
          Dst:             strcasecmp
    - functionName:    process_command
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2150
      functionLinenumberEnd: 2166
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          102
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - build_argv
        - parse_error
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2158,14'
          Dst:             build_argv
        - Src:             '../../../src/pkcs15init/profile.c:2162,3'
          Dst:             parse_error
    - functionName:    build_argv
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2082
      functionLinenumberEnd: 2146
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          212
      EdgeCount:       41
      CyclomaticComplexity: 13
      functionsReached:
        - build_argv
        - check_macro_reference_loop
        - find_macro
        - get_inner_word
        - parse_error
        - strchr
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2090,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:2098,22'
          Dst:             strchr
        - Src:             '../../../src/pkcs15init/profile.c:2101,9'
          Dst:             get_inner_word
        - Src:             '../../../src/pkcs15init/profile.c:2104,18'
          Dst:             find_macro
        - Src:             '../../../src/pkcs15init/profile.c:2105,12'
          Dst:             check_macro_reference_loop
        - Src:             '../../../src/pkcs15init/profile.c:2115,17'
          Dst:             find_macro
        - Src:             '../../../src/pkcs15init/profile.c:2116,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:2124,7'
          Dst:             check_macro_reference_loop
        - Src:             '../../../src/pkcs15init/profile.c:2137,7'
          Dst:             build_argv
    - functionName:    get_inner_word
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2024
      functionLinenumberEnd: 2039
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          61
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - is_macro_character
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2030,9'
          Dst:             is_macro_character
    - functionName:    check_macro_reference_loop
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2047
      functionLinenumberEnd: 2077
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          142
      EdgeCount:       37
      CyclomaticComplexity: 12
      functionsReached:
        - check_macro_reference_loop
        - find_macro
        - get_inner_word
        - strchr
        - strcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2060,16'
          Dst:             strchr
        - Src:             '../../../src/pkcs15init/profile.c:2063,7'
          Dst:             get_inner_word
        - Src:             '../../../src/pkcs15init/profile.c:2066,13'
          Dst:             find_macro
        - Src:             '../../../src/pkcs15init/profile.c:2069,8'
          Dst:             strcmp
        - Src:             '../../../src/pkcs15init/profile.c:2072,7'
          Dst:             check_macro_reference_loop
    - functionName:    is_macro_character
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2016
      functionLinenumberEnd: 2020
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          56
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __ctype_b_loc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2017,6'
          Dst:             __ctype_b_loc
    - functionName:    strcspn
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    do_card_manufacturer
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 892
      functionLinenumberEnd: 895
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - setstr
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:895,9'
          Dst:             setstr
    - functionName:    setstr
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2458
      functionLinenumberEnd: 2462
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - strdup
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2461,10'
          Dst:             strdup
    - functionName:    do_card_label
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 884
      functionLinenumberEnd: 887
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - setstr
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:887,9'
          Dst:             setstr
    - functionName:    do_pin_domains
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 878
      functionLinenumberEnd: 879
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_bool
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:879,9'
          Dst:             get_bool
    - functionName:    do_pin_pad_char
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 872
      functionLinenumberEnd: 873
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:873,9'
          Dst:             get_uint
    - functionName:    do_default_pin_type
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 865
      functionLinenumberEnd: 867
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - map_str2int
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:866,9'
          Dst:             map_str2int
    - functionName:    do_minpinlength
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 859
      functionLinenumberEnd: 860
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:860,9'
          Dst:             get_uint
    - functionName:    do_maxpinlength
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 853
      functionLinenumberEnd: 854
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_uint
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:854,9'
          Dst:             get_uint
    - functionName:    do_card_driver
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 845
      functionLinenumberEnd: 848
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - strdup
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:847,25'
          Dst:             strdup
    - functionName:    template_sanity_check
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1074
      functionLinenumberEnd: 1119
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          201
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - parse_error
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1085,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1100,5'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1108,8'
          Dst:             strcmp
        - Src:             '../../../src/pkcs15init/profile.c:1112,5'
          Dst:             parse_error
    - functionName:    expr_put
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2493
      functionLinenumberEnd: 2497
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - expr_fail
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2495,3'
          Dst:             expr_fail
    - functionName:    expr_fail
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2488
      functionLinenumberEnd: 2488
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          7
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached:
        - longjmp
      functionUses:    15
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2488,2'
          Dst:             longjmp
    - functionName:    longjmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    expr_expect
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2563
      functionLinenumberEnd: 2569
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          51
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - expr_fail
        - expr_get
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2566,8'
          Dst:             expr_get
        - Src:             '../../../src/pkcs15init/profile.c:2568,3'
          Dst:             expr_fail
    - functionName:    expr_get
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2549
      functionLinenumberEnd: 2550
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __expr_get
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2550,9'
          Dst:             __expr_get
    - functionName:    __expr_get
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2501
      functionLinenumberEnd: 2545
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         39
      ICount:          244
      EdgeCount:       51
      CyclomaticComplexity: 14
      functionsReached:
        - __ctype_b_loc
        - expr_fail
        - expr_put
        - is_macro_character
        - strchr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2516,5'
          Dst:             expr_fail
        - Src:             '../../../src/pkcs15init/profile.c:2522,10'
          Dst:             __ctype_b_loc
        - Src:             '../../../src/pkcs15init/profile.c:2526,6'
          Dst:             __ctype_b_loc
        - Src:             '../../../src/pkcs15init/profile.c:2527,10'
          Dst:             __ctype_b_loc
        - Src:             '../../../src/pkcs15init/profile.c:2528,4'
          Dst:             expr_put
        - Src:             '../../../src/pkcs15init/profile.c:2531,3'
          Dst:             expr_put
        - Src:             '../../../src/pkcs15init/profile.c:2532,10'
          Dst:             is_macro_character
        - Src:             '../../../src/pkcs15init/profile.c:2533,4'
          Dst:             expr_put
        - Src:             '../../../src/pkcs15init/profile.c:2535,11'
          Dst:             strchr
        - Src:             '../../../src/pkcs15init/profile.c:2536,3'
          Dst:             expr_put
        - Src:             '../../../src/pkcs15init/profile.c:2539,3'
          Dst:             expr_fail
        - Src:             '../../../src/pkcs15init/profile.c:2543,2'
          Dst:             expr_put
    - functionName:    expr_unget
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2555
      functionLinenumberEnd: 2559
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - expr_fail
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2557,3'
          Dst:             expr_fail
    - functionName:    expr_term
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2574
      functionLinenumberEnd: 2612
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          189
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - __ctype_b_loc
        - build_argv
        - expr_eval
        - expr_expect
        - expr_fail
        - expr_get
        - find_macro
        - get_uint_eval
        - parse_error
        - strtoul
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2577,8'
          Dst:             expr_get
        - Src:             '../../../src/pkcs15init/profile.c:2580,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:2581,4'
          Dst:             expr_fail
        - Src:             '../../../src/pkcs15init/profile.c:2583,3'
          Dst:             expr_eval
        - Src:             '../../../src/pkcs15init/profile.c:2584,3'
          Dst:             expr_expect
        - Src:             '../../../src/pkcs15init/profile.c:2586,11'
          Dst:             __ctype_b_loc
        - Src:             '../../../src/pkcs15init/profile.c:2590,9'
          Dst:             strtoul
        - Src:             '../../../src/pkcs15init/profile.c:2592,4'
          Dst:             expr_fail
        - Src:             '../../../src/pkcs15init/profile.c:2594,4'
          Dst:             expr_fail
        - Src:             '../../../src/pkcs15init/profile.c:2602,15'
          Dst:             find_macro
        - Src:             '../../../src/pkcs15init/profile.c:2603,4'
          Dst:             expr_fail
        - Src:             '../../../src/pkcs15init/profile.c:2604,10'
          Dst:             build_argv
        - Src:             '../../../src/pkcs15init/profile.c:2605,19'
          Dst:             get_uint_eval
        - Src:             '../../../src/pkcs15init/profile.c:2606,4'
          Dst:             expr_fail
        - Src:             '../../../src/pkcs15init/profile.c:2609,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:2610,3'
          Dst:             expr_fail
    - functionName:    expr_eval
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2616
      functionLinenumberEnd: 2673
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          192
      EdgeCount:       35
      CyclomaticComplexity: 3
      functionsReached:
        - __expr_get
        - expr_eval
        - expr_fail
        - expr_term
        - expr_unget
      functionUses:    3
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/profile.c:2630,3'
          Branch Sides:    []
        - Branch String:   '../../../src/pkcs15init/profile.c:2658,3'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2620,2'
          Dst:             expr_term
        - Src:             '../../../src/pkcs15init/profile.c:2623,9'
          Dst:             __expr_get
        - Src:             '../../../src/pkcs15init/profile.c:2648,4'
          Dst:             expr_fail
        - Src:             '../../../src/pkcs15init/profile.c:2652,4'
          Dst:             expr_unget
        - Src:             '../../../src/pkcs15init/profile.c:2657,3'
          Dst:             expr_eval
        - Src:             '../../../src/pkcs15init/profile.c:2662,5'
          Dst:             expr_fail
        - Src:             '../../../src/pkcs15init/profile.c:2668,12'
          Dst:             expr_fail
    - functionName:    get_uint_eval
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2677
      functionLinenumberEnd: 2695
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - _setjmp
        - expr_eval
        - expr_fail
        - parse_error
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2685,6'
          Dst:             _setjmp
        - Src:             '../../../src/pkcs15init/profile.c:2686,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:2690,2'
          Dst:             expr_eval
        - Src:             '../../../src/pkcs15init/profile.c:2692,3'
          Dst:             expr_fail
    - functionName:    _setjmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    do_prop_attr
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1460
      functionLinenumberEnd: 1478
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          86
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - parse_error
        - sc_hex_to_bin
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1462,16'
          Dst:             strlen
        - Src:             '../../../src/pkcs15init/profile.c:1466,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1475,7'
          Dst:             sc_hex_to_bin
    - functionName:    do_content
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1437
      functionLinenumberEnd: 1456
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          86
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - parse_error
        - sc_hex_to_bin
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1439,16'
          Dst:             strlen
        - Src:             '../../../src/pkcs15init/profile.c:1443,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1453,7'
          Dst:             sc_hex_to_bin
    - functionName:    do_exclusive_aid
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1512
      functionLinenumberEnd: 1557
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          151
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - parse_error
        - sc_format_path
        - sc_hex_to_bin
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1519,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1528,2'
          Dst:             sc_format_path
        - Src:             '../../../src/pkcs15init/profile.c:1530,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1544,9'
          Dst:             strlen
        - Src:             '../../../src/pkcs15init/profile.c:1546,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1554,9'
          Dst:             sc_hex_to_bin
    - functionName:    do_profile_extension
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1561
      functionLinenumberEnd: 1567
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - parse_error
        - setstr
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1563,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1566,9'
          Dst:             setstr
    - functionName:    do_acl
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1579
      functionLinenumberEnd: 1634
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          243
      EdgeCount:       58
      CyclomaticComplexity: 17
      functionsReached:
        - _strlcpy
        - get_authid
        - map_str2int
        - parse_error
        - sc_file_add_acl_entry
        - sc_file_clear_acl_entries
        - sc_file_get_acl_entry
        - strchr
        - strcmp
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1591,7'
          Dst:             strlen
        - Src:             '../../../src/pkcs15init/profile.c:1593,3'
          Dst:             _strlcpy
        - Src:             '../../../src/pkcs15init/profile.c:1595,15'
          Dst:             strchr
        - Src:             '../../../src/pkcs15init/profile.c:1601,8'
          Dst:             map_str2int
        - Src:             '../../../src/pkcs15init/profile.c:1604,12'
          Dst:             get_authid
        - Src:             '../../../src/pkcs15init/profile.c:1608,8'
          Dst:             strcmp
        - Src:             '../../../src/pkcs15init/profile.c:1610,5'
          Dst:             sc_file_clear_acl_entries
        - Src:             '../../../src/pkcs15init/profile.c:1611,5'
          Dst:             sc_file_add_acl_entry
        - Src:             '../../../src/pkcs15init/profile.c:1616,8'
          Dst:             map_str2int
        - Src:             '../../../src/pkcs15init/profile.c:1618,16'
          Dst:             sc_file_get_acl_entry
        - Src:             '../../../src/pkcs15init/profile.c:1623,5'
          Dst:             sc_file_clear_acl_entries
        - Src:             '../../../src/pkcs15init/profile.c:1625,4'
          Dst:             sc_file_add_acl_entry
        - Src:             '../../../src/pkcs15init/profile.c:1630,6'
          Dst:             parse_error
    - functionName:    do_aid
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1482
      functionLinenumberEnd: 1508
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          102
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - parse_error
        - sc_hex_to_bin
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1489,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1495,9'
          Dst:             strlen
        - Src:             '../../../src/pkcs15init/profile.c:1497,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1505,9'
          Dst:             sc_hex_to_bin
    - functionName:    do_reclength
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1421
      functionLinenumberEnd: 1433
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          59
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - get_uint
        - parse_error
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1425,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1429,6'
          Dst:             get_uint
    - functionName:    do_size
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1405
      functionLinenumberEnd: 1417
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          58
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - get_uint_eval
        - parse_error
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1409,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1413,6'
          Dst:             get_uint_eval
    - functionName:    do_structure
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1389
      functionLinenumberEnd: 1401
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          58
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - map_str2int
        - parse_error
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1393,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1397,6'
          Dst:             map_str2int
    - functionName:    do_fileid
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1344
      functionLinenumberEnd: 1385
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          185
      EdgeCount:       30
      CyclomaticComplexity: 10
      functionsReached:
        - parse_error
        - sc_format_path
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1350,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1358,2'
          Dst:             sc_format_path
        - Src:             '../../../src/pkcs15init/profile.c:1360,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1367,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1371,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1377,3'
          Dst:             parse_error
    - functionName:    do_file_path
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1320
      functionLinenumberEnd: 1340
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          102
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - parse_error
        - sc_format_path
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1325,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1333,2'
          Dst:             sc_format_path
        - Src:             '../../../src/pkcs15init/profile.c:1335,3'
          Dst:             parse_error
    - functionName:    do_file_type
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1304
      functionLinenumberEnd: 1316
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          58
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - map_str2int
        - parse_error
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1308,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1312,6'
          Dst:             map_str2int
    - functionName:    new_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1233
      functionLinenumberEnd: 1300
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          279
      EdgeCount:       60
      CyclomaticComplexity: 18
      functionsReached:
        - add_file
        - init_file
        - map_str2int
        - parse_error
        - sc_file_free
        - sc_profile_find_file
        - strcasecmp
        - strncasecmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1240,14'
          Dst:             sc_profile_find_file
        - Src:             '../../../src/pkcs15init/profile.c:1245,6'
          Dst:             strncasecmp
        - Src:             '../../../src/pkcs15init/profile.c:1246,10'
          Dst:             init_file
        - Src:             '../../../src/pkcs15init/profile.c:1248,14'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:1250,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1255,14'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:1257,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1262,14'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:1264,4'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1269,14'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:1270,10'
          Dst:             init_file
        - Src:             '../../../src/pkcs15init/profile.c:1273,7'
          Dst:             map_str2int
        - Src:             '../../../src/pkcs15init/profile.c:1277,10'
          Dst:             init_file
        - Src:             '../../../src/pkcs15init/profile.c:1284,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1289,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/profile.c:1293,9'
          Dst:             add_file
        - Src:             '../../../src/pkcs15init/profile.c:1295,3'
          Dst:             parse_error
    - functionName:    sc_profile_find_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2261
      functionLinenumberEnd: 2275
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          124
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - memcmp
        - strcasecmp
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2271,8'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/profile.c:2271,61'
          Dst:             memcmp
    - functionName:    strncasecmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    init_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 271
      functionLinenumberEnd: 283
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          69
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - sc_file_add_acl_entry
        - sc_file_new
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:275,9'
          Dst:             sc_file_new
        - Src:             '../../../src/pkcs15init/profile.c:277,3'
          Dst:             sc_file_add_acl_entry
    - functionName:    add_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1192
      functionLinenumberEnd: 1206
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          58
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - append_file
        - calloc
        - strdup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1195,9'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/profile.c:1199,16'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/profile.c:1204,2'
          Dst:             append_file
    - functionName:    append_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1176
      functionLinenumberEnd: 1183
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          32
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    memcmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    166
      BranchProfiles:  []
      Callsites:       []
    - functionName:    process_tmpl
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1125
      functionLinenumberEnd: 1169
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          117
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - init_state
        - parse_error
        - process_block
        - strdup
        - template_sanity_check
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1135,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1139,10'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/profile.c:1141,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1145,10'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/profile.c:1147,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1151,16'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/profile.c:1157,2'
          Dst:             init_state
        - Src:             '../../../src/pkcs15init/profile.c:1161,6'
          Dst:             process_block
        - Src:             '../../../src/pkcs15init/profile.c:1163,7'
          Dst:             template_sanity_check
    - functionName:    process_bso
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1055
      functionLinenumberEnd: 1066
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          55
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - init_state
        - new_file
        - parse_error
        - process_block
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1058,2'
          Dst:             init_state
        - Src:             '../../../src/pkcs15init/profile.c:1060,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1063,21'
          Dst:             new_file
        - Src:             '../../../src/pkcs15init/profile.c:1065,9'
          Dst:             process_block
    - functionName:    process_ef
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1038
      functionLinenumberEnd: 1049
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          55
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - init_state
        - new_file
        - parse_error
        - process_block
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1041,2'
          Dst:             init_state
        - Src:             '../../../src/pkcs15init/profile.c:1043,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1046,21'
          Dst:             new_file
        - Src:             '../../../src/pkcs15init/profile.c:1048,9'
          Dst:             process_block
    - functionName:    process_df
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1022
      functionLinenumberEnd: 1033
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          55
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - init_state
        - new_file
        - parse_error
        - process_block
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1025,2'
          Dst:             init_state
        - Src:             '../../../src/pkcs15init/profile.c:1027,3'
          Dst:             parse_error
        - Src:             '../../../src/pkcs15init/profile.c:1030,21'
          Dst:             new_file
        - Src:             '../../../src/pkcs15init/profile.c:1032,9'
          Dst:             process_block
    - functionName:    process_macros
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1842
      functionLinenumberEnd: 1873
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          116
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - is_macro_character
        - new_macro
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1855,10'
          Dst:             is_macro_character
        - Src:             '../../../src/pkcs15init/profile.c:1867,7'
          Dst:             new_macro
    - functionName:    process_option
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 937
      functionLinenumberEnd: 946
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          91
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - process_block
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:942,13'
          Dst:             strcmp
        - Src:             '../../../src/pkcs15init/profile.c:943,16'
          Dst:             strcmp
        - Src:             '../../../src/pkcs15init/profile.c:945,9'
          Dst:             process_block
    - functionName:    process_pin
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1639
      functionLinenumberEnd: 1650
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          52
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - init_state
        - map_str2int
        - new_pin
        - process_block
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1643,6'
          Dst:             map_str2int
        - Src:             '../../../src/pkcs15init/profile.c:1646,2'
          Dst:             init_state
        - Src:             '../../../src/pkcs15init/profile.c:1647,14'
          Dst:             new_pin
        - Src:             '../../../src/pkcs15init/profile.c:1649,9'
          Dst:             process_block
    - functionName:    new_pin
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1654
      functionLinenumberEnd: 1685
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          119
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1668,7'
          Dst:             calloc
    - functionName:    do_encode_string
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4648
      functionLinenumberEnd: 4662
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          87
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4652,10'
          Dst:             strlen
    - functionName:    set_info_string
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4555
      functionLinenumberEnd: 4566
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          59
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_parse_info
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4580
      functionLinenumberEnd: 4642
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          269
      EdgeCount:       59
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - set_info_string
      functionUses:    1
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:4606,3'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4608,8'
          Dst:             set_info_string
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4614,5'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4618,8'
          Dst:             set_info_string
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4631,2'
          Dst:             sc_do_log
    - functionName:    get_template_name_from_object
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3022
      functionLinenumberEnd: 3040
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          57
      EdgeCount:       19
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:3023,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_pkcs15init_get_pin_path
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4422
      functionLinenumberEnd: 4431
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15_find_pin_by_auth_id
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4426,6'
          Dst:             sc_pkcs15_find_pin_by_auth_id
    - functionName:    prkey_fixup_rsa
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2644
      functionLinenumberEnd: 2748
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         75
      ICount:          530
      EdgeCount:       104
      CyclomaticComplexity: 31
      functionsReached:
        - BN_CTX_free
        - BN_CTX_new
        - BN_bin2bn
        - BN_bn2bin
        - BN_clear_free
        - BN_div
        - BN_mod_inverse
        - BN_new
        - BN_num_bits
        - BN_sub
        - BN_value_one
        - sc_do_log
        - sc_do_log_openssl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2649,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2670,11'
          Dst:             BN_bin2bn
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2671,11'
          Dst:             BN_bin2bn
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2672,11'
          Dst:             BN_bin2bn
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2673,11'
          Dst:             BN_bin2bn
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2674,11'
          Dst:             BN_bin2bn
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2675,14'
          Dst:             BN_new
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2676,14'
          Dst:             BN_new
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2677,14'
          Dst:             BN_new
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2681,4'
          Dst:             sc_do_log_openssl
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2686,9'
          Dst:             BN_new
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2687,12'
          Dst:             BN_CTX_new
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2690,4'
          Dst:             sc_do_log_openssl
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2695,26'
          Dst:             BN_value_one
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2695,7'
          Dst:             BN_sub
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2696,5'
          Dst:             BN_div
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2697,24'
          Dst:             BN_value_one
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2697,5'
          Dst:             BN_sub
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2698,5'
          Dst:             BN_div
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2699,6'
          Dst:             BN_mod_inverse
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2700,4'
          Dst:             sc_do_log_openssl
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2707,20'
          Dst:             BN_num_bits
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2710,5'
          Dst:             BN_bn2bin
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2717,20'
          Dst:             BN_num_bits
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2720,5'
          Dst:             BN_bn2bin
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2726,20'
          Dst:             BN_num_bits
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2729,5'
          Dst:             BN_bn2bin
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2735,3'
          Dst:             BN_clear_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2736,3'
          Dst:             BN_clear_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2737,3'
          Dst:             BN_clear_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2738,3'
          Dst:             BN_clear_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2739,3'
          Dst:             BN_clear_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2740,3'
          Dst:             BN_clear_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2741,3'
          Dst:             BN_clear_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2742,3'
          Dst:             BN_clear_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2743,3'
          Dst:             BN_clear_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2744,3'
          Dst:             BN_CTX_free
    - functionName:    BN_bin2bn
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    32
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_CTX_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_value_one
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_sub
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_div
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_mod_inverse
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_num_bits
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    14
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_bn2bin
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_clear_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    24
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_CTX_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_free_ec_params
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 182
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          31
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_clear_ec_params
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:179,3'
          Dst:             sc_clear_ec_params
    - functionName:    key_pkcs15_algo
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2796
      functionLinenumberEnd: 2820
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          79
      EdgeCount:       29
      CyclomaticComplexity: 16
      functionsReached:
        - sc_do_log
      functionUses:    2
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:2799,2'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2818,2'
          Dst:             sc_do_log
    - functionName:    find_library
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 231
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          118
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - scconf_find_blocks
        - scconf_get_str
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:237,12'
          Dst:             scconf_find_blocks
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:244,12'
          Dst:             scconf_find_blocks
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:251,13'
          Dst:             scconf_get_str
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:255,3'
          Dst:             sc_do_log
    - functionName:    LLVMFuzzerTestOneInput
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     externalLinkage
      functionLinenumber: 273
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         47
      ICount:          313
      EdgeCount:       64
      CyclomaticComplexity: 19
      functionsReached:
        - do_erase
        - do_generate_key
        - do_generate_skey
        - do_init_app
        - do_store_data_object
        - do_store_pin
        - do_store_secret_key
        - fclose
        - fuzz_connect_card
        - fuzz_get_reader_data
        - fuzz_pkcs15init_bind
        - sc_disconnect_card
        - sc_establish_context
        - sc_pkcs15_bind
        - sc_pkcs15_unbind
        - sc_pkcs15init_finalize_card
        - sc_pkcs15init_sanity_check
        - sc_pkcs15init_unbind
        - sc_release_context
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:290,5'
          Dst:             fclose
        - Src:             'fuzz_pkcs15init.c:296,10'
          Dst:             fuzz_get_reader_data
        - Src:             'fuzz_pkcs15init.c:301,5'
          Dst:             sc_establish_context
        - Src:             'fuzz_pkcs15init.c:305,9'
          Dst:             fuzz_connect_card
        - Src:             'fuzz_pkcs15init.c:309,5'
          Dst:             fuzz_pkcs15init_bind
        - Src:             'fuzz_pkcs15init.c:329,5'
          Dst:             do_init_app
        - Src:             'fuzz_pkcs15init.c:331,10'
          Dst:             sc_pkcs15_bind
        - Src:             'fuzz_pkcs15init.c:332,9'
          Dst:             do_store_pin
        - Src:             'fuzz_pkcs15init.c:339,5'
          Dst:             do_store_data_object
        - Src:             'fuzz_pkcs15init.c:340,5'
          Dst:             do_generate_key
        - Src:             'fuzz_pkcs15init.c:341,5'
          Dst:             do_generate_skey
        - Src:             'fuzz_pkcs15init.c:342,5'
          Dst:             do_store_secret_key
        - Src:             'fuzz_pkcs15init.c:344,5'
          Dst:             sc_pkcs15init_finalize_card
        - Src:             'fuzz_pkcs15init.c:345,5'
          Dst:             sc_pkcs15init_sanity_check
        - Src:             'fuzz_pkcs15init.c:347,5'
          Dst:             do_erase
        - Src:             'fuzz_pkcs15init.c:359,3'
          Dst:             sc_pkcs15init_unbind
        - Src:             'fuzz_pkcs15init.c:361,4'
          Dst:             sc_pkcs15_unbind
        - Src:             'fuzz_pkcs15init.c:364,3'
          Dst:             sc_pkcs15_unbind
        - Src:             'fuzz_pkcs15init.c:367,6'
          Dst:             sc_disconnect_card
        - Src:             'fuzz_pkcs15init.c:368,5'
          Dst:             sc_release_context
    - functionName:    fclose
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fuzz_get_reader_data
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          77
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fuzz_pkcs15init_bind
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 53
      functionLinenumberEnd: 105
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          202
      EdgeCount:       46
      CyclomaticComplexity: 14
      functionsReached:
        - fuzz_profile_load
        - sc_pkcs15init_read_info
        - sc_pkcs15init_set_lifecycle
        - sc_profile_finish
        - sc_profile_free
        - sc_profile_new
        - strcasecmp
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:64,9'
          Dst:             sc_pkcs15init_set_lifecycle
        - Src:             'fuzz_pkcs15init.c:69,12'
          Dst:             sc_profile_new
        - Src:             'fuzz_pkcs15init.c:76,8'
          Dst:             strcasecmp
        - Src:             'fuzz_pkcs15init.c:84,9'
          Dst:             sc_profile_free
        - Src:             'fuzz_pkcs15init.c:87,21'
          Dst:             strdup
        - Src:             'fuzz_pkcs15init.c:89,9'
          Dst:             sc_pkcs15init_read_info
        - Src:             'fuzz_pkcs15init.c:91,3'
          Dst:             sc_profile_free
        - Src:             'fuzz_pkcs15init.c:95,9'
          Dst:             fuzz_profile_load
        - Src:             'fuzz_pkcs15init.c:96,9'
          Dst:             sc_profile_free
        - Src:             'fuzz_pkcs15init.c:100,9'
          Dst:             sc_profile_finish
        - Src:             'fuzz_pkcs15init.c:101,9'
          Dst:             sc_profile_free
    - functionName:    do_init_app
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 123
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          83
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_pkcs15init_add_app
        - sc_pkcs15init_get_pin_info
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:130,5'
          Dst:             sc_pkcs15init_get_pin_info
        - Src:             'fuzz_pkcs15init.c:135,5'
          Dst:             sc_pkcs15init_get_pin_info
        - Src:             'fuzz_pkcs15init.c:145,5'
          Dst:             sc_pkcs15init_add_app
    - functionName:    do_store_pin
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 150
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          50
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_format_id
        - sc_pkcs15init_set_p15card
        - sc_pkcs15init_store_pin
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:153,5'
          Dst:             sc_pkcs15init_set_p15card
        - Src:             'fuzz_pkcs15init.c:158,5'
          Dst:             sc_pkcs15_format_id
        - Src:             'fuzz_pkcs15init.c:166,5'
          Dst:             sc_pkcs15init_store_pin
    - functionName:    do_store_data_object
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 189
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          67
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_format_oid
        - sc_init_oid
        - sc_pkcs15init_store_data_object
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:180,5'
          Dst:             sc_init_oid
        - Src:             'fuzz_pkcs15init.c:184,5'
          Dst:             sc_format_oid
        - Src:             'fuzz_pkcs15init.c:188,5'
          Dst:             sc_pkcs15init_store_data_object
    - functionName:    do_generate_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 192
      functionLinenumberEnd: 213
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          90
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - sc_pkcs15_erase_prkey
        - sc_pkcs15_format_id
        - sc_pkcs15init_generate_key
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:198,5'
          Dst:             sc_pkcs15_format_id
        - Src:             'fuzz_pkcs15init.c:208,66'
          Dst:             strdup
        - Src:             'fuzz_pkcs15init.c:209,9'
          Dst:             sc_pkcs15init_generate_key
        - Src:             'fuzz_pkcs15init.c:211,2'
          Dst:             sc_pkcs15_erase_prkey
    - functionName:    do_generate_skey
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 232
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          66
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15init_generate_secret_key
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:230,9'
          Dst:             sc_pkcs15init_generate_secret_key
    - functionName:    do_store_secret_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 236
      functionLinenumberEnd: 259
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          145
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
        - sc_pkcs15_format_id
        - sc_pkcs15init_store_secret_key
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:244,5'
          Dst:             sc_pkcs15_format_id
        - Src:             'fuzz_pkcs15init.c:248,18'
          Dst:             calloc
        - Src:             'fuzz_pkcs15init.c:255,2'
          Dst:             sc_pkcs15init_store_secret_key
    - functionName:    sc_pkcs15init_finalize_card
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 738
      functionLinenumberEnd: 742
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_sanity_check
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4473
      functionLinenumberEnd: 4481
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          88
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4477,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4481,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4481,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4481,2'
          Dst:             sc_do_log
    - functionName:    do_erase
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 262
      functionLinenumberEnd: 270
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_card_free
        - sc_pkcs15_card_new
        - sc_pkcs15init_erase_card
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:265,15'
          Dst:             sc_pkcs15_card_new
        - Src:             'fuzz_pkcs15init.c:268,5'
          Dst:             sc_pkcs15init_erase_card
        - Src:             'fuzz_pkcs15init.c:269,5'
          Dst:             sc_pkcs15_card_free
    - functionName:    sc_pkcs15init_unbind
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 428
      functionLinenumberEnd: 440
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          92
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_pkcs15init_update_lastupdate
        - sc_profile_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:432,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:433,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:435,7'
          Dst:             sc_pkcs15init_update_lastupdate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:437,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:437,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:439,2'
          Dst:             sc_profile_free
    - functionName:    sc_pkcs15init_update_lastupdate
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3249
      functionLinenumberEnd: 3294
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         43
      ICount:          287
      EdgeCount:       53
      CyclomaticComplexity: 12
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_asn1_entry
        - sc_pkcs15_get_generalized_time
        - sc_pkcs15init_update_file
        - sc_pkcs15init_update_tokeninfo
        - sc_select_file
        - sc_strerror
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3253,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3269,7'
          Dst:             sc_pkcs15_get_generalized_time
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3270,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3270,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3272,3'
          Dst:             sc_copy_asn1_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3273,17'
          Dst:             strlen
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3274,3'
          Dst:             sc_format_asn1_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3276,7'
          Dst:             sc_asn1_encode
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3277,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3277,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3279,7'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3282,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3282,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3284,7'
          Dst:             sc_pkcs15init_update_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3285,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3288,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3288,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3289,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3289,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3289,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3292,6'
          Dst:             sc_pkcs15init_update_tokeninfo
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3293,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3293,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3293,2'
          Dst:             sc_do_log
    - functionName:    sc_profile_free
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 449
      functionLinenumberEnd: 501
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         43
      ICount:          251
      EdgeCount:       56
      CyclomaticComplexity: 15
      functionsReached:
        - free_file_list
        - sc_dlclose
        - sc_pkcs15_card_free
        - sc_profile_free
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:460,2'
          Dst:             free_file_list
        - Src:             '../../../src/pkcs15init/profile.c:470,4'
          Dst:             sc_profile_free
        - Src:             '../../../src/pkcs15init/profile.c:495,3'
          Dst:             sc_pkcs15_card_free
        - Src:             '../../../src/pkcs15init/profile.c:498,3'
          Dst:             sc_dlclose
    - functionName:    free_file_list
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1213
      functionLinenumberEnd: 1225
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          57
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_file_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:1220,4'
          Dst:             sc_file_free
    - functionName:    sc_pkcs15init_update_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4233
      functionLinenumberEnd: 4297
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          419
      EdgeCount:       88
      CyclomaticComplexity: 21
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_create_file
        - sc_print_path
        - sc_select_file
        - sc_strerror
        - sc_update_binary
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4239,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4241,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4241,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4241,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4243,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4243,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4245,6'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4254,7'
          Dst:             sc_pkcs15init_create_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4255,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4255,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4257,7'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4258,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4258,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4261,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4261,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4265,3'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4265,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4267,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4268,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4268,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4274,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4275,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4275,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4275,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4278,10'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4280,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4289,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4291,7'
          Dst:             sc_update_binary
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4295,2'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4296,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4296,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4296,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_update_tokeninfo
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3213
      functionLinenumberEnd: 3244
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         33
      ICount:          229
      EdgeCount:       41
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_encode_tokeninfo
        - sc_pkcs15_get_generalized_time
        - sc_pkcs15init_update_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3219,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3226,7'
          Dst:             sc_pkcs15_get_generalized_time
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3227,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3227,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3233,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3234,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3234,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3234,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3237,7'
          Dst:             sc_pkcs15_encode_tokeninfo
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3239,8'
          Dst:             sc_pkcs15init_update_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3243,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3243,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3243,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_create_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4193
      functionLinenumberEnd: 4226
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          214
      EdgeCount:       44
      CyclomaticComplexity: 10
      functionsReached:
        - do_select_parent
        - sc_create_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_fixup_file
        - sc_pkcs15init_set_lifecycle
        - sc_print_path
        - sc_strerror
      functionUses:    27
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4198,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4203,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4203,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4205,6'
          Dst:             do_select_parent
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4206,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4206,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4208,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4209,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4209,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4212,6'
          Dst:             sc_pkcs15init_fixup_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4213,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4213,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4216,6'
          Dst:             sc_pkcs15init_set_lifecycle
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4218,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4218,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4220,6'
          Dst:             sc_create_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4221,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4221,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4224,2'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4225,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4225,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4225,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_authenticate
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4082
      functionLinenumberEnd: 4129
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          308
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_verify_secret
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    77
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4088,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4091,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4091,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4094,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4095,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4095,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4095,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4099,7'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4100,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4100,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4102,9'
          Dst:             sc_file_get_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4105,9'
          Dst:             sc_file_get_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4107,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4111,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4112,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4112,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4115,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4119,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4122,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4123,7'
          Dst:             sc_pkcs15init_verify_secret
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4126,2'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4128,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4128,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4128,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_verify_secret
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3909
      functionLinenumberEnd: 4063
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         160
      ICount:          910
      EdgeCount:       205
      CyclomaticComplexity: 47
      functionsReached:
        - get_pin_ident_name
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_pin_cmd
        - sc_pkcs15_find_pin_by_type_and_reference
        - sc_pkcs15_get_pin_info
        - sc_pkcs15_verify_pin
        - sc_pkcs15init_get_pin_reference
        - sc_pkcs15init_get_transport_key
        - sc_select_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:3989,2'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3920,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3923,10'
          Dst:             get_pin_ident_name
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3924,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3927,7'
          Dst:             sc_card_ctl
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3928,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3930,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3935,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3935,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3943,11'
          Dst:             sc_pkcs15init_get_pin_reference
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3944,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3947,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3947,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3947,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3950,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3958,8'
          Dst:             sc_pkcs15_find_pin_by_type_and_reference
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3965,7'
          Dst:             sc_pkcs15_find_pin_by_type_and_reference
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3970,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3974,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3978,5'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3978,5'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3981,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3994,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4004,7'
          Dst:             sc_pkcs15init_get_transport_key
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4015,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4015,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4017,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4018,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4018,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4018,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4031,8'
          Dst:             sc_pkcs15_get_pin_info
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4036,5'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4036,5'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4036,5'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4039,7'
          Dst:             sc_pkcs15_verify_pin
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4040,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4040,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4044,7'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4045,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4045,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4058,7'
          Dst:             sc_pin_cmd
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4059,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4059,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4062,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4062,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4062,2'
          Dst:             sc_do_log
    - functionName:    get_pin_ident_name
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3816
      functionLinenumberEnd: 3843
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          78
      EdgeCount:       29
      CyclomaticComplexity: 15
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:3817,2'
          Branch Sides:    []
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:3831,3'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_pkcs15init_get_pin_reference
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2344
      functionLinenumberEnd: 2417
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         68
      ICount:          418
      EdgeCount:       86
      CyclomaticComplexity: 20
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_profile_get_pin_id_by_reference
        - sc_strerror
      functionUses:    6
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:2377,3'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2350,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2355,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2356,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2356,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2359,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2365,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2370,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2370,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2370,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2403,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2403,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2406,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2406,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2406,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2412,6'
          Dst:             sc_profile_get_pin_id_by_reference
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2414,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2414,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2416,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2416,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2416,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_get_transport_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3849
      functionLinenumberEnd: 3900
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          305
      EdgeCount:       56
      CyclomaticComplexity: 13
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_add_object
        - sc_pkcs15_pincache_add
        - sc_pkcs15init_new_object
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3858,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3864,7'
          Dst:             sc_card_ctl
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3870,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3870,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3873,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3873,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3879,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3879,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3890,12'
          Dst:             sc_pkcs15init_new_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3892,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3892,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3894,7'
          Dst:             sc_pkcs15_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3895,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3895,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3897,2'
          Dst:             sc_pkcs15_pincache_add
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3899,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3899,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3899,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_new_object
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3436
      functionLinenumberEnd: 3491
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          190
      EdgeCount:       37
      CyclomaticComplexity: 8
      functionsReached:
        - _strlcpy
        - calloc
      functionUses:    9
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:3445,2'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3440,11'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3475,18'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3486,3'
          Dst:             _strlcpy
    - functionName:    sc_profile_get_pin_id_by_reference
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 806
      functionLinenumberEnd: 829
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          112
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    do_select_parent
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4135
      functionLinenumberEnd: 4187
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          346
      EdgeCount:       75
      CyclomaticComplexity: 18
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_pkcs15init_create_file
        - sc_print_path
        - sc_profile_get_file_by_path
        - sc_select_file
        - sc_strerror
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4140,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4146,3'
          Dst:             sc_format_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4150,6'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4154,7'
          Dst:             sc_profile_get_file_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4156,4'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4156,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4157,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4157,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4157,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4160,7'
          Dst:             sc_pkcs15init_create_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4162,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4165,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4165,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4167,7'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4169,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4172,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4172,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4174,31'
          Dst:             strcmp
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4177,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4179,7'
          Dst:             sc_profile_get_file_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4181,4'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4181,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4182,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4182,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4182,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4186,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4186,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4186,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_fixup_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4369
      functionLinenumberEnd: 4416
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          222
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_pkcs15init_fixup_acls
        - sc_pkcs15init_get_pin_reference
        - sc_strerror
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4375,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4382,9'
          Dst:             sc_file_get_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4389,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4389,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4389,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4391,12'
          Dst:             sc_pkcs15init_get_pin_reference
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4401,12'
          Dst:             sc_pkcs15init_get_pin_reference
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4410,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4413,7'
          Dst:             sc_pkcs15init_fixup_acls
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4415,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4415,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4415,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_set_lifecycle
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 493
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_card_ctl
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:493,9'
          Dst:             sc_card_ctl
    - functionName:    sc_pkcs15init_fixup_acls
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4306
      functionLinenumberEnd: 4360
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          263
      EdgeCount:       56
      CyclomaticComplexity: 14
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_add_acl_entry
        - sc_file_clear_acl_entries
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4311,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4319,9'
          Dst:             sc_file_get_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4323,3'
          Dst:             sc_file_clear_acl_entries
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4338,5'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4345,5'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4352,4'
          Dst:             sc_file_add_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4356,4'
          Dst:             sc_file_add_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4359,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4359,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4359,2'
          Dst:             sc_do_log
    - functionName:    sc_profile_get_file_by_path
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 634
      functionLinenumberEnd: 643
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          114
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_profile_find_file_by_path
        - sc_strerror
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:638,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:639,12'
          Dst:             sc_profile_find_file_by_path
        - Src:             '../../../src/pkcs15init/profile.c:640,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:640,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:640,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:641,2'
          Dst:             sc_file_dup
        - Src:             '../../../src/pkcs15init/profile.c:642,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:642,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:642,2'
          Dst:             sc_do_log
    - functionName:    sc_profile_find_file_by_path
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2280
      functionLinenumberEnd: 2335
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         58
      ICount:          333
      EdgeCount:       79
      CyclomaticComplexity: 23
      functionsReached:
        - memcmp
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2306,23'
          Dst:             memcmp
        - Src:             '../../../src/pkcs15init/profile.c:2310,8'
          Dst:             memcmp
        - Src:             '../../../src/pkcs15init/profile.c:2317,9'
          Dst:             memcmp
        - Src:             '../../../src/pkcs15init/profile.c:2323,9'
          Dst:             memcmp
    - functionName:    sc_pkcs15init_erase_card
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 503
      functionLinenumberEnd: 523
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          146
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_bind
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:511,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:514,6'
          Dst:             sc_pkcs15_bind
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:518,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:518,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:518,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:522,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:522,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:522,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_store_secret_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2068
      functionLinenumberEnd: 2148
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         88
      ICount:          497
      EdgeCount:       113
      CyclomaticComplexity: 27
      functionsReached:
        - RAND_bytes
        - check_key_compatibility
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_skey_by_id
        - sc_pkcs15_free_object
        - sc_pkcs15_free_object_content
        - sc_pkcs15init_add_object
        - sc_pkcs15init_init_skdf
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2073,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2076,6'
          Dst:             check_key_compatibility
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2080,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2080,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2087,7'
          Dst:             RAND_bytes
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2093,6'
          Dst:             sc_pkcs15_find_skey_by_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2095,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2095,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2097,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2097,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2100,6'
          Dst:             sc_pkcs15init_init_skdf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2101,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2101,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2105,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2105,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2118,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2118,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2120,2'
          Dst:             sc_pkcs15_free_object_content
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2128,7'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2129,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2129,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2136,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2136,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2146,2'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2147,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2147,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2147,2'
          Dst:             sc_do_log
    - functionName:    check_key_compatibility
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2585
      functionLinenumberEnd: 2635
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         78
      ICount:          425
      EdgeCount:       102
      CyclomaticComplexity: 26
      functionsReached:
        - sc_compare_oid
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_fix_ec_parameters
        - sc_strerror
        - sc_valid_oid
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2591,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2623,9'
          Dst:             sc_valid_oid
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2624,9'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2625,6'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2625,6'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2625,6'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2626,8'
          Dst:             sc_valid_oid
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2627,10'
          Dst:             sc_compare_oid
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2631,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2631,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2631,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2634,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2634,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2634,2'
          Dst:             sc_do_log
    - functionName:    RAND_bytes
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_init_skdf
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1373
      functionLinenumberEnd: 1463
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          409
      EdgeCount:       78
      CyclomaticComplexity: 16
      functionsReached:
        - key_pkcs15_algo
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_free_object
        - sc_pkcs15init_new_object
        - sc_strerror
        - select_id
        - select_object_path
      functionUses:    2
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:1414,2'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1382,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1385,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1385,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1400,13'
          Dst:             key_pkcs15_algo
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1402,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1402,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1404,11'
          Dst:             sc_pkcs15init_new_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1407,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1407,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1443,6'
          Dst:             select_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1444,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1444,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1448,6'
          Dst:             select_object_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1449,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1449,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1454,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1454,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1462,2'
          Dst:             sc_pkcs15init_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1463,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1463,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1463,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_add_object
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3379
      functionLinenumberEnd: 3431
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          288
      EdgeCount:       58
      CyclomaticComplexity: 15
      functionsReached:
        - find_df_by_type
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_add_df
        - sc_pkcs15_add_object
        - sc_pkcs15_remove_object
        - sc_pkcs15init_update_any_df
        - sc_strerror
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3384,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3385,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3387,7'
          Dst:             find_df_by_type
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3392,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3393,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3393,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3395,3'
          Dst:             sc_pkcs15_add_df
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3396,8'
          Dst:             find_df_by_type
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3407,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3410,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3412,7'
          Dst:             sc_pkcs15_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3413,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3413,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3417,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3425,7'
          Dst:             sc_pkcs15init_update_any_df
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3428,3'
          Dst:             sc_pkcs15_remove_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3430,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3430,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3430,2'
          Dst:             sc_do_log
    - functionName:    find_df_by_type
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2825
      functionLinenumberEnd: 2830
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_update_any_df
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3322
      functionLinenumberEnd: 3371
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          278
      EdgeCount:       58
      CyclomaticComplexity: 14
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_encode_df
        - sc_pkcs15init_update_file
        - sc_pkcs15init_update_odf
        - sc_profile_get_file_by_path
        - sc_select_file
        - sc_strerror
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3330,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3332,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3332,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3334,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3336,7'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3338,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3338,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3341,6'
          Dst:             sc_pkcs15_encode_df
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3343,7'
          Dst:             sc_pkcs15init_update_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3361,2'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3363,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3363,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3367,7'
          Dst:             sc_pkcs15init_update_odf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3368,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3368,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3370,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3370,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3370,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_update_odf
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3299
      functionLinenumberEnd: 3311
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          102
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_encode_odf
        - sc_pkcs15init_update_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3305,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3306,6'
          Dst:             sc_pkcs15_encode_odf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3308,7'
          Dst:             sc_pkcs15init_update_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3311,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3311,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3311,2'
          Dst:             sc_do_log
    - functionName:    select_id
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2949
      functionLinenumberEnd: 3005
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          254
      EdgeCount:       57
      CyclomaticComplexity: 14
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_object_by_id
        - sc_pkcs15_search_objects
        - sc_strerror
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2956,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2959,7'
          Dst:             sc_pkcs15_find_object_by_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2966,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2966,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2966,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2974,7'
          Dst:             sc_pkcs15_find_object_by_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2987,9'
          Dst:             sc_pkcs15_search_objects
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3001,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3001,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3001,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3004,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3004,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3004,2'
          Dst:             sc_do_log
    - functionName:    select_object_path
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3079
      functionLinenumberEnd: 3165
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         78
      ICount:          488
      EdgeCount:       99
      CyclomaticComplexity: 23
      functionsReached:
        - get_object_path_from_object
        - get_template_name_from_object
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_get_objects
        - sc_pkcs15init_get_pin_path
        - sc_print_path
        - sc_profile_get_file_instance
        - sc_profile_instantiate_template
        - sc_strerror
        - snprintf
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3088,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3089,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3090,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3090,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3098,7'
          Dst:             sc_pkcs15init_get_pin_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3099,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3099,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3108,9'
          Dst:             get_template_name_from_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3110,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3110,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3110,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3112,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3112,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3117,7'
          Dst:             sc_profile_instantiate_template
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3123,4'
          Dst:             snprintf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3124,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3125,8'
          Dst:             sc_profile_get_file_instance
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3127,5'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3127,5'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3127,5'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3129,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3129,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3134,3'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3134,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3136,8'
          Dst:             get_object_path_from_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3137,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3137,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3142,9'
          Dst:             memcmp
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3152,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3158,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3158,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3161,2'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3163,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3163,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3164,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3164,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3164,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_free_object
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3496
      functionLinenumberEnd: 3501
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_profile_instantiate_template
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 679
      functionLinenumberEnd: 759
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          329
      EdgeCount:       65
      CyclomaticComplexity: 19
      functionsReached:
        - sc_compare_path
        - sc_do_log
        - sc_file_dup
        - sc_print_path
        - sc_profile_find_file_by_path
        - sc_profile_instantiate_file
        - strcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:691,8'
          Dst:             strcmp
        - Src:             '../../../src/pkcs15init/profile.c:694,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:703,7'
          Dst:             sc_compare_path
        - Src:             '../../../src/pkcs15init/profile.c:704,8'
          Dst:             strcmp
        - Src:             '../../../src/pkcs15init/profile.c:705,4'
          Dst:             sc_file_dup
        - Src:             '../../../src/pkcs15init/profile.c:712,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/profile.c:712,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:714,14'
          Dst:             sc_profile_find_file_by_path
        - Src:             '../../../src/pkcs15init/profile.c:716,3'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/profile.c:716,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:736,14'
          Dst:             sc_profile_instantiate_file
        - Src:             '../../../src/pkcs15init/profile.c:743,8'
          Dst:             strcmp
        - Src:             '../../../src/pkcs15init/profile.c:748,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:752,2'
          Dst:             sc_file_dup
    - functionName:    snprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    88
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_profile_get_file_instance
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 577
      functionLinenumberEnd: 617
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          343
      EdgeCount:       65
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_free
        - sc_print_path
        - sc_profile_add_file
        - sc_profile_find_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:583,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:584,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:586,12'
          Dst:             sc_profile_find_file
        - Src:             '../../../src/pkcs15init/profile.c:587,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:587,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:587,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:588,2'
          Dst:             sc_file_dup
        - Src:             '../../../src/pkcs15init/profile.c:589,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:591,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:591,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:591,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:592,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/profile.c:592,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:596,7'
          Dst:             sc_profile_add_file
        - Src:             '../../../src/pkcs15init/profile.c:598,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/profile.c:599,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:599,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:605,7'
          Dst:             sc_profile_add_file
        - Src:             '../../../src/pkcs15init/profile.c:607,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/profile.c:608,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:608,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:614,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/profile.c:616,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:616,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:616,2'
          Dst:             sc_do_log
    - functionName:    get_object_path_from_object
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3046
      functionLinenumberEnd: 3073
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          98
      EdgeCount:       21
      CyclomaticComplexity: 12
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:3052,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_profile_add_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 647
      functionLinenumberEnd: 669
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          182
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - add_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_print_path
        - sc_profile_find_file_by_path
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:652,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:657,12'
          Dst:             sc_profile_find_file_by_path
        - Src:             '../../../src/pkcs15init/profile.c:660,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:660,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:660,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:661,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/profile.c:661,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:663,2'
          Dst:             sc_file_dup
        - Src:             '../../../src/pkcs15init/profile.c:665,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:665,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:665,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:667,2'
          Dst:             add_file
        - Src:             '../../../src/pkcs15init/profile.c:668,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:668,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:668,2'
          Dst:             sc_do_log
    - functionName:    sc_profile_instantiate_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 764
      functionLinenumberEnd: 800
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          198
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - append_file
        - calloc
        - sc_append_file_id
        - sc_do_log
        - sc_file_dup
        - sc_print_path
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:768,7'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/profile.c:773,14'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/profile.c:778,2'
          Dst:             sc_file_dup
        - Src:             '../../../src/pkcs15init/profile.c:790,3'
          Dst:             sc_append_file_id
        - Src:             '../../../src/pkcs15init/profile.c:792,2'
          Dst:             append_file
        - Src:             '../../../src/pkcs15init/profile.c:796,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/profile.c:796,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:797,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/profile.c:797,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_generate_secret_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1676
      functionLinenumberEnd: 1733
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         77
      ICount:          442
      EdgeCount:       97
      CyclomaticComplexity: 22
      functionsReached:
        - check_key_compatibility
        - check_keygen_params_consistency
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_skey_by_id
        - sc_pkcs15_free_object
        - sc_pkcs15init_add_object
        - sc_pkcs15init_init_skdf
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1682,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1684,6'
          Dst:             check_keygen_params_consistency
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1685,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1685,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1687,6'
          Dst:             check_key_compatibility
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1689,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1689,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1692,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1692,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1696,7'
          Dst:             sc_pkcs15_find_skey_by_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1698,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1698,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1700,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1700,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1704,6'
          Dst:             sc_pkcs15init_init_skdf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1705,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1705,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1709,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1709,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1712,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1712,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1714,6'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1715,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1715,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1721,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1721,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1731,2'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1732,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1732,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1732,2'
          Dst:             sc_do_log
    - functionName:    check_keygen_params_consistency
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2538
      functionLinenumberEnd: 2576
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          287
      EdgeCount:       63
      CyclomaticComplexity: 17
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_pkcs15_fix_ec_parameters
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2547,8'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2548,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2548,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2550,3'
          Dst:             sc_dump_hex
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2550,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2564,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2564,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2564,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2575,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2575,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2575,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_generate_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1529
      functionLinenumberEnd: 1667
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         137
      ICount:          839
      EdgeCount:       175
      CyclomaticComplexity: 40
      functionsReached:
        - _pkcd15init_set_aux_md_data
        - calloc
        - check_key_compatibility
        - check_keygen_params_consistency
        - sc_copy_ec_params
        - sc_copy_gost_params
        - sc_do_log
        - sc_do_log_color
        - sc_init_oid
        - sc_pkcs15_encode_pubkey
        - sc_pkcs15_erase_pubkey
        - sc_pkcs15_find_prkey_by_id
        - sc_pkcs15_free_object
        - sc_pkcs15_remove_object
        - sc_pkcs15init_add_object
        - sc_pkcs15init_init_prkdf
        - sc_pkcs15init_select_intrinsic_id
        - sc_pkcs15init_store_public_key
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1538,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1543,6'
          Dst:             check_keygen_params_consistency
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1546,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1546,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1548,6'
          Dst:             check_key_compatibility
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1552,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1552,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1557,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1557,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1564,7'
          Dst:             sc_pkcs15_find_prkey_by_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1567,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1567,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1570,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1570,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1575,6'
          Dst:             sc_pkcs15init_init_prkdf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1577,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1577,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1581,6'
          Dst:             _pkcd15init_set_aux_md_data
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1583,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1583,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1596,7'
          Dst:             sc_copy_gost_params
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1597,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1597,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1601,7'
          Dst:             sc_copy_ec_params
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1602,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1602,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1607,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1607,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1610,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1610,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1619,7'
          Dst:             sc_pkcs15init_select_intrinsic_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1620,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1620,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1627,20'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1630,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1630,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1633,3'
          Dst:             sc_init_oid
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1638,6'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1639,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1639,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1641,6'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1642,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1642,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1649,4'
          Dst:             sc_pkcs15_remove_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1650,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1650,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1653,6'
          Dst:             sc_pkcs15init_store_public_key
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1655,3'
          Dst:             sc_pkcs15_remove_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1656,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1656,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1665,2'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1666,2'
          Dst:             sc_pkcs15_erase_pubkey
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1667,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1667,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1667,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_init_prkdf
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1228
      functionLinenumberEnd: 1364
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         105
      ICount:          686
      EdgeCount:       134
      CyclomaticComplexity: 31
      functionsReached:
        - calloc
        - key_pkcs15_algo
        - sc_clear_ec_params
        - sc_copy_ec_params
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_prkey_by_reference
        - sc_pkcs15init_free_object
        - sc_pkcs15init_map_usage
        - sc_pkcs15init_new_object
        - sc_strerror
        - select_id
        - select_object_path
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1238,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1241,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1241,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1253,13'
          Dst:             sc_pkcs15init_map_usage
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1263,13'
          Dst:             key_pkcs15_algo
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1265,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1265,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1267,11'
          Dst:             sc_pkcs15init_new_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1270,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1270,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1288,6'
          Dst:             select_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1289,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1289,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1300,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1300,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1312,18'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1315,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1315,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1317,7'
          Dst:             sc_copy_ec_params
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1318,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1318,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1326,6'
          Dst:             select_object_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1327,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1327,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1332,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1334,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1334,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1336,8'
          Dst:             sc_pkcs15_find_prkey_by_reference
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1338,5'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1345,5'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1345,5'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1359,3'
          Dst:             sc_clear_ec_params
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1363,2'
          Dst:             sc_pkcs15init_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1364,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1364,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1364,2'
          Dst:             sc_do_log
    - functionName:    _pkcd15init_set_aux_md_data
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1469
      functionLinenumberEnd: 1504
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          309
      EdgeCount:       68
      CyclomaticComplexity: 15
      functionsReached:
        - sc_aux_data_allocate
        - sc_aux_data_set_md_flags
        - sc_aux_data_set_md_guid
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1475,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1478,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1478,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1478,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1481,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1481,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1481,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1484,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1484,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1484,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1490,8'
          Dst:             sc_aux_data_allocate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1491,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1491,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1494,7'
          Dst:             sc_aux_data_set_md_guid
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1495,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1495,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1497,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1500,7'
          Dst:             sc_aux_data_set_md_flags
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1501,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1501,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1503,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1503,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1503,2'
          Dst:             sc_do_log
    - functionName:    sc_copy_gost_params
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1511
      functionLinenumberEnd: 1520
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          58
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_select_intrinsic_id
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2837
      functionLinenumberEnd: 2944
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         113
      ICount:          617
      EdgeCount:       139
      CyclomaticComplexity: 28
      functionsReached:
        - SHA1
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_encode_pubkey
        - sc_pkcs15_free_pubkey
        - sc_pkcs15_pubkey_from_cert
        - sc_pkcs15_pubkey_from_prvkey
        - sc_strerror
      functionUses:    4
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:2866,2'
          Branch Sides:    []
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:2900,2'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2849,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2852,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2852,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2852,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2858,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2858,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2858,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2862,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2862,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2862,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2868,8'
          Dst:             sc_pkcs15_pubkey_from_cert
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2869,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2869,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2873,8'
          Dst:             sc_pkcs15_pubkey_from_prvkey
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2874,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2874,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2882,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2883,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2883,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2883,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2903,4'
          Dst:             SHA1
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2907,4'
          Dst:             SHA1
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2914,8'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2915,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2915,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2919,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2919,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2922,3'
          Dst:             SHA1
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2927,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2929,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2929,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2940,3'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2942,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2942,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2942,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_store_public_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1841
      functionLinenumberEnd: 2059
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         195
      ICount:          1255
      EdgeCount:       248
      CyclomaticComplexity: 55
      functionsReached:
        - calloc
        - sc_copy_ec_params
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_encode_pubkey
        - sc_pkcs15_encode_pubkey_as_spki
        - sc_pkcs15_erase_pubkey
        - sc_pkcs15_find_pubkey_by_id
        - sc_pkcs15_fix_ec_parameters
        - sc_pkcs15_free_object
        - sc_pkcs15init_add_object
        - sc_pkcs15init_keybits
        - sc_pkcs15init_map_usage
        - sc_pkcs15init_new_object
        - sc_pkcs15init_select_intrinsic_id
        - sc_pkcs15init_store_data
        - sc_strerror
        - select_id
      functionUses:    1
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:1872,2'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1854,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1856,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1856,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1863,16'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1865,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1865,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1879,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1879,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1884,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1884,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1887,13'
          Dst:             sc_pkcs15init_keybits
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1895,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1895,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1905,7'
          Dst:             sc_copy_ec_params
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1906,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1906,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1907,7'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1908,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1908,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1921,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1921,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1926,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1929,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1933,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1934,12'
          Dst:             sc_pkcs15init_map_usage
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1937,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1944,11'
          Dst:             sc_pkcs15init_new_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1947,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1947,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1963,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1963,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1983,5'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1983,5'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1992,5'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1992,5'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2000,6'
          Dst:             sc_pkcs15init_select_intrinsic_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2001,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2001,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2005,6'
          Dst:             select_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2006,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2006,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2009,6'
          Dst:             sc_pkcs15_find_pubkey_by_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2012,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2012,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2014,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2014,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2020,6'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2021,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2021,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2023,6'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2024,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2024,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2027,6'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2028,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2028,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2034,7'
          Dst:             sc_pkcs15init_store_data
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2036,7'
          Dst:             sc_pkcs15init_store_data
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2046,7'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2047,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2047,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2056,2'
          Dst:             sc_pkcs15_erase_pubkey
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2057,2'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2058,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2058,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2058,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_keybits
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2518
      functionLinenumberEnd: 2528
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          78
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_map_usage
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2499
      functionLinenumberEnd: 2509
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          64
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_store_data
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2424
      functionLinenumberEnd: 2460
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          286
      EdgeCount:       55
      CyclomaticComplexity: 13
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_delete_by_path
        - sc_pkcs15init_update_file
        - sc_profile_get_file_by_path
        - sc_strerror
        - select_object_path
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2429,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2434,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2434,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2434,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2437,6'
          Dst:             select_object_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2438,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2438,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2440,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2441,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2441,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2448,6'
          Dst:             sc_pkcs15init_delete_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2450,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2451,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2451,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2454,6'
          Dst:             sc_pkcs15init_update_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2458,2'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2459,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2459,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2459,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_delete_by_path
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 565
      functionLinenumberEnd: 648
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          353
      EdgeCount:       62
      CyclomaticComplexity: 14
      functionsReached:
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:572,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:573,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:573,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:584,7'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:585,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:585,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:587,6'
          Dst:             sc_file_get_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:588,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:589,8'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:590,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:592,11'
          Dst:             sc_file_get_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:593,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:594,15'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:595,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:598,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:603,9'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:605,5'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:606,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:606,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:608,9'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:609,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:610,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:611,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:611,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:616,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:619,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:619,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:623,7'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:624,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:624,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:629,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:630,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:630,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:630,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:644,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:645,7'
          Dst:             sc_delete_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:646,2'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:647,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:647,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:647,2'
          Dst:             sc_do_log
    - functionName:    SHA1
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_store_data_object
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2265
      functionLinenumberEnd: 2338
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          377
      EdgeCount:       76
      CyclomaticComplexity: 19
      functionsReached:
        - _strlcpy
        - sc_der_copy
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_free_object
        - sc_pkcs15_get_objects
        - sc_pkcs15init_add_object
        - sc_pkcs15init_new_object
        - sc_pkcs15init_store_data
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2274,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2276,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2276,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2284,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2285,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2285,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2309,11'
          Dst:             sc_pkcs15init_new_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2315,3'
          Dst:             _strlcpy
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2317,3'
          Dst:             _strlcpy
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2320,2'
          Dst:             sc_der_copy
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2322,6'
          Dst:             sc_pkcs15init_store_data
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2323,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2323,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2326,6'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2327,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2327,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2336,2'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2337,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2337,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2337,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_set_p15card
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 445
      functionLinenumberEnd: 484
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          167
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_file_free
        - sc_pkcs15_get_objects
        - sc_profile_add_file
        - sc_profile_get_file_by_path
        - sc_select_file
        - sprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:450,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:454,12'
          Dst:             sc_pkcs15_get_objects
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:467,7'
          Dst:             sc_profile_get_file_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:469,9'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:472,5'
          Dst:             sprintf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:474,5'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:475,5'
          Dst:             sc_profile_add_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:479,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:483,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_store_pin
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1042
      functionLinenumberEnd: 1106
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          378
      EdgeCount:       84
      CyclomaticComplexity: 19
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_pin_by_auth_id
        - sc_pkcs15_free_object
        - sc_pkcs15_print_id
        - sc_pkcs15init_add_object
        - sc_pkcs15init_create_pin
        - sc_pkcs15init_new_object
        - sc_pkcs15init_store_puk
        - sc_profile_get_pin_info
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1048,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1056,8'
          Dst:             sc_pkcs15_find_pin_by_auth_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1062,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1062,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1066,7'
          Dst:             sc_pkcs15_find_pin_by_auth_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1068,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1068,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1071,12'
          Dst:             sc_pkcs15init_new_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1073,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1073,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1077,2'
          Dst:             sc_profile_get_pin_info
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1079,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1079,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1084,2'
          Dst:             sc_pkcs15_print_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1084,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1086,7'
          Dst:             sc_pkcs15init_create_pin
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1087,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1087,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1090,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1090,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1093,6'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1094,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1094,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1097,7'
          Dst:             sc_pkcs15init_store_puk
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1104,2'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1105,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1105,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1105,2'
          Dst:             sc_do_log
    - functionName:    sc_profile_get_pin_info
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 506
      functionLinenumberEnd: 515
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - new_pin
      functionUses:    22
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:509,7'
          Dst:             new_pin
    - functionName:    sc_pkcs15init_create_pin
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1114
      functionLinenumberEnd: 1174
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          368
      EdgeCount:       68
      CyclomaticComplexity: 16
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_find_pin_by_reference
        - sc_print_path
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1121,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1128,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1128,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1131,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1131,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1144,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1144,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1149,7'
          Dst:             sc_pkcs15_find_pin_by_reference
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1155,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1155,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1163,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1163,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1171,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1173,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1173,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1173,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_store_puk
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 974
      functionLinenumberEnd: 1036
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         60
      ICount:          356
      EdgeCount:       75
      CyclomaticComplexity: 17
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_pin_by_auth_id
        - sc_pkcs15_free_object
        - sc_pkcs15init_add_object
        - sc_pkcs15init_create_pin
        - sc_pkcs15init_new_object
        - sc_profile_get_pin_info
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:981,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:983,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:983,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:986,6'
          Dst:             sc_pkcs15_find_pin_by_auth_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:988,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:988,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:992,4'
          Dst:             snprintf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:994,4'
          Dst:             snprintf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1004,12'
          Dst:             sc_pkcs15init_new_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1006,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1006,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1010,2'
          Dst:             sc_profile_get_pin_info
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1012,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1012,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1018,7'
          Dst:             sc_pkcs15init_create_pin
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1019,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1019,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1023,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1023,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1026,6'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1027,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1027,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1034,2'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1035,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1035,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1035,2'
          Dst:             sc_do_log
    - functionName:    sprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    13
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_get_pin_info
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4436
      functionLinenumberEnd: 4438
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_profile_get_pin_info
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4437,2'
          Dst:             sc_profile_get_pin_info
    - functionName:    sc_pkcs15init_add_app
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 781
      functionLinenumberEnd: 964
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         141
      ICount:          913
      EdgeCount:       183
      CyclomaticComplexity: 44
      functionsReached:
        - calloc
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_add_object
        - sc_pkcs15_free_object
        - sc_pkcs15_remove_object
        - sc_pkcs15init_add_object
        - sc_pkcs15init_new_object
        - sc_pkcs15init_qualify_pin
        - sc_pkcs15init_set_serial
        - sc_pkcs15init_update_dir
        - sc_pkcs15init_update_tokeninfo
        - sc_pkcs15init_write_info
        - sc_print_path
        - sc_profile_get_pin_info
        - sc_strerror
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:792,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:802,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:802,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:806,3'
          Dst:             sc_profile_get_pin_info
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:816,4'
          Dst:             sc_profile_get_pin_info
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:817,8'
          Dst:             sc_pkcs15init_qualify_pin
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:818,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:818,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:828,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:828,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:831,3'
          Dst:             sc_profile_get_pin_info
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:832,7'
          Dst:             sc_pkcs15init_qualify_pin
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:833,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:833,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:845,13'
          Dst:             sc_pkcs15init_new_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:852,4'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:852,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:855,8'
          Dst:             sc_pkcs15_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:856,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:856,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:864,4'
          Dst:             sc_pkcs15_remove_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:866,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:866,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:873,4'
          Dst:             sc_pkcs15_remove_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:875,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:875,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:886,3'
          Dst:             sc_pkcs15_remove_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:888,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:888,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:891,30'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:894,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:894,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:905,3'
          Dst:             sc_pkcs15init_set_serial
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:911,7'
          Dst:             sc_card_ctl
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:915,4'
          Dst:             sc_bin_to_hex
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:916,4'
          Dst:             sc_pkcs15init_set_serial
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:922,31'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:925,16'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:927,16'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:930,6'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:932,7'
          Dst:             sc_pkcs15init_update_dir
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:934,8'
          Dst:             sc_pkcs15init_update_tokeninfo
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:955,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:955,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:958,2'
          Dst:             sc_pkcs15init_write_info
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:962,2'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:963,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:963,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:963,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_qualify_pin
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4488
      functionLinenumberEnd: 4511
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          256
      EdgeCount:       55
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4492,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4494,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4494,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4494,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4497,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4497,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4497,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4502,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4503,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4503,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4503,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4506,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4507,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4507,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4507,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4510,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4510,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4510,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_set_serial
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4459
      functionLinenumberEnd: 4464
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - strdup
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4462,48'
          Dst:             strdup
    - functionName:    sc_pkcs15init_update_dir
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3174
      functionLinenumberEnd: 3208
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          211
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_enum_apps
        - sc_file_free
        - sc_format_path
        - sc_pkcs15init_update_file
        - sc_profile_get_file_by_path
        - sc_strerror
        - sc_update_dir
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3179,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3182,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3182,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3182,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3189,7'
          Dst:             sc_enum_apps
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3194,3'
          Dst:             sc_format_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3195,7'
          Dst:             sc_profile_get_file_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3196,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3196,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3199,7'
          Dst:             sc_pkcs15init_update_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3200,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3205,7'
          Dst:             sc_update_dir
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3207,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3207,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3207,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_write_info
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4669
      functionLinenumberEnd: 4718
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          237
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - do_encode_string
        - sc_append_file_id
        - sc_file_add_acl_entry
        - sc_file_free
        - sc_file_new
        - sc_pkcs15init_update_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4681,9'
          Dst:             sc_file_new
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4685,2'
          Dst:             sc_append_file_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4701,4'
          Dst:             sc_file_add_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4703,4'
          Dst:             sc_file_add_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4709,6'
          Dst:             do_encode_string
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4711,7'
          Dst:             do_encode_string
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4714,7'
          Dst:             sc_pkcs15init_update_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4716,2'
          Dst:             sc_file_free
    - functionName:    sc_profile_new
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 291
      functionLinenumberEnd: 323
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         9
      ICount:          103
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - calloc
        - init_file
        - sc_pkcs15_card_new
        - strdup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:295,8'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/profile.c:298,28'
          Dst:             sc_pkcs15_card_new
        - Src:             '../../../src/pkcs15init/profile.c:303,31'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/profile.c:304,41'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/profile.c:305,39'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/profile.c:310,29'
          Dst:             init_file
        - Src:             '../../../src/pkcs15init/profile.c:311,23'
          Dst:             init_file
        - Src:             '../../../src/pkcs15init/profile.c:312,31'
          Dst:             init_file
    - functionName:    sc_pkcs15init_read_info
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4519
      functionLinenumberEnd: 4550
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          111
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - sc_file_free
        - sc_format_path
        - sc_pkcs15init_parse_info
        - sc_read_binary
        - sc_select_file
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4526,2'
          Dst:             sc_format_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4527,6'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4530,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4535,8'
          Dst:             sc_read_binary
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4541,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:4545,7'
          Dst:             sc_pkcs15init_parse_info
    - functionName:    fuzz_profile_load
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzz_pkcs15init.c'
      linkageType:     InternalLinkage
      functionLinenumber: 34
      functionLinenumberEnd: 49
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          60
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - process_conf
        - scconf_free
        - scconf_new
        - scconf_parse_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzz_pkcs15init.c:37,12'
          Dst:             scconf_new
        - Src:             'fuzz_pkcs15init.c:41,15'
          Dst:             scconf_parse_string
        - Src:             'fuzz_pkcs15init.c:42,9'
          Dst:             scconf_free
        - Src:             'fuzz_pkcs15init.c:46,10'
          Dst:             process_conf
        - Src:             'fuzz_pkcs15init.c:47,5'
          Dst:             scconf_free
    - functionName:    sc_profile_finish
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 391
      functionLinenumberEnd: 445
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         55
      ICount:          344
      EdgeCount:       70
      CyclomaticComplexity: 17
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_print_path
        - sc_profile_find_file
        - sc_profile_find_file_by_path
        - sc_profile_load
        - sc_strerror
        - set_pin_defaults
        - snprintf
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:397,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:398,21'
          Dst:             sc_profile_find_file
        - Src:             '../../../src/pkcs15init/profile.c:400,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:400,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:405,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:410,3'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/profile.c:410,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:411,22'
          Dst:             sc_profile_find_file_by_path
        - Src:             '../../../src/pkcs15init/profile.c:412,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:414,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:415,8'
          Dst:             sc_profile_load
        - Src:             '../../../src/pkcs15init/profile.c:416,5'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:416,5'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:420,21'
          Dst:             sc_profile_find_file
        - Src:             '../../../src/pkcs15init/profile.c:422,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:422,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:430,3'
          Dst:             set_pin_defaults
        - Src:             '../../../src/pkcs15init/profile.c:433,14'
          Dst:             sc_profile_find_file
        - Src:             '../../../src/pkcs15init/profile.c:434,4'
          Dst:             snprintf
        - Src:             '../../../src/pkcs15init/profile.c:440,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:440,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:440,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:443,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:444,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:444,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:444,2'
          Dst:             sc_do_log
    - functionName:    sc_profile_load
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 327
      functionLinenumberEnd: 386
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          225
      EdgeCount:       44
      CyclomaticComplexity: 10
      functionsReached:
        - process_conf
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - scconf_free
        - scconf_get_str
        - scconf_new
        - scconf_parse
        - snprintf
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:338,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:340,17'
          Dst:             scconf_get_str
        - Src:             '../../../src/pkcs15init/profile.c:358,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:363,2'
          Dst:             snprintf
        - Src:             '../../../src/pkcs15init/profile.c:366,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:368,9'
          Dst:             scconf_new
        - Src:             '../../../src/pkcs15init/profile.c:369,8'
          Dst:             scconf_parse
        - Src:             '../../../src/pkcs15init/profile.c:371,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:374,3'
          Dst:             scconf_free
        - Src:             '../../../src/pkcs15init/profile.c:375,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:375,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:375,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:379,3'
          Dst:             scconf_free
        - Src:             '../../../src/pkcs15init/profile.c:380,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:380,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:380,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/profile.c:383,8'
          Dst:             process_conf
        - Src:             '../../../src/pkcs15init/profile.c:384,2'
          Dst:             scconf_free
        - Src:             '../../../src/pkcs15init/profile.c:385,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/profile.c:385,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/profile.c:385,2'
          Dst:             sc_do_log
    - functionName:    set_pin_defaults
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1688
      functionLinenumberEnd: 1708
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          143
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    process_conf
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2249
      functionLinenumberEnd: 2255
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - process_block
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2255,9'
          Dst:             process_block
    - functionName:    sc_profile_get_parent
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2340
      functionLinenumberEnd: 2353
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          63
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - sc_file_dup
        - sc_profile_find_file
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:2343,12'
          Dst:             sc_profile_find_file
        - Src:             '../../../src/pkcs15init/profile.c:2349,2'
          Dst:             sc_file_dup
    - functionName:    sc_profile_get_path
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 622
      functionLinenumberEnd: 629
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_profile_find_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:625,12'
          Dst:             sc_profile_find_file
    - functionName:    sc_profile_get_file_in
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 549
      functionLinenumberEnd: 558
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          53
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - sc_file_dup
        - sc_profile_find_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:552,12'
          Dst:             sc_profile_find_file
        - Src:             '../../../src/pkcs15init/profile.c:554,2'
          Dst:             sc_file_dup
    - functionName:    sc_profile_get_pin_id
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 531
      functionLinenumberEnd: 544
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          65
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_profile_get_pin_retries
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 519
      functionLinenumberEnd: 526
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - new_pin
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:522,7'
          Dst:             new_pin
    - functionName:    sc_pkcs15init_get_serial
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4451
      functionLinenumberEnd: 4453
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          17
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_get_manufacturer
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4444
      functionLinenumberEnd: 4446
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          17
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_update_certificate
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3688
      functionLinenumberEnd: 3811
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          455
      EdgeCount:       90
      CyclomaticComplexity: 25
      functionsReached:
        - calloc
        - do_select_parent
        - sc_create_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_delete_by_path
        - sc_pkcs15init_set_lifecycle
        - sc_pkcs15init_update_any_df
        - sc_profile_get_file_by_path
        - sc_select_file
        - sc_strerror
        - sc_update_binary
        - select_object_path
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3694,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3695,6'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3696,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3696,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3702,7'
          Dst:             sc_pkcs15init_delete_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3708,7'
          Dst:             do_select_parent
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3712,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3713,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3715,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3720,7'
          Dst:             sc_pkcs15init_set_lifecycle
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3724,7'
          Dst:             sc_create_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3726,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3731,7'
          Dst:             sc_file_get_acl_entry
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3737,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3739,7'
          Dst:             select_object_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3741,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3745,7'
          Dst:             sc_profile_get_file_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3747,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3753,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3755,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3759,6'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3763,6'
          Dst:             sc_update_binary
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3769,24'
          Dst:             calloc
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3774,7'
          Dst:             sc_update_binary
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3777,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3797,8'
          Dst:             sc_pkcs15init_update_any_df
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3801,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3808,2'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3810,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3810,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3810,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_delete_object
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3624
      functionLinenumberEnd: 3681
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          385
      EdgeCount:       83
      CyclomaticComplexity: 20
      functionsReached:
        - get_object_path_from_object
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_free_object
        - sc_pkcs15_remove_object
        - sc_pkcs15init_delete_by_path
        - sc_pkcs15init_update_any_df
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3631,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3632,6'
          Dst:             get_object_path_from_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3633,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3633,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3635,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3635,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3641,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3641,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3646,8'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3648,5'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3648,5'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3651,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3656,8'
          Dst:             sc_pkcs15init_delete_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3657,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3657,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3663,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3663,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3670,3'
          Dst:             sc_pkcs15_remove_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3671,3'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3675,7'
          Dst:             sc_pkcs15init_update_any_df
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3680,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3680,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3680,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_change_attrib
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3507
      functionLinenumberEnd: 3618
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         101
      ICount:          621
      EdgeCount:       119
      CyclomaticComplexity: 20
      functionsReached:
        - find_df_by_type
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_encode_df
        - sc_pkcs15init_delete_by_path
        - sc_pkcs15init_store_data
        - sc_pkcs15init_update_file
        - sc_profile_get_file_by_path
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:3526,2'
          Branch Sides:    []
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:3534,3'
          Branch Sides:    []
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:3555,3'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3516,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3518,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3518,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3521,7'
          Dst:             find_df_by_type
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3523,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3523,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3525,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3529,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3529,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3551,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3551,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3566,8'
          Dst:             sc_pkcs15init_store_data
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3568,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3568,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3572,5'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3572,5'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3572,5'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3583,8'
          Dst:             sc_pkcs15init_delete_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3584,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3584,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3588,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3588,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3592,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3592,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3597,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3597,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3600,7'
          Dst:             sc_pkcs15_encode_df
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3604,8'
          Dst:             sc_profile_get_file_by_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3607,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3607,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3609,8'
          Dst:             sc_pkcs15init_update_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3611,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3617,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3617,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:3617,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_store_certificate
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2158
      functionLinenumberEnd: 2254
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          458
      EdgeCount:       85
      CyclomaticComplexity: 21
      functionsReached:
        - sc_der_copy
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_object_by_id
        - sc_pkcs15_free_object
        - sc_pkcs15_print_id
        - sc_pkcs15_prkey_attrs_from_cert
        - sc_pkcs15_remove_object
        - sc_pkcs15init_add_object
        - sc_pkcs15init_new_object
        - sc_pkcs15init_select_intrinsic_id
        - sc_pkcs15init_store_data
        - sc_pkcs15init_update_any_df
        - sc_print_path
        - sc_strerror
        - select_id
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2167,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2175,6'
          Dst:             sc_pkcs15init_select_intrinsic_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2177,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2177,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2178,2'
          Dst:             sc_pkcs15_print_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2178,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2181,6'
          Dst:             select_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2185,7'
          Dst:             sc_pkcs15_find_object_by_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2187,4'
          Dst:             sc_pkcs15_print_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2187,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2190,4'
          Dst:             sc_pkcs15_remove_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2191,4'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2194,7'
          Dst:             select_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2196,2'
          Dst:             sc_pkcs15_print_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2196,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2197,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2197,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2199,11'
          Dst:             sc_pkcs15init_new_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2201,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2201,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2205,2'
          Dst:             sc_der_copy
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2206,2'
          Dst:             sc_der_copy
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2209,3'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2209,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2213,2'
          Dst:             sc_pkcs15_print_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2213,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2217,7'
          Dst:             sc_pkcs15init_store_data
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2221,7'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2226,7'
          Dst:             sc_pkcs15_prkey_attrs_from_cert
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2237,9'
          Dst:             sc_pkcs15init_update_any_df
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2238,5'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2244,3'
          Dst:             sc_pkcs15_remove_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2245,3'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2253,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2253,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2253,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_encode_prvkey_content
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1203
      functionLinenumberEnd: 1219
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          123
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_encode_pubkey
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1206,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1215,8'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1216,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1216,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1218,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1218,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1218,2'
          Dst:             sc_do_log
    - functionName:    prkey_bits
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2767
      functionLinenumberEnd: 2791
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          114
      EdgeCount:       16
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_pkcs15init_keybits
      functionUses:    1
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:2770,2'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2772,15'
          Dst:             sc_pkcs15init_keybits
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2774,7'
          Dst:             sc_pkcs15init_keybits
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2775,4'
          Dst:             sc_pkcs15init_keybits
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2775,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2782,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2784,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2789,2'
          Dst:             sc_do_log
    - functionName:    prkey_fixup
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2753
      functionLinenumberEnd: 2762
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          41
      EdgeCount:       13
      CyclomaticComplexity: 8
      functionsReached:
        - prkey_fixup_rsa
      functionUses:    1
      BranchProfiles:
        - Branch String:   '../../../src/pkcs15init/pkcs15-lib.c:2754,2'
          Branch Sides:    []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:2756,10'
          Dst:             prkey_fixup_rsa
    - functionName:    sc_pkcs15init_store_private_key
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1742
      functionLinenumberEnd: 1832
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         105
      ICount:          620
      EdgeCount:       133
      CyclomaticComplexity: 30
      functionsReached:
        - _pkcd15init_set_aux_md_data
        - check_key_compatibility
        - prkey_bits
        - prkey_fixup
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_prkey_by_id
        - sc_pkcs15_fix_ec_parameters
        - sc_pkcs15_free_object
        - sc_pkcs15_free_object_content
        - sc_pkcs15init_add_object
        - sc_pkcs15init_encode_prvkey_content
        - sc_pkcs15init_init_prkdf
        - sc_pkcs15init_select_intrinsic_id
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1749,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1756,7'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1757,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1757,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1762,6'
          Dst:             prkey_fixup
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1763,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1763,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1765,12'
          Dst:             prkey_bits
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1766,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1766,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1770,6'
          Dst:             check_key_compatibility
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1774,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1774,4'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1778,6'
          Dst:             sc_pkcs15init_select_intrinsic_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1780,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1780,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1783,6'
          Dst:             sc_pkcs15_find_prkey_by_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1785,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1785,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1787,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1787,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1790,6'
          Dst:             sc_pkcs15init_init_prkdf
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1791,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1791,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1793,6'
          Dst:             sc_pkcs15init_encode_prvkey_content
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1794,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1794,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1797,6'
          Dst:             _pkcd15init_set_aux_md_data
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1798,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1798,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1802,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1802,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1806,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1806,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1808,2'
          Dst:             sc_pkcs15_free_object_content
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1809,6'
          Dst:             sc_pkcs15init_encode_prvkey_content
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1810,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1810,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1813,6'
          Dst:             sc_pkcs15init_add_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1814,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1814,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1820,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1820,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1830,2'
          Dst:             sc_pkcs15_free_object
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1831,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1831,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1831,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_create_pin_domain
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1184
      functionLinenumberEnd: 1197
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          80
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_pkcs15_print_id
        - sc_print_path
        - sc_profile_instantiate_template
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1189,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1189,2'
          Dst:             sc_pkcs15_print_id
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1189,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1191,6'
          Dst:             sc_profile_instantiate_template
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1193,3'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:1193,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_finalize_profile
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 748
      functionLinenumberEnd: 773
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          182
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_enum_apps
        - sc_find_app
        - sc_profile_finish
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:753,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:754,43'
          Dst:             sc_enum_apps
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:755,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:758,3'
          Dst:             sc_dump_hex
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:758,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:759,9'
          Dst:             sc_find_app
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:765,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:765,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:768,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:769,7'
          Dst:             sc_profile_finish
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:771,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:772,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:772,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:772,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_rmdir
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 659
      functionLinenumberEnd: 733
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          320
      EdgeCount:       57
      CyclomaticComplexity: 18
      functionsReached:
        - sc_delete_file
        - sc_do_log
        - sc_file_free
        - sc_list_files
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_rmdir
        - sc_pkcs15init_set_lifecycle
        - sc_print_path
        - sc_select_file
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:668,2'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:668,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:671,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:674,7'
          Dst:             sc_list_files
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:687,8'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:693,8'
          Dst:             sc_pkcs15init_rmdir
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:694,4'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:706,6'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:710,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:712,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:715,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:716,2'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:727,6'
          Dst:             sc_pkcs15init_set_lifecycle
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:731,6'
          Dst:             sc_delete_file
    - functionName:    sc_profile_get_file
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/profile.c'
      linkageType:     InternalLinkage
      functionLinenumber: 563
      functionLinenumberEnd: 572
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          50
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - sc_file_dup
        - sc_profile_find_file
      functionUses:    64
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/profile.c:566,12'
          Dst:             sc_profile_find_file
        - Src:             '../../../src/pkcs15init/profile.c:568,2'
          Dst:             sc_file_dup
    - functionName:    sc_pkcs15init_erase_card_recursively
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 529
      functionLinenumberEnd: 559
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - sc_file_free
        - sc_free_apps
        - sc_pkcs15init_rmdir
        - sc_profile_get_file
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:540,6'
          Dst:             sc_profile_get_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:541,7'
          Dst:             sc_pkcs15init_rmdir
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:542,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:544,4'
          Dst:             sc_free_apps
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:549,6'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:551,7'
          Dst:             sc_pkcs15init_rmdir
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:552,3'
          Dst:             sc_file_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:557,2'
          Dst:             sc_free_apps
    - functionName:    get_profile_from_config
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 201
      functionLinenumberEnd: 226
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          102
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - _strlcpy
        - scconf_find_blocks
        - scconf_get_str
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:208,12'
          Dst:             scconf_find_blocks
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:218,9'
          Dst:             scconf_get_str
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:220,4'
          Dst:             _strlcpy
    - functionName:    load_dynamic_driver
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 264
      functionLinenumberEnd: 298
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          125
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - find_library
        - sc_dlclose
        - sc_dlerror
        - sc_dlopen
        - sc_dlsym
        - sc_do_log
        - strncmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:270,12'
          Dst:             find_library
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:273,11'
          Dst:             sc_dlopen
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:275,3'
          Dst:             sc_dlerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:275,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:280,41'
          Dst:             sc_dlsym
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:281,39'
          Dst:             sc_dlsym
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:283,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:284,3'
          Dst:             sc_dlclose
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:289,25'
          Dst:             strncmp
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:290,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:291,3'
          Dst:             sc_dlclose
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:295,2'
          Dst:             sc_do_log
    - functionName:    strncmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_bind
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 307
      functionLinenumberEnd: 423
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         89
      ICount:          550
      EdgeCount:       116
      CyclomaticComplexity: 29
      functionsReached:
        - _strlcpy
        - get_profile_from_config
        - load_dynamic_driver
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_read_info
        - sc_pkcs15init_set_lifecycle
        - sc_print_path
        - sc_profile_finish
        - sc_profile_free
        - sc_profile_load
        - sc_profile_new
        - sc_select_file
        - sc_strerror
        - strcasecmp
        - strchr
        - strdup
        - strtok
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:315,2'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:317,6'
          Dst:             sc_pkcs15init_set_lifecycle
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:319,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:319,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:321,12'
          Dst:             sc_profile_new
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:325,8'
          Dst:             strcasecmp
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:333,55'
          Dst:             load_dynamic_driver
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:339,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:340,3'
          Dst:             sc_profile_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:341,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:341,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:347,18'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:348,6'
          Dst:             strchr
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:352,10'
          Dst:             strtok
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:353,15'
          Dst:             strtok
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:355,29'
          Dst:             strdup
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:359,6'
          Dst:             sc_pkcs15init_read_info
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:361,3'
          Dst:             sc_profile_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:362,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:362,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:368,7'
          Dst:             get_profile_from_config
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:369,3'
          Dst:             _strlcpy
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:371,3'
          Dst:             _strlcpy
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:374,7'
          Dst:             sc_profile_load
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:376,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:376,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:380,7'
          Dst:             sc_profile_load
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:382,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:382,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:386,7'
          Dst:             sc_profile_finish
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:388,4'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:388,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:392,3'
          Dst:             sc_profile_free
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:393,3'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:393,3'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:400,4'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:404,8'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:417,3'
          Dst:             sc_print_path
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:417,3'
          Dst:             sc_do_log
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:418,7'
          Dst:             sc_select_file
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:422,2'
          Dst:             sc_strerror
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:422,2'
          Dst:             sc_do_log_color
        - Src:             '../../../src/pkcs15init/pkcs15-lib.c:422,2'
          Dst:             sc_do_log
    - functionName:    strtok
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_set_callbacks
      functionSourceFile: '/src/opensc/src/tests/fuzzing/../../../src/pkcs15init/pkcs15-lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 189
      functionLinenumberEnd: 192
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          38
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fuzz_connect_card
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 188
      functionLinenumberEnd: 212
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          109
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - _sc_delete_reader
        - fuzz_add_reader
        - list_get_at
        - list_size
        - sc_connect_card
        - sc_ctx_get_reader
        - sc_get_fuzz_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzzer_reader.c:192,12'
          Dst:             list_size
        - Src:             'fuzzer_reader.c:193,44'
          Dst:             list_get_at
        - Src:             'fuzzer_reader.c:194,9'
          Dst:             _sc_delete_reader
        - Src:             'fuzzer_reader.c:200,26'
          Dst:             sc_get_fuzz_driver
        - Src:             'fuzzer_reader.c:201,5'
          Dst:             fuzz_add_reader
        - Src:             'fuzzer_reader.c:202,14'
          Dst:             sc_ctx_get_reader
        - Src:             'fuzzer_reader.c:205,9'
          Dst:             sc_connect_card
    - functionName:    sc_get_fuzz_driver
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 150
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fuzz_add_reader
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 184
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          84
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - calloc
        - list_append
        - snprintf
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzzer_reader.c:166,20'
          Dst:             calloc
        - Src:             'fuzzer_reader.c:167,26'
          Dst:             calloc
        - Src:             'fuzzer_reader.c:178,5'
          Dst:             snprintf
        - Src:             'fuzzer_reader.c:180,20'
          Dst:             strdup
        - Src:             'fuzzer_reader.c:183,5'
          Dst:             list_append
    - functionName:    fuzz_reader_release
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 79
      functionLinenumberEnd: 85
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          31
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fuzz_reader_connect
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 89
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          58
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - fuzz_get_chunk
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzzer_reader.c:93,5'
          Dst:             fuzz_get_chunk
    - functionName:    fuzz_reader_disconnect
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 107
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fuzz_reader_transmit
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 112
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          108
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - fuzz_get_chunk
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzzer_reader.c:116,5'
          Dst:             fuzz_get_chunk
    - functionName:    fuzz_reader_lock
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fuzz_reader_unlock
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fuzz_get_chunk
      functionSourceFile: '/src/opensc/src/tests/fuzzing/fuzzer_reader.c'
      linkageType:     InternalLinkage
      functionLinenumber: 36
      functionLinenumberEnd: 76
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          187
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached:
        - _sc_debug_hex
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'fuzzer_reader.c:48,13'
          Dst:             sc_do_log
        - Src:             'fuzzer_reader.c:53,9'
          Dst:             sc_do_log
        - Src:             'fuzzer_reader.c:71,5'
          Dst:             _sc_debug_hex
    - functionName:    sc_free
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1133
      functionLinenumberEnd: 1135
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_thread_id
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1124
      functionLinenumberEnd: 1130
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          57
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_mutex_destroy
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1114
      functionLinenumberEnd: 1121
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          61
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_mutex_unlock
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1104
      functionLinenumberEnd: 1111
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          61
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_mutex_lock
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1094
      functionLinenumberEnd: 1101
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          61
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_mutex_create
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1084
      functionLinenumberEnd: 1091
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          61
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_compacttlv_find_tag
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1060
      functionLinenumberEnd: 1079
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          140
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_crc32
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1029
      functionLinenumberEnd: 1056
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          124
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_remote_apdu_free
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1001
      functionLinenumberEnd: 1014
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          47
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_remote_apdu_allocate
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 968
      functionLinenumberEnd: 997
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          120
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:974,10'
          Dst:             calloc
    - functionName:    sc_remote_data_init
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1017
      functionLinenumberEnd: 1024
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          25
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    13
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_mem_reverse
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 949
      functionLinenumberEnd: 963
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          76
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_mem_clear
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 932
      functionLinenumberEnd: 946
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - explicit_bzero
      functionUses:    42
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:939,3'
          Dst:             explicit_bzero
    - functionName:    explicit_bzero
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_mem_secure_free
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 921
      functionLinenumberEnd: 929
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - munlock
        - munmap
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:926,2'
          Dst:             munlock
        - Src:             'sc.c:927,2'
          Dst:             munmap
    - functionName:    munlock
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    munmap
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_mem_secure_alloc
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 902
      functionLinenumberEnd: 917
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - mlock
        - mmap
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:911,6'
          Dst:             mmap
        - Src:             'sc.c:913,3'
          Dst:             mlock
    - functionName:    mmap
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - size_t
        - int
        - int
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mlock
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _sc_parse_atr
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 826
      functionLinenumberEnd: 899
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         50
      ICount:          397
      EdgeCount:       66
      CyclomaticComplexity: 18
      functionsReached:
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:846,3'
          Dst:             sc_do_log
        - Src:             'sc.c:851,3'
          Dst:             sc_do_log
    - functionName:    sc_file_set_content
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 788
      functionLinenumberEnd: 816
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          123
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - realloc
        - sc_file_valid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:790,7'
          Dst:             sc_file_valid
        - Src:             'sc.c:802,15'
          Dst:             realloc
    - functionName:    sc_file_valid
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 819
      functionLinenumberEnd: 823
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          27
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    realloc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    45
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_file_set_type_attr
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 757
      functionLinenumberEnd: 783
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          123
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - realloc
        - sc_file_valid
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:759,7'
          Dst:             sc_file_valid
        - Src:             'sc.c:770,15'
          Dst:             realloc
    - functionName:    sc_file_set_prop_attr
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 727
      functionLinenumberEnd: 753
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          123
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - realloc
        - sc_file_valid
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:729,7'
          Dst:             sc_file_valid
        - Src:             'sc.c:740,15'
          Dst:             realloc
    - functionName:    sc_file_set_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 697
      functionLinenumberEnd: 723
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          123
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - realloc
        - sc_file_valid
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:699,7'
          Dst:             sc_file_valid
        - Src:             'sc.c:710,15'
          Dst:             realloc
    - functionName:    sc_file_dup
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 646
      functionLinenumberEnd: 693
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          233
      EdgeCount:       38
      CyclomaticComplexity: 12
      functionsReached:
        - sc_file_add_acl_entry
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_file_new
        - sc_file_set_content
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
        - sc_file_set_type_attr
        - sc_file_valid
      functionUses:    32
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:654,7'
          Dst:             sc_file_valid
        - Src:             'sc.c:656,9'
          Dst:             sc_file_new
        - Src:             'sc.c:672,7'
          Dst:             sc_file_get_acl_entry
        - Src:             'sc.c:674,8'
          Dst:             sc_file_add_acl_entry
        - Src:             'sc.c:681,6'
          Dst:             sc_file_set_sec_attr
        - Src:             'sc.c:683,6'
          Dst:             sc_file_set_prop_attr
        - Src:             'sc.c:685,6'
          Dst:             sc_file_set_type_attr
        - Src:             'sc.c:687,6'
          Dst:             sc_file_set_content
        - Src:             'sc.c:691,2'
          Dst:             sc_file_free
    - functionName:    sc_file_new
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 617
      functionLinenumberEnd: 624
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - calloc
      functionUses:    59
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:618,33'
          Dst:             calloc
    - functionName:    sc_file_get_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 565
      functionLinenumberEnd: 590
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          70
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    69
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_file_add_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 506
      functionLinenumberEnd: 561
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          250
      EdgeCount:       48
      CyclomaticComplexity: 12
      functionsReached:
        - sc_file_clear_acl_entries
      functionUses:    111
      BranchProfiles:
        - Branch String:   'sc.c:513,2'
          Branch Sides:    []
      Callsites:
        - Src:             'sc.c:515,3'
          Dst:             sc_file_clear_acl_entries
        - Src:             'sc.c:519,3'
          Dst:             sc_file_clear_acl_entries
        - Src:             'sc.c:523,3'
          Dst:             sc_file_clear_acl_entries
    - functionName:    sc_file_free
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 627
      functionLinenumberEnd: 643
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         25
      ICount:          122
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - sc_file_clear_acl_entries
        - sc_file_valid
      functionUses:    441
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:629,23'
          Dst:             sc_file_valid
        - Src:             'sc.c:633,3'
          Dst:             sc_file_clear_acl_entries
    - functionName:    sc_file_clear_acl_entries
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 593
      functionLinenumberEnd: 614
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          94
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_get_mf_path
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 493
      functionLinenumberEnd: 501
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_compare_path_prefix
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 480
      functionLinenumberEnd: 490
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_compare_path
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:489,9'
          Dst:             sc_compare_path
    - functionName:    sc_compare_path
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 474
      functionLinenumberEnd: 476
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - memcmp
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:476,7'
          Dst:             memcmp
    - functionName:    sc_path_print
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 449
      functionLinenumberEnd: 471
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          185
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - snprintf
        - strlen
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:461,19'
          Dst:             strlen
        - Src:             'sc.c:461,41'
          Dst:             strlen
        - Src:             'sc.c:461,4'
          Dst:             snprintf
        - Src:             'sc.c:462,18'
          Dst:             strlen
        - Src:             'sc.c:462,40'
          Dst:             strlen
        - Src:             'sc.c:462,3'
          Dst:             snprintf
        - Src:             'sc.c:466,18'
          Dst:             strlen
        - Src:             'sc.c:466,40'
          Dst:             strlen
        - Src:             'sc.c:466,3'
          Dst:             snprintf
        - Src:             'sc.c:468,18'
          Dst:             strlen
        - Src:             'sc.c:468,40'
          Dst:             strlen
        - Src:             'sc.c:468,3'
          Dst:             snprintf
    - functionName:    sc_print_path
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 439
      functionLinenumberEnd: 445
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          27
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_path_print
      functionUses:    100
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:442,6'
          Dst:             sc_path_print
    - functionName:    sc_append_file_id
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 402
      functionLinenumberEnd: 405
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_append_path_id
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:405,9'
          Dst:             sc_append_path_id
    - functionName:    sc_append_path_id
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 393
      functionLinenumberEnd: 399
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          46
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_concatenate_path
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 409
      functionLinenumberEnd: 436
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          126
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_append_path
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 388
      functionLinenumberEnd: 389
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_concatenate_path
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:389,9'
          Dst:             sc_concatenate_path
    - functionName:    sc_format_path
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 370
      functionLinenumberEnd: 385
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          84
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_hex_to_bin
      functionUses:    160
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:380,7'
          Dst:             sc_hex_to_bin
    - functionName:    sc_hex_to_bin
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 134
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         60
      ICount:          325
      EdgeCount:       81
      CyclomaticComplexity: 23
      functionsReached:
        - strchr
      functionUses:    19
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:84,8'
          Dst:             strchr
        - Src:             'sc.c:122,15'
          Dst:             strchr
    - functionName:    sc_path_set
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 355
      functionLinenumberEnd: 367
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          79
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    20
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_detect_card_presence
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 337
      functionLinenumberEnd: 351
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         28
      ICount:          171
      EdgeCount:       34
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:339,2'
          Dst:             sc_do_log
        - Src:             'sc.c:341,3'
          Dst:             sc_strerror
        - Src:             'sc.c:341,3'
          Dst:             sc_do_log_color
        - Src:             'sc.c:341,3'
          Dst:             sc_do_log
        - Src:             'sc.c:348,3'
          Dst:             sc_strerror
        - Src:             'sc.c:348,3'
          Dst:             sc_do_log_color
        - Src:             'sc.c:348,3'
          Dst:             sc_do_log
        - Src:             'sc.c:350,2'
          Dst:             sc_strerror
        - Src:             'sc.c:350,2'
          Dst:             sc_do_log_color
        - Src:             'sc.c:350,2'
          Dst:             sc_do_log
    - functionName:    sc_compare_oid
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 299
      functionLinenumberEnd: 314
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          80
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    18
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_valid_oid
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 318
      functionLinenumberEnd: 333
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         23
      ICount:          110
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_format_oid
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 265
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          142
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - __ctype_b_loc
        - sc_init_oid
        - sc_valid_oid
        - strtol
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:273,2'
          Dst:             sc_init_oid
        - Src:             'sc.c:277,25'
          Dst:             strtol
        - Src:             'sc.c:281,24'
          Dst:             __ctype_b_loc
        - Src:             'sc.c:287,7'
          Dst:             sc_valid_oid
        - Src:             'sc.c:293,3'
          Dst:             sc_init_oid
    - functionName:    sc_init_oid
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 255
      functionLinenumberEnd: 262
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          38
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    20
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strtol
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    set_string
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 245
      functionLinenumberEnd: 252
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          42
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - strdup
      functionUses:    71
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:251,18'
          Dst:             strdup
    - functionName:    lebytes2ulong
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 235
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          43
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    lebytes2ushort
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 227
      functionLinenumberEnd: 232
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          34
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bebytes2ushort
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 219
      functionLinenumberEnd: 224
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          34
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    40
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bebytes2ulong
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 209
      functionLinenumberEnd: 216
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          43
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ushort2bebytes
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 200
      functionLinenumberEnd: 205
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          35
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    43
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ulong2bebytes
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 189
      functionLinenumberEnd: 196
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          47
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_right_trim
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 186
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          84
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - __ctype_b_loc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sc.c:177,8'
          Dst:             __ctype_b_loc
    - functionName:    sc_bin_to_hex
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 163
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          147
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached: []
      functionUses:    25
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_get_version
      functionSourceFile: '/src/opensc/src/libopensc/sc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 59
      functionLinenumberEnd: 60
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          5
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    find_library
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 459
      functionLinenumberEnd: 483
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          112
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - scconf_find_blocks
        - scconf_get_str
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:465,12'
          Dst:             scconf_find_blocks
        - Src:             'ctx.c:472,13'
          Dst:             scconf_get_str
        - Src:             'ctx.c:479,4'
          Dst:             sc_do_log
    - functionName:    load_card_driver_options
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 543
      functionLinenumberEnd: 560
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          73
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - scconf_find_blocks
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:548,12'
          Dst:             scconf_find_blocks
    - functionName:    load_dynamic_driver
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 494
      functionLinenumberEnd: 539
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          151
      EdgeCount:       30
      CyclomaticComplexity: 10
      functionsReached:
        - find_library
        - sc_dlclose
        - sc_dlerror
        - sc_dlopen
        - sc_dlsym
        - sc_do_log
        - strncmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:503,3'
          Dst:             sc_do_log
        - Src:             'ctx.c:507,3'
          Dst:             sc_do_log
        - Src:             'ctx.c:510,12'
          Dst:             find_library
        - Src:             'ctx.c:513,11'
          Dst:             sc_dlopen
        - Src:             'ctx.c:515,3'
          Dst:             sc_dlerror
        - Src:             'ctx.c:515,3'
          Dst:             sc_do_log
        - Src:             'ctx.c:520,20'
          Dst:             sc_dlsym
        - Src:             'ctx.c:521,20'
          Dst:             sc_dlsym
        - Src:             'ctx.c:523,3'
          Dst:             sc_do_log
        - Src:             'ctx.c:524,3'
          Dst:             sc_dlclose
        - Src:             'ctx.c:530,25'
          Dst:             strncmp
        - Src:             'ctx.c:531,3'
          Dst:             sc_do_log
        - Src:             'ctx.c:532,3'
          Dst:             sc_dlclose
        - Src:             'ctx.c:537,2'
          Dst:             sc_do_log
    - functionName:    add_old_drvs
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 309
      functionLinenumberEnd: 319
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - add_drv
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:316,3'
          Dst:             add_drv
    - functionName:    add_drv
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 278
      functionLinenumberEnd: 293
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          86
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - strcmp
        - strdup
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:288,7'
          Dst:             strcmp
        - Src:             'ctx.c:290,18'
          Dst:             strdup
    - functionName:    load_parameters
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 385
      functionLinenumberEnd: 450
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          217
      EdgeCount:       43
      CyclomaticComplexity: 12
      functionsReached:
        - sc_ctx_log_to_file
        - scconf_find_list
        - scconf_get_bool
        - scconf_get_int
        - scconf_get_str
        - set_drivers
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:396,10'
          Dst:             scconf_get_int
        - Src:             'ctx.c:400,8'
          Dst:             scconf_get_str
        - Src:             'ctx.c:408,3'
          Dst:             sc_ctx_log_to_file
        - Src:             'ctx.c:411,3'
          Dst:             sc_ctx_log_to_file
        - Src:             'ctx.c:414,6'
          Dst:             scconf_get_bool
        - Src:             'ctx.c:418,6'
          Dst:             scconf_get_bool
        - Src:             'ctx.c:422,6'
          Dst:             scconf_get_bool
        - Src:             'ctx.c:426,9'
          Dst:             scconf_find_list
        - Src:             'ctx.c:427,2'
          Dst:             set_drivers
        - Src:             'ctx.c:432,29'
          Dst:             scconf_get_str
        - Src:             'ctx.c:433,11'
          Dst:             strcmp
        - Src:             'ctx.c:435,18'
          Dst:             strcmp
        - Src:             'ctx.c:437,18'
          Dst:             strcmp
        - Src:             'ctx.c:439,18'
          Dst:             strcmp
    - functionName:    sc_ctx_log_to_file
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 337
      functionLinenumberEnd: 364
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          140
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - fclose
        - fopen
        - strcmp
        - strdup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:340,3'
          Dst:             fclose
        - Src:             'ctx.c:347,25'
          Dst:             strdup
        - Src:             'ctx.c:354,7'
          Dst:             strcmp
        - Src:             'ctx.c:356,12'
          Dst:             strcmp
        - Src:             'ctx.c:359,21'
          Dst:             fopen
    - functionName:    set_drivers
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 368
      functionLinenumberEnd: 381
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          82
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - add_drv
        - add_internal_drvs
        - add_old_drvs
        - del_drvs
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:371,3'
          Dst:             del_drvs
        - Src:             'ctx.c:373,7'
          Dst:             strcmp
        - Src:             'ctx.c:374,4'
          Dst:             add_internal_drvs
        - Src:             'ctx.c:375,12'
          Dst:             strcmp
        - Src:             'ctx.c:376,4'
          Dst:             add_old_drvs
        - Src:             'ctx.c:378,4'
          Dst:             add_drv
    - functionName:    del_drvs
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 264
      functionLinenumberEnd: 275
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          51
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    add_internal_drvs
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 296
      functionLinenumberEnd: 306
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - add_drv
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:303,3'
          Dst:             add_drv
    - functionName:    fopen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    get_exe_path
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 911
      functionLinenumberEnd: 942
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          31
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - realpath
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:925,14'
          Dst:             realpath
        - Src:             'ctx.c:942,9'
          Dst:             strdup
    - functionName:    realpath
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_make_cache_dir
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1211
      functionLinenumberEnd: 1256
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          121
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - mkdir
        - sc_do_log
        - sc_get_cache_dir
        - strlen
        - strrchr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:1216,11'
          Dst:             sc_get_cache_dir
        - Src:             'ctx.c:1218,12'
          Dst:             strlen
        - Src:             'ctx.c:1224,19'
          Dst:             mkdir
        - Src:             'ctx.c:1229,7'
          Dst:             __errno_location
        - Src:             'ctx.c:1229,32'
          Dst:             strrchr
        - Src:             'ctx.c:1238,7'
          Dst:             strlen
        - Src:             'ctx.c:1245,19'
          Dst:             mkdir
        - Src:             'ctx.c:1254,2'
          Dst:             sc_do_log
    - functionName:    sc_get_cache_dir
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1167
      functionLinenumberEnd: 1208
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          111
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - _strlcpy
        - getenv
        - sc_get_conf_block
        - scconf_get_str
        - snprintf
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:1174,15'
          Dst:             sc_get_conf_block
        - Src:             'ctx.c:1175,14'
          Dst:             scconf_get_str
        - Src:             'ctx.c:1177,3'
          Dst:             _strlcpy
        - Src:             'ctx.c:1185,14'
          Dst:             getenv
        - Src:             'ctx.c:1188,3'
          Dst:             snprintf
        - Src:             'ctx.c:1192,12'
          Dst:             getenv
        - Src:             'ctx.c:1205,6'
          Dst:             snprintf
    - functionName:    mkdir
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __errno_location
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    29
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strrchr
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    getenv
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    12
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_set_card_driver
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1143
      functionLinenumberEnd: 1164
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          114
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - sc_mutex_lock
        - sc_mutex_unlock
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:1146,2'
          Dst:             sc_mutex_lock
        - Src:             'ctx.c:1153,7'
          Dst:             strcmp
        - Src:             'ctx.c:1160,2'
          Dst:             sc_mutex_unlock
    - functionName:    sc_wait_for_event
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1085
      functionLinenumberEnd: 1091
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          64
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:1086,2'
          Dst:             sc_do_log
    - functionName:    sc_cancel
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1075
      functionLinenumberEnd: 1081
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          49
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:1076,2'
          Dst:             sc_do_log
    - functionName:    sc_ctx_use_reader
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1065
      functionLinenumberEnd: 1071
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          55
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:1066,2'
          Dst:             sc_do_log
    - functionName:    load_card_drivers
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 564
      functionLinenumberEnd: 626
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         41
      ICount:          284
      EdgeCount:       53
      CyclomaticComplexity: 14
      functionsReached:
        - load_card_driver_options
        - load_dynamic_driver
        - sc_dlclose
        - sc_do_log
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:579,4'
          Dst:             sc_do_log
        - Src:             'ctx.c:585,8'
          Dst:             strcmp
        - Src:             'ctx.c:592,9'
          Dst:             strcmp
        - Src:             'ctx.c:600,24'
          Dst:             load_dynamic_driver
        - Src:             'ctx.c:603,4'
          Dst:             sc_do_log
        - Src:             'ctx.c:605,5'
          Dst:             sc_dlclose
        - Src:             'ctx.c:611,4'
          Dst:             sc_do_log
        - Src:             'ctx.c:619,3'
          Dst:             load_card_driver_options
    - functionName:    process_config_file
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 706
      functionLinenumberEnd: 779
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         42
      ICount:          298
      EdgeCount:       56
      CyclomaticComplexity: 16
      functionsReached:
        - atoi
        - getenv
        - load_parameters
        - sc_do_log
        - scconf_find_blocks
        - scconf_free
        - scconf_new
        - scconf_parse
        - scconf_parse_string
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:717,10'
          Dst:             getenv
        - Src:             'ctx.c:719,16'
          Dst:             atoi
        - Src:             'ctx.c:733,14'
          Dst:             getenv
        - Src:             'ctx.c:737,14'
          Dst:             scconf_new
        - Src:             'ctx.c:740,6'
          Dst:             scconf_parse
        - Src:             'ctx.c:745,7'
          Dst:             scconf_parse_string
        - Src:             'ctx.c:752,4'
          Dst:             sc_do_log
        - Src:             'ctx.c:754,4'
          Dst:             sc_do_log
        - Src:             'ctx.c:755,3'
          Dst:             scconf_free
        - Src:             'ctx.c:760,2'
          Dst:             sc_do_log
        - Src:             'ctx.c:761,11'
          Dst:             scconf_find_blocks
        - Src:             'ctx.c:765,11'
          Dst:             scconf_find_blocks
        - Src:             'ctx.c:769,6'
          Dst:             strcmp
        - Src:             'ctx.c:770,12'
          Dst:             scconf_find_blocks
        - Src:             'ctx.c:778,3'
          Dst:             load_parameters
    - functionName:    atoi
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    reader_list_seeker
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 261
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          54
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:258,6'
          Dst:             strcmp
    - functionName:    set_defaults
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 322
      functionLinenumberEnd: 330
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          67
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - add_internal_drvs
        - fclose
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:325,3'
          Dst:             fclose
        - Src:             'ctx.c:329,2'
          Dst:             add_internal_drvs
    - functionName:    sc_release_context
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1094
      functionLinenumberEnd: 1140
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         44
      ICount:          266
      EdgeCount:       58
      CyclomaticComplexity: 16
      functionsReached:
        - _sc_delete_reader
        - _sc_free_atr
        - fclose
        - list_destroy
        - list_get_at
        - list_size
        - sc_dlclose
        - sc_do_log
        - sc_mem_clear
        - sc_mutex_destroy
        - scconf_free
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:1100,2'
          Dst:             sc_do_log
        - Src:             'ctx.c:1101,9'
          Dst:             list_size
        - Src:             'ctx.c:1102,38'
          Dst:             list_get_at
        - Src:             'ctx.c:1103,3'
          Dst:             _sc_delete_reader
        - Src:             'ctx.c:1113,4'
          Dst:             _sc_free_atr
        - Src:             'ctx.c:1115,4'
          Dst:             sc_dlclose
        - Src:             'ctx.c:1123,11'
          Dst:             sc_mutex_destroy
        - Src:             'ctx.c:1125,4'
          Dst:             sc_do_log
        - Src:             'ctx.c:1130,3'
          Dst:             scconf_free
        - Src:             'ctx.c:1132,3'
          Dst:             fclose
        - Src:             'ctx.c:1136,2'
          Dst:             list_destroy
        - Src:             'ctx.c:1137,2'
          Dst:             sc_mem_clear
    - functionName:    _sc_delete_reader
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 97
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          65
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - list_delete
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:94,2'
          Dst:             list_delete
    - functionName:    load_card_atrs
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 630
      functionLinenumberEnd: 702
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         38
      ICount:          252
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - __isoc99_sscanf
        - _sc_add_atr
        - scconf_find_blocks
        - scconf_find_list
        - scconf_get_int
        - scconf_get_str
        - strcmp
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:636,12'
          Dst:             scconf_find_blocks
        - Src:             'ctx.c:648,8'
          Dst:             strlen
        - Src:             'ctx.c:660,12'
          Dst:             scconf_get_str
        - Src:             'ctx.c:665,10'
          Dst:             strcmp
        - Src:             'ctx.c:675,25'
          Dst:             scconf_get_str
        - Src:             'ctx.c:676,22'
          Dst:             scconf_get_str
        - Src:             'ctx.c:677,13'
          Dst:             scconf_get_int
        - Src:             'ctx.c:678,11'
          Dst:             scconf_find_list
        - Src:             'ctx.c:687,10'
          Dst:             strcmp
        - Src:             'ctx.c:689,15'
          Dst:             strcmp
        - Src:             'ctx.c:691,14'
          Dst:             __isoc99_sscanf
        - Src:             'ctx.c:698,4'
          Dst:             _sc_add_atr
    - functionName:    __isoc99_sscanf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_context_repair
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 828
      functionLinenumberEnd: 842
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          50
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - load_card_atrs
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:837,2'
          Dst:             load_card_atrs
    - functionName:    sc_context_create
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 946
      functionLinenumberEnd: 1061
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         43
      ICount:          312
      EdgeCount:       59
      CyclomaticComplexity: 18
      functionsReached:
        - calloc
        - del_drvs
        - fclose
        - get_exe_path
        - getenv
        - list_attributes_seeker
        - list_init
        - load_card_atrs
        - load_card_drivers
        - process_config_file
        - reader_list_seeker
        - sc_ctx_detect_readers
        - sc_do_log
        - sc_get_ctapi_driver
        - sc_get_version
        - sc_mutex_create
        - sc_release_context
        - scconf_list_add
        - scconf_list_destroy
        - set_defaults
        - set_drivers
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:955,8'
          Dst:             calloc
        - Src:             'ctx.c:962,19'
          Dst:             strdup
        - Src:             'ctx.c:964,19'
          Dst:             strdup
        - Src:             'ctx.c:966,3'
          Dst:             sc_release_context
        - Src:             'ctx.c:970,18'
          Dst:             get_exe_path
        - Src:             'ctx.c:972,3'
          Dst:             sc_release_context
        - Src:             'ctx.c:977,2'
          Dst:             set_defaults
        - Src:             'ctx.c:979,11'
          Dst:             list_init
        - Src:             'ctx.c:980,3'
          Dst:             del_drvs
        - Src:             'ctx.c:981,3'
          Dst:             sc_release_context
        - Src:             'ctx.c:984,2'
          Dst:             list_attributes_seeker
        - Src:             'ctx.c:984,2'
          Dst:             reader_list_seeker
        - Src:             'ctx.c:988,6'
          Dst:             sc_mutex_create
        - Src:             'ctx.c:990,3'
          Dst:             del_drvs
        - Src:             'ctx.c:991,3'
          Dst:             sc_release_context
        - Src:             'ctx.c:1001,2'
          Dst:             process_config_file
        - Src:             'ctx.c:1009,4'
          Dst:             fclose
        - Src:             'ctx.c:1013,2'
          Dst:             sc_do_log
        - Src:             'ctx.c:1014,2'
          Dst:             sc_get_version
        - Src:             'ctx.c:1014,2'
          Dst:             sc_do_log
        - Src:             'ctx.c:1015,2'
          Dst:             sc_do_log
        - Src:             'ctx.c:1031,23'
          Dst:             sc_get_ctapi_driver
        - Src:             'ctx.c:1040,3'
          Dst:             del_drvs
        - Src:             'ctx.c:1041,3'
          Dst:             sc_release_context
        - Src:             'ctx.c:1045,11'
          Dst:             getenv
        - Src:             'ctx.c:1048,3'
          Dst:             scconf_list_add
        - Src:             'ctx.c:1049,3'
          Dst:             set_drivers
        - Src:             'ctx.c:1050,3'
          Dst:             scconf_list_destroy
        - Src:             'ctx.c:1053,2'
          Dst:             load_card_drivers
        - Src:             'ctx.c:1054,2'
          Dst:             load_card_atrs
        - Src:             'ctx.c:1056,2'
          Dst:             del_drvs
        - Src:             'ctx.c:1057,2'
          Dst:             sc_ctx_detect_readers
    - functionName:    sc_ctx_detect_readers
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 782
      functionLinenumberEnd: 793
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          56
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_mutex_lock
        - sc_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:786,2'
          Dst:             sc_mutex_lock
        - Src:             'ctx.c:791,2'
          Dst:             sc_mutex_unlock
    - functionName:    sc_establish_context
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 817
      functionLinenumberEnd: 823
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_context_create
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:823,9'
          Dst:             sc_context_create
    - functionName:    sc_ctx_get_reader_count
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 812
      functionLinenumberEnd: 813
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_size
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:813,9'
          Dst:             list_size
    - functionName:    sc_ctx_get_reader_by_name
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 807
      functionLinenumberEnd: 808
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_seek
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:808,9'
          Dst:             list_seek
    - functionName:    sc_ctx_get_reader_by_id
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 802
      functionLinenumberEnd: 803
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_get_at
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:803,9'
          Dst:             list_get_at
    - functionName:    sc_ctx_get_reader
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 797
      functionLinenumberEnd: 798
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_get_at
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:798,9'
          Dst:             list_get_at
    - functionName:    sc_ctx_win32_get_config_value
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 199
      functionLinenumberEnd: 248
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ignored_reader
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 54
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          106
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - scconf_find_list
        - strstr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:60,11'
          Dst:             scconf_find_list
        - Src:             'ctx.c:62,9'
          Dst:             strstr
        - Src:             'ctx.c:63,6'
          Dst:             sc_do_log
    - functionName:    _sc_add_reader
      functionSourceFile: '/src/opensc/src/libopensc/ctx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 76
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          49
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ignored_reader
        - list_append
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctx.c:77,24'
          Dst:             ignored_reader
        - Src:             'ctx.c:81,2'
          Dst:             list_append
    - functionName:    is_a_tty
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 228
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          43
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - fileno
        - isatty
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:230,12'
          Dst:             fileno
        - Src:             'log.c:238,11'
          Dst:             isatty
    - functionName:    fileno
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    isatty
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_dump_oid
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 445
      functionLinenumberEnd: 454
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          72
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - snprintf
        - strlen
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:452,24'
          Dst:             strlen
        - Src:             'log.c:452,61'
          Dst:             strlen
        - Src:             'log.c:452,4'
          Dst:             snprintf
    - functionName:    sc_dump_hex
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 412
      functionLinenumberEnd: 441
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          138
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - snprintf
        - strlen
      functionUses:    70
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:424,5'
          Dst:             snprintf
        - Src:             'log.c:426,5'
          Dst:             snprintf
        - Src:             'log.c:427,11'
          Dst:             strlen
        - Src:             'log.c:430,3'
          Dst:             snprintf
        - Src:             'log.c:438,3'
          Dst:             snprintf
    - functionName:    sc_hex_dump
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 371
      functionLinenumberEnd: 408
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          214
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - __ctype_b_loc
        - snprintf
        - sprintf
        - strlcat
        - strlen
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:387,4'
          Dst:             sprintf
        - Src:             'log.c:388,8'
          Dst:             __ctype_b_loc
        - Src:             'log.c:399,4'
          Dst:             strlcat
        - Src:             'log.c:403,3'
          Dst:             snprintf
        - Src:             'log.c:404,8'
          Dst:             strlen
        - Src:             'log.c:405,12'
          Dst:             strlen
    - functionName:    _sc_debug_hex
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 343
      functionLinenumberEnd: 368
      functionDepth:   0
      returnType:      void
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          107
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_hex_dump
      functionUses:    57
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:358,2'
          Dst:             sc_hex_dump
        - Src:             'log.c:361,3'
          Dst:             sc_do_log
        - Src:             'log.c:364,3'
          Dst:             sc_do_log
    - functionName:    sc_do_log
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 58
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      void
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log_va
      functionUses:    5841
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:62,2'
          Dst:             sc_do_log_va
    - functionName:    sc_do_log_va
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 202
      functionDepth:   0
      returnType:      void
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          175
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - fflush
        - getpid
        - gettimeofday
        - localtime
        - pthread_self
        - sc_color_fprintf
        - sc_color_fprintf_va
        - strftime
        - strlen
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:162,19'
          Dst:             getpid
        - Src:             'log.c:163,19'
          Dst:             pthread_self
        - Src:             'log.c:159,2'
          Dst:             sc_color_fprintf
        - Src:             'log.c:164,2'
          Dst:             gettimeofday
        - Src:             'log.c:165,7'
          Dst:             localtime
        - Src:             'log.c:166,2'
          Dst:             strftime
        - Src:             'log.c:167,2'
          Dst:             sc_color_fprintf
        - Src:             'log.c:174,2'
          Dst:             sc_color_fprintf
        - Src:             'log.c:177,2'
          Dst:             sc_color_fprintf
        - Src:             'log.c:181,2'
          Dst:             sc_color_fprintf
        - Src:             'log.c:186,3'
          Dst:             sc_color_fprintf
        - Src:             'log.c:192,2'
          Dst:             sc_color_fprintf_va
        - Src:             'log.c:193,6'
          Dst:             strlen
        - Src:             'log.c:193,36'
          Dst:             strlen
        - Src:             'log.c:194,3'
          Dst:             sc_color_fprintf
        - Src:             'log.c:195,2'
          Dst:             fflush
    - functionName:    getpid
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_self
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_color_fprintf
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 262
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          33
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_color_fprintf_va
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:259,6'
          Dst:             sc_color_fprintf_va
    - functionName:    gettimeofday
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    localtime
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strftime
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_color_fprintf_va
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         87
      ICount:          330
      EdgeCount:       107
      CyclomaticComplexity: 22
      functionsReached:
        - fprintf
        - is_a_tty
        - vfprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:274,7'
          Dst:             is_a_tty
        - Src:             'log.c:284,3'
          Dst:             fprintf
        - Src:             'log.c:287,3'
          Dst:             fprintf
        - Src:             'log.c:290,3'
          Dst:             fprintf
        - Src:             'log.c:293,3'
          Dst:             fprintf
        - Src:             'log.c:296,3'
          Dst:             fprintf
        - Src:             'log.c:299,3'
          Dst:             fprintf
        - Src:             'log.c:302,3'
          Dst:             fprintf
        - Src:             'log.c:305,3'
          Dst:             fprintf
        - Src:             'log.c:308,3'
          Dst:             fprintf
        - Src:             'log.c:311,3'
          Dst:             fprintf
        - Src:             'log.c:314,3'
          Dst:             fprintf
        - Src:             'log.c:317,3'
          Dst:             fprintf
        - Src:             'log.c:320,3'
          Dst:             fprintf
        - Src:             'log.c:328,6'
          Dst:             vfprintf
        - Src:             'log.c:334,3'
          Dst:             fprintf
    - functionName:    fflush
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    vfprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _sc_log_openssl
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 223
      functionLinenumberEnd: 225
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log_openssl
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:224,2'
          Dst:             sc_do_log_openssl
    - functionName:    sc_do_log_openssl
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 77
      functionLinenumberEnd: 110
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          113
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - BIO_ctrl
        - BIO_free
        - BIO_new
        - BIO_read
        - BIO_s_mem
        - ERR_print_errors
        - sc_do_log
      functionUses:    159
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:82,21'
          Dst:             BIO_s_mem
        - Src:             'log.c:82,13'
          Dst:             BIO_new
        - Src:             'log.c:83,3'
          Dst:             sc_do_log
        - Src:             'log.c:86,2'
          Dst:             ERR_print_errors
        - Src:             'log.c:88,11'
          Dst:             BIO_ctrl
        - Src:             'log.c:96,3'
          Dst:             sc_do_log
        - Src:             'log.c:99,7'
          Dst:             BIO_read
        - Src:             'log.c:102,3'
          Dst:             sc_do_log
        - Src:             'log.c:106,2'
          Dst:             sc_do_log
        - Src:             'log.c:109,2'
          Dst:             BIO_free
    - functionName:    BIO_s_mem
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BIO_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ERR_print_errors
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BIO_ctrl
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BIO_read
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BIO_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _sc_log
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 220
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log_va
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:218,2'
          Dst:             sc_do_log_va
    - functionName:    _sc_debug
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 205
      functionLinenumberEnd: 211
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log_va
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:209,2'
          Dst:             sc_do_log_va
    - functionName:    sc_do_log_noframe
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 119
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log_va
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:120,2'
          Dst:             sc_do_log_va
    - functionName:    sc_do_log_color
      functionSourceFile: '/src/opensc/src/libopensc/log.c'
      linkageType:     InternalLinkage
      functionLinenumber: 67
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      void
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          39
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log_va
      functionUses:    5049
      BranchProfiles:  []
      Callsites:
        - Src:             'log.c:71,2'
          Dst:             sc_do_log_va
    - functionName:    sc_strerror
      functionSourceFile: '/src/opensc/src/libopensc/errors.c'
      linkageType:     InternalLinkage
      functionLinenumber: 32
      functionLinenumberEnd: 192
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         30
      ICount:          195
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    5112
      BranchProfiles:  []
      Callsites:       []
    - functionName:    asn1_encode_se_info
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1301
      functionLinenumberEnd: 1345
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          208
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - realloc
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
        - sc_valid_oid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1310,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1311,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1313,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1314,7'
          Dst:             sc_valid_oid
        - Src:             'asn1.c:1315,4'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1317,4'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1318,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1320,9'
          Dst:             sc_asn1_encode
        - Src:             'asn1.c:1326,25'
          Dst:             realloc
    - functionName:    sc_copy_asn1_entry
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 147
      functionLinenumberEnd: 154
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          33
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    227
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_format_asn1_entry
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          37
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    527
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_asn1_encode
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2082
      functionLinenumberEnd: 2083
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - asn1_encode
      functionUses:    34
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:2083,9'
          Dst:             asn1_encode
    - functionName:    asn1_encode
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2039
      functionLinenumberEnd: 2078
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          172
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - asn1_encode_entry
        - realloc
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:2049,7'
          Dst:             asn1_encode_entry
        - Src:             'asn1.c:2061,16'
          Dst:             realloc
    - functionName:    asn1_encode_entry
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1826
      functionLinenumberEnd: 2035
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         123
      ICount:          775
      EdgeCount:       158
      CyclomaticComplexity: 37
      functionsReached:
        - asn1_encode
        - asn1_encode_entry
        - asn1_encode_integer
        - asn1_encode_p15_object
        - asn1_encode_path
        - asn1_encode_se_info
        - asn1_write_element
        - encode_bit_field
        - encode_bit_string
        - sc_asn1_encode_algorithm_id
        - sc_asn1_encode_object_id
        - sc_do_log
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'asn1.c:1875,2'
          Branch Sides:    []
      Callsites:
        - Src:             'asn1.c:1837,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:1842,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:1852,6'
          Dst:             sc_do_log
        - Src:             'asn1.c:1867,10'
          Dst:             asn1_encode_entry
        - Src:             'asn1.c:1871,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:1877,7'
          Dst:             asn1_encode
        - Src:             'asn1.c:1895,7'
          Dst:             asn1_encode_integer
        - Src:             'asn1.c:1901,9'
          Dst:             encode_bit_string
        - Src:             'asn1.c:1903,9'
          Dst:             encode_bit_string
        - Src:             'asn1.c:1910,8'
          Dst:             encode_bit_field
        - Src:             'asn1.c:1951,7'
          Dst:             sc_asn1_encode_object_id
        - Src:             'asn1.c:1954,7'
          Dst:             asn1_encode_path
        - Src:             'asn1.c:1970,7'
          Dst:             asn1_encode_p15_object
        - Src:             'asn1.c:1973,7'
          Dst:             sc_asn1_encode_algorithm_id
        - Src:             'asn1.c:1978,7'
          Dst:             asn1_encode_se_info
        - Src:             'asn1.c:1984,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:1988,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:1988,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:2015,7'
          Dst:             asn1_write_element
        - Src:             'asn1.c:2017,4'
          Dst:             sc_strerror
        - Src:             'asn1.c:2017,4'
          Dst:             sc_do_log
        - Src:             'asn1.c:2019,7'
          Dst:             asn1_write_element
        - Src:             'asn1.c:2021,4'
          Dst:             sc_strerror
        - Src:             'asn1.c:2021,4'
          Dst:             sc_do_log
        - Src:             'asn1.c:2024,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:2027,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:2033,3'
          Dst:             sc_do_log
    - functionName:    asn1_encode_integer
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 771
      functionLinenumberEnd: 825
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          230
      EdgeCount:       57
      CyclomaticComplexity: 16
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_bit_string
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 647
      functionLinenumberEnd: 680
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          162
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_bit_field
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 708
      functionLinenumberEnd: 726
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          92
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - encode_bit_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:725,9'
          Dst:             encode_bit_string
    - functionName:    sc_asn1_encode_object_id
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 905
      functionLinenumberEnd: 959
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          261
      EdgeCount:       60
      CyclomaticComplexity: 15
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   'asn1.c:923,3'
          Branch Sides:    []
      Callsites:       []
    - functionName:    asn1_encode_path
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1207
      functionLinenumberEnd: 1221
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          72
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1212,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1213,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1217,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1218,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1220,6'
          Dst:             asn1_encode
    - functionName:    asn1_encode_p15_object
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1430
      functionLinenumberEnd: 1481
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          325
      EdgeCount:       52
      CyclomaticComplexity: 14
      functionsReached:
        - asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_format_asn1_entry
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1434,21'
          Dst:             strlen
        - Src:             'asn1.c:1439,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:1442,4'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1448,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1451,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1452,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1454,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1457,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1460,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1462,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1467,4'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1468,4'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1469,4'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1471,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1474,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1475,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1477,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1478,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1480,6'
          Dst:             asn1_encode
    - functionName:    asn1_write_element
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1051
      functionLinenumberEnd: 1123
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         77
      ICount:          461
      EdgeCount:       96
      CyclomaticComplexity: 21
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:
        - Branch String:   'asn1.c:1079,2'
          Branch Sides:    []
      Callsites:
        - Src:             'asn1.c:1067,4'
          Dst:             sc_strerror
        - Src:             'asn1.c:1067,4'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1071,5'
          Dst:             sc_strerror
        - Src:             'asn1.c:1071,5'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1074,4'
          Dst:             sc_strerror
        - Src:             'asn1.c:1074,4'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1103,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:1103,3'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1103,3'
          Dst:             sc_do_log
    - functionName:    asn1_decode_se_info
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1239
      functionLinenumberEnd: 1295
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          280
      EdgeCount:       53
      CyclomaticComplexity: 13
      functionsReached:
        - asn1_decode
        - calloc
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_init_oid
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1245,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:1247,8'
          Dst:             calloc
        - Src:             'asn1.c:1249,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:1249,3'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1249,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:1257,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1258,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1261,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1262,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1263,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1264,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1266,9'
          Dst:             asn1_decode
        - Src:             'asn1.c:1270,4'
          Dst:             sc_init_oid
        - Src:             'asn1.c:1272,14'
          Dst:             calloc
        - Src:             'asn1.c:1294,2'
          Dst:             sc_strerror
        - Src:             'asn1.c:1294,2'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1294,2'
          Dst:             sc_do_log
    - functionName:    asn1_decode
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1723
      functionLinenumberEnd: 1810
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         91
      ICount:          554
      EdgeCount:       120
      CyclomaticComplexity: 31
      functionsReached:
        - asn1_decode
        - asn1_decode_entry
        - sc_asn1_skip_tag
        - sc_do_log
        - sc_do_log_color
        - sc_free_entry
        - sc_strerror
        - sprintf
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1729,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:1741,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:1752,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:1758,8'
          Dst:             asn1_decode
        - Src:             'asn1.c:1771,9'
          Dst:             sc_asn1_skip_tag
        - Src:             'asn1.c:1773,4'
          Dst:             sc_do_log
        - Src:             'asn1.c:1778,4'
          Dst:             sc_do_log
        - Src:             'asn1.c:1785,6'
          Dst:             sprintf
        - Src:             'asn1.c:1788,5'
          Dst:             sc_do_log
        - Src:             'asn1.c:1790,4'
          Dst:             sc_free_entry
        - Src:             'asn1.c:1791,4'
          Dst:             sc_strerror
        - Src:             'asn1.c:1791,4'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1791,4'
          Dst:             sc_do_log
        - Src:             'asn1.c:1793,7'
          Dst:             asn1_decode_entry
        - Src:             'asn1.c:1802,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:1802,3'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1802,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:1808,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:1808,3'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1808,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:1809,2'
          Dst:             sc_strerror
        - Src:             'asn1.c:1809,2'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:1809,2'
          Dst:             sc_do_log
    - functionName:    sc_asn1_skip_tag
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 520
      functionLinenumberEnd: 564
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          211
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - sc_asn1_read_tag
        - sc_do_log
      functionUses:    8
      BranchProfiles:
        - Branch String:   'asn1.c:528,2'
          Branch Sides:    []
      Callsites:
        - Src:             'asn1.c:525,6'
          Dst:             sc_asn1_read_tag
        - Src:             'asn1.c:556,3'
          Dst:             sc_do_log
    - functionName:    sc_free_entry
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1688
      functionLinenumberEnd: 1718
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          136
      EdgeCount:       30
      CyclomaticComplexity: 5
      functionsReached:
        - sc_free_entry
      functionUses:    2
      BranchProfiles:
        - Branch String:   'asn1.c:1697,3'
          Branch Sides:    []
      Callsites:
        - Src:             'asn1.c:1700,4'
          Dst:             sc_free_entry
    - functionName:    asn1_decode_entry
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1486
      functionLinenumberEnd: 1686
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         145
      ICount:          831
      EdgeCount:       187
      CyclomaticComplexity: 44
      functionsReached:
        - asn1_decode
        - asn1_decode_p15_object
        - asn1_decode_path
        - asn1_decode_se_info
        - decode_bit_field
        - decode_bit_string
        - sc_asn1_decode_algorithm_id
        - sc_asn1_decode_integer
        - sc_asn1_decode_object_id
        - sc_asn1_decode_utf8string
        - sc_do_log
        - sc_dump_hex
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'asn1.c:1500,2'
          Branch Sides:    []
      Callsites:
        - Src:             'asn1.c:1495,2'
          Dst:             sc_dump_hex
        - Src:             'asn1.c:1495,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:1503,8'
          Dst:             asn1_decode
        - Src:             'asn1.c:1511,5'
          Dst:             sc_do_log
        - Src:             'asn1.c:1520,8'
          Dst:             sc_asn1_decode_integer
        - Src:             'asn1.c:1522,5'
          Dst:             sc_do_log
        - Src:             'asn1.c:1551,8'
          Dst:             decode_bit_string
        - Src:             'asn1.c:1560,8'
          Dst:             decode_bit_field
        - Src:             'asn1.c:1623,8'
          Dst:             sc_asn1_decode_object_id
        - Src:             'asn1.c:1640,8'
          Dst:             sc_asn1_decode_utf8string
        - Src:             'asn1.c:1648,8'
          Dst:             asn1_decode_path
        - Src:             'asn1.c:1661,8'
          Dst:             asn1_decode_p15_object
        - Src:             'asn1.c:1665,8'
          Dst:             sc_asn1_decode_algorithm_id
        - Src:             'asn1.c:1669,8'
          Dst:             asn1_decode_se_info
        - Src:             'asn1.c:1676,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:1680,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:1680,3'
          Dst:             sc_do_log
    - functionName:    sc_asn1_decode_integer
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 729
      functionLinenumberEnd: 768
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          232
      EdgeCount:       57
      CyclomaticComplexity: 17
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_bit_string
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 574
      functionLinenumberEnd: 631
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          225
      EdgeCount:       45
      CyclomaticComplexity: 13
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_bit_field
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 687
      functionLinenumberEnd: 704
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          87
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - decode_bit_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:695,6'
          Dst:             decode_bit_string
    - functionName:    sc_asn1_decode_object_id
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 829
      functionLinenumberEnd: 901
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          276
      EdgeCount:       57
      CyclomaticComplexity: 17
      functionsReached:
        - sc_init_oid
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:838,2'
          Dst:             sc_init_oid
        - Src:             'asn1.c:861,4'
          Dst:             sc_init_oid
        - Src:             'asn1.c:871,5'
          Dst:             sc_init_oid
        - Src:             'asn1.c:882,4'
          Dst:             sc_init_oid
        - Src:             'asn1.c:889,4'
          Dst:             sc_init_oid
        - Src:             'asn1.c:894,4'
          Dst:             sc_init_oid
    - functionName:    sc_asn1_decode_utf8string
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 963
      functionLinenumberEnd: 970
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          43
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    asn1_decode_path
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1145
      functionLinenumberEnd: 1203
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          229
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - asn1_decode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1153,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1154,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1156,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1157,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1159,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1160,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1161,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1162,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1164,6'
          Dst:             asn1_decode
    - functionName:    asn1_decode_p15_object
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1391
      functionLinenumberEnd: 1425
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          169
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - asn1_decode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1401,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1402,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1405,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1406,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:1407,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1408,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1409,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1410,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1413,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1414,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1415,3'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1417,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1419,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1420,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1421,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1422,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:1424,6'
          Dst:             asn1_decode
    - functionName:    sc_asn1_read_tag
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 134
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          278
      EdgeCount:       56
      CyclomaticComplexity: 16
      functionsReached: []
      functionUses:    34
      BranchProfiles:  []
      Callsites:       []
    - functionName:    print_ascii
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 197
      functionLinenumberEnd: 204
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          60
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - __ctype_b_loc
        - printf
        - putchar
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:199,7'
          Dst:             __ctype_b_loc
        - Src:             'asn1.c:200,4'
          Dst:             printf
        - Src:             'asn1.c:202,4'
          Dst:             putchar
    - functionName:    printf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    33
      BranchProfiles:  []
      Callsites:       []
    - functionName:    putchar
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    12
      BranchProfiles:  []
      Callsites:       []
    - functionName:    openssl_print_object_sn
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 276
      functionLinenumberEnd: 285
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          46
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ASN1_OBJECT_free
        - OBJ_nid2sn
        - OBJ_obj2nid
        - OBJ_txt2obj
        - printf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:277,21'
          Dst:             OBJ_txt2obj
        - Src:             'asn1.c:279,13'
          Dst:             OBJ_obj2nid
        - Src:             'asn1.c:281,19'
          Dst:             OBJ_nid2sn
        - Src:             'asn1.c:281,4'
          Dst:             printf
        - Src:             'asn1.c:283,3'
          Dst:             ASN1_OBJECT_free
    - functionName:    OBJ_txt2obj
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    OBJ_obj2nid
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    21
      BranchProfiles:  []
      Callsites:       []
    - functionName:    OBJ_nid2sn
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ASN1_OBJECT_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    print_hex
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 164
      functionLinenumberEnd: 194
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          124
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - print_indent
        - printf
        - putchar
        - sc_hex_dump
        - strchr
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:174,2'
          Dst:             sc_hex_dump
        - Src:             'asn1.c:177,20'
          Dst:             strchr
        - Src:             'asn1.c:184,4'
          Dst:             putchar
        - Src:             'asn1.c:185,4'
          Dst:             print_indent
        - Src:             'asn1.c:187,4'
          Dst:             printf
        - Src:             'asn1.c:189,3'
          Dst:             printf
    - functionName:    print_indent
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 157
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          30
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - putchar
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:159,3'
          Dst:             putchar
    - functionName:    sc_asn1_print_utctime
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 308
      functionLinenumberEnd: 349
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         38
      ICount:          256
      EdgeCount:       52
      CyclomaticComplexity: 16
      functionsReached:
        - __ctype_b_loc
        - print_ascii
        - printf
        - putchar
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:310,3'
          Dst:             printf
        - Src:             'asn1.c:314,2'
          Dst:             print_ascii
        - Src:             'asn1.c:315,2'
          Dst:             putchar
        - Src:             'asn1.c:316,2'
          Dst:             print_ascii
        - Src:             'asn1.c:317,2'
          Dst:             putchar
        - Src:             'asn1.c:318,2'
          Dst:             print_ascii
        - Src:             'asn1.c:319,2'
          Dst:             putchar
        - Src:             'asn1.c:320,2'
          Dst:             print_ascii
        - Src:             'asn1.c:323,21'
          Dst:             __ctype_b_loc
        - Src:             'asn1.c:323,40'
          Dst:             __ctype_b_loc
        - Src:             'asn1.c:324,3'
          Dst:             putchar
        - Src:             'asn1.c:325,3'
          Dst:             print_ascii
        - Src:             'asn1.c:329,21'
          Dst:             __ctype_b_loc
        - Src:             'asn1.c:329,40'
          Dst:             __ctype_b_loc
        - Src:             'asn1.c:330,3'
          Dst:             putchar
        - Src:             'asn1.c:331,3'
          Dst:             print_ascii
        - Src:             'asn1.c:336,3'
          Dst:             print_ascii
        - Src:             'asn1.c:342,3'
          Dst:             printf
        - Src:             'asn1.c:344,3'
          Dst:             putchar
        - Src:             'asn1.c:345,3'
          Dst:             print_ascii
        - Src:             'asn1.c:346,3'
          Dst:             putchar
        - Src:             'asn1.c:347,3'
          Dst:             print_ascii
    - functionName:    sc_asn1_print_generalizedtime
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 352
      functionLinenumberEnd: 360
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - print_ascii
        - printf
        - sc_asn1_print_utctime
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:354,3'
          Dst:             printf
        - Src:             'asn1.c:358,2'
          Dst:             print_ascii
        - Src:             'asn1.c:359,2'
          Dst:             sc_asn1_print_utctime
    - functionName:    sc_asn1_print_boolean
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 234
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          39
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - printf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:239,3'
          Dst:             printf
        - Src:             'asn1.c:241,3'
          Dst:             printf
    - functionName:    sc_asn1_print_utf8string
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 212
      functionLinenumberEnd: 215
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - print_ascii
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:214,2'
          Dst:             print_ascii
    - functionName:    sc_asn1_print_integer
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 218
      functionLinenumberEnd: 231
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          62
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - printf
        - sc_dump_hex
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:222,18'
          Dst:             sc_dump_hex
        - Src:             'asn1.c:222,3'
          Dst:             printf
        - Src:             'asn1.c:229,3'
          Dst:             printf
    - functionName:    sc_asn1_print_object_id
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 293
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - openssl_print_object_sn
        - printf
        - sc_asn1_decode_object_id
        - sc_dump_oid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:297,6'
          Dst:             sc_asn1_decode_object_id
        - Src:             'asn1.c:298,3'
          Dst:             printf
        - Src:             'asn1.c:302,9'
          Dst:             sc_dump_oid
        - Src:             'asn1.c:303,2'
          Dst:             printf
        - Src:             'asn1.c:304,2'
          Dst:             openssl_print_object_sn
    - functionName:    sc_asn1_print_octet_string
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 207
      functionLinenumberEnd: 209
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - print_hex
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:208,2'
          Dst:             print_hex
    - functionName:    sc_asn1_print_bit_string
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 245
      functionLinenumberEnd: 270
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          93
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - print_hex
        - printf
        - sc_asn1_decode_bit_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:254,3'
          Dst:             print_hex
        - Src:             'asn1.c:256,7'
          Dst:             sc_asn1_decode_bit_string
        - Src:             'asn1.c:258,4'
          Dst:             printf
        - Src:             'asn1.c:260,8'
          Dst:             sc_asn1_decode_bit_string
        - Src:             'asn1.c:262,5'
          Dst:             printf
        - Src:             'asn1.c:267,4'
          Dst:             printf
    - functionName:    sc_asn1_decode_bit_string
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 635
      functionLinenumberEnd: 636
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - decode_bit_string
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:636,9'
          Dst:             decode_bit_string
    - functionName:    tag2str
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 60
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          26
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_asn1_decode_ecdsa_signature
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2235
      functionLinenumberEnd: 2282
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         80
      ICount:          426
      EdgeCount:       104
      CyclomaticComplexity: 26
      functionsReached:
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:2242,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:2242,3'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2242,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:2245,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:2245,3'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2251,6'
          Dst:             sc_asn1_read_tag
        - Src:             'asn1.c:2253,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:2253,3'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2258,7'
          Dst:             sc_asn1_read_tag
        - Src:             'asn1.c:2261,4'
          Dst:             sc_strerror
        - Src:             'asn1.c:2261,4'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2267,5'
          Dst:             sc_strerror
        - Src:             'asn1.c:2267,5'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2274,4'
          Dst:             sc_strerror
        - Src:             'asn1.c:2274,4'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2281,2'
          Dst:             sc_strerror
        - Src:             'asn1.c:2281,2'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2281,2'
          Dst:             sc_do_log
    - functionName:    sc_asn1_sig_value_sequence_to_rs
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2192
      functionLinenumberEnd: 2233
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          246
      EdgeCount:       46
      CyclomaticComplexity: 11
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:2199,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:2201,3'
          Dst:             sc_strerror
        - Src:             'asn1.c:2201,3'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2201,3'
          Dst:             sc_do_log
        - Src:             'asn1.c:2203,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:2204,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:2206,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:2207,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:2208,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:2210,7'
          Dst:             sc_asn1_decode
        - Src:             'asn1.c:2211,2'
          Dst:             sc_strerror
        - Src:             'asn1.c:2211,2'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2224,2'
          Dst:             sc_dump_hex
        - Src:             'asn1.c:2224,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:2225,2'
          Dst:             sc_dump_hex
        - Src:             'asn1.c:2225,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:2232,2'
          Dst:             sc_strerror
        - Src:             'asn1.c:2232,2'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2232,2'
          Dst:             sc_do_log
    - functionName:    sc_asn1_decode
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1814
      functionLinenumberEnd: 1815
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - asn1_decode
      functionUses:    32
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1815,9'
          Dst:             asn1_decode
    - functionName:    sc_asn1_sig_value_rs_to_sequence
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2156
      functionLinenumberEnd: 2186
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          180
      EdgeCount:       32
      CyclomaticComplexity: 8
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:2163,2'
          Dst:             sc_do_log
        - Src:             'asn1.c:2175,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:2176,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:2178,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:2179,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:2180,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:2182,7'
          Dst:             sc_asn1_encode
        - Src:             'asn1.c:2183,2'
          Dst:             sc_strerror
        - Src:             'asn1.c:2183,2'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2185,2'
          Dst:             sc_strerror
        - Src:             'asn1.c:2185,2'
          Dst:             sc_do_log_color
        - Src:             'asn1.c:2185,2'
          Dst:             sc_do_log
    - functionName:    sc_encode_oid
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2121
      functionLinenumberEnd: 2136
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          60
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:2129,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'asn1.c:2130,2'
          Dst:             sc_format_asn1_entry
        - Src:             'asn1.c:2132,7'
          Dst:             _sc_asn1_encode
        - Src:             'asn1.c:2133,2'
          Dst:             sc_strerror
        - Src:             'asn1.c:2133,2'
          Dst:             sc_do_log_color
    - functionName:    _sc_asn1_encode
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2088
      functionLinenumberEnd: 2089
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - asn1_encode
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:2089,9'
          Dst:             asn1_encode
    - functionName:    sc_der_copy
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2102
      functionLinenumberEnd: 2116
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          94
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _sc_asn1_decode
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2096
      functionLinenumberEnd: 2097
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - asn1_decode
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:2097,9'
          Dst:             asn1_decode
    - functionName:    sc_asn1_decode_choice
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1820
      functionLinenumberEnd: 1821
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - asn1_decode
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1821,9'
          Dst:             asn1_decode
    - functionName:    sc_asn1_write_element
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1045
      functionLinenumberEnd: 1046
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - asn1_write_element
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:1046,9'
          Dst:             asn1_write_element
    - functionName:    sc_asn1_put_tag
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 976
      functionLinenumberEnd: 1041
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          320
      EdgeCount:       73
      CyclomaticComplexity: 20
      functionsReached: []
      functionUses:    139
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_asn1_decode_bit_string_ni
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 641
      functionLinenumberEnd: 642
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - decode_bit_string
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:642,9'
          Dst:             decode_bit_string
    - functionName:    sc_asn1_verify_tag
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 568
      functionLinenumberEnd: 569
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_asn1_skip_tag
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:569,9'
          Dst:             sc_asn1_skip_tag
    - functionName:    sc_asn1_find_tag
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 482
      functionLinenumberEnd: 516
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          128
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - sc_asn1_read_tag
      functionUses:    142
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:492,7'
          Dst:             sc_asn1_read_tag
    - functionName:    print_tags_recursive
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 364
      functionLinenumberEnd: 473
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          410
      EdgeCount:       83
      CyclomaticComplexity: 18
      functionsReached:
        - print_hex
        - print_indent
        - print_tags_recursive
        - printf
        - putchar
        - sc_asn1_print_bit_string
        - sc_asn1_print_boolean
        - sc_asn1_print_generalizedtime
        - sc_asn1_print_integer
        - sc_asn1_print_object_id
        - sc_asn1_print_octet_string
        - sc_asn1_print_utctime
        - sc_asn1_print_utf8string
        - sc_asn1_read_tag
        - tag2str
      functionUses:    2
      BranchProfiles:
        - Branch String:   'asn1.c:425,3'
          Branch Sides:    []
      Callsites:
        - Src:             'asn1.c:382,7'
          Dst:             sc_asn1_read_tag
        - Src:             'asn1.c:384,4'
          Dst:             printf
        - Src:             'asn1.c:389,4'
          Dst:             printf
        - Src:             'asn1.c:392,3'
          Dst:             print_indent
        - Src:             'asn1.c:398,3'
          Dst:             printf
        - Src:             'asn1.c:401,18'
          Dst:             tag2str
        - Src:             'asn1.c:401,4'
          Dst:             printf
        - Src:             'asn1.c:403,4'
          Dst:             printf
        - Src:             'asn1.c:409,4'
          Dst:             printf
        - Src:             'asn1.c:413,4'
          Dst:             printf
        - Src:             'asn1.c:420,4'
          Dst:             putchar
        - Src:             'asn1.c:421,4'
          Dst:             print_tags_recursive
        - Src:             'asn1.c:427,5'
          Dst:             printf
        - Src:             'asn1.c:428,5'
          Dst:             sc_asn1_print_bit_string
        - Src:             'asn1.c:431,5'
          Dst:             sc_asn1_print_octet_string
        - Src:             'asn1.c:434,5'
          Dst:             printf
        - Src:             'asn1.c:435,5'
          Dst:             sc_asn1_print_object_id
        - Src:             'asn1.c:439,5'
          Dst:             printf
        - Src:             'asn1.c:440,5'
          Dst:             sc_asn1_print_integer
        - Src:             'asn1.c:446,5'
          Dst:             printf
        - Src:             'asn1.c:447,5'
          Dst:             sc_asn1_print_utf8string
        - Src:             'asn1.c:450,5'
          Dst:             printf
        - Src:             'asn1.c:451,5'
          Dst:             sc_asn1_print_boolean
        - Src:             'asn1.c:454,5'
          Dst:             printf
        - Src:             'asn1.c:455,5'
          Dst:             sc_asn1_print_generalizedtime
        - Src:             'asn1.c:458,5'
          Dst:             printf
        - Src:             'asn1.c:459,5'
          Dst:             sc_asn1_print_utctime
        - Src:             'asn1.c:464,4'
          Dst:             print_hex
        - Src:             'asn1.c:468,4'
          Dst:             print_hex
        - Src:             'asn1.c:471,3'
          Dst:             putchar
    - functionName:    sc_asn1_print_tags
      functionSourceFile: '/src/opensc/src/libopensc/asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 476
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - print_tags_recursive
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'asn1.c:477,2'
          Dst:             print_tags_recursive
    - functionName:    sc_decrypt_sym
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 367
      functionLinenumberEnd: 378
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          135
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:373,2'
          Dst:             sc_do_log
        - Src:             'sec.c:375,3'
          Dst:             sc_strerror
        - Src:             'sec.c:375,3'
          Dst:             sc_do_log_color
        - Src:             'sec.c:375,3'
          Dst:             sc_do_log
        - Src:             'sec.c:377,2'
          Dst:             sc_strerror
        - Src:             'sec.c:377,2'
          Dst:             sc_do_log_color
        - Src:             'sec.c:377,2'
          Dst:             sc_do_log
    - functionName:    sc_encrypt_sym
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 351
      functionLinenumberEnd: 362
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          135
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:357,2'
          Dst:             sc_do_log
        - Src:             'sec.c:359,3'
          Dst:             sc_strerror
        - Src:             'sec.c:359,3'
          Dst:             sc_do_log_color
        - Src:             'sec.c:359,3'
          Dst:             sc_do_log
        - Src:             'sec.c:361,2'
          Dst:             sc_strerror
        - Src:             'sec.c:361,2'
          Dst:             sc_do_log_color
        - Src:             'sec.c:361,2'
          Dst:             sc_do_log
    - functionName:    sc_build_pin
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 346
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         76
      ICount:          478
      EdgeCount:       102
      CyclomaticComplexity: 28
      functionsReached:
        - __ctype_b_loc
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:311,9'
          Dst:             __ctype_b_loc
    - functionName:    sc_reset_retry_counter
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 181
      functionLinenumberEnd: 193
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          53
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pin_cmd
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:193,9'
          Dst:             sc_pin_cmd
    - functionName:    sc_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         40
      ICount:          324
      EdgeCount:       49
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    19
      BranchProfiles:
        - Branch String:   'sec.c:225,3'
          Branch Sides:    []
      Callsites:
        - Src:             'sec.c:210,2'
          Dst:             sc_do_log
        - Src:             'sec.c:258,4'
          Dst:             sc_do_log
        - Src:             'sec.c:261,3'
          Dst:             sc_do_log
        - Src:             'sec.c:266,2'
          Dst:             sc_strerror
        - Src:             'sec.c:266,2'
          Dst:             sc_do_log_color
        - Src:             'sec.c:266,2'
          Dst:             sc_do_log
    - functionName:    sc_change_reference_data
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 159
      functionLinenumberEnd: 175
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          74
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pin_cmd
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:171,10'
          Dst:             sc_pin_cmd
    - functionName:    sc_logout
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 149
      functionLinenumberEnd: 153
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_verify
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 131
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          62
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pin_cmd
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:141,10'
          Dst:             sc_pin_cmd
    - functionName:    sc_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 116
      functionLinenumberEnd: 127
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          126
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:122,2'
          Dst:             sc_do_log
        - Src:             'sec.c:124,3'
          Dst:             sc_strerror
        - Src:             'sec.c:124,3'
          Dst:             sc_do_log_color
        - Src:             'sec.c:124,3'
          Dst:             sc_do_log
        - Src:             'sec.c:126,2'
          Dst:             sc_strerror
        - Src:             'sec.c:126,2'
          Dst:             sc_do_log_color
        - Src:             'sec.c:126,2'
          Dst:             sc_do_log
    - functionName:    sc_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 102
      functionLinenumberEnd: 113
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          129
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:108,2'
          Dst:             sc_do_log
        - Src:             'sec.c:110,3'
          Dst:             sc_strerror
        - Src:             'sec.c:110,3'
          Dst:             sc_do_log_color
        - Src:             'sec.c:110,3'
          Dst:             sc_do_log
        - Src:             'sec.c:112,9'
          Dst:             sc_strerror
        - Src:             'sec.c:112,9'
          Dst:             sc_do_log_color
        - Src:             'sec.c:112,9'
          Dst:             sc_do_log
    - functionName:    sc_wrap
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 97
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          133
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:92,2'
          Dst:             sc_do_log
        - Src:             'sec.c:94,3'
          Dst:             sc_strerror
        - Src:             'sec.c:94,3'
          Dst:             sc_do_log_color
        - Src:             'sec.c:94,3'
          Dst:             sc_do_log
        - Src:             'sec.c:96,2'
          Dst:             sc_strerror
        - Src:             'sec.c:96,2'
          Dst:             sc_do_log_color
        - Src:             'sec.c:96,2'
          Dst:             sc_do_log
    - functionName:    sc_unwrap
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 82
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          141
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:77,2'
          Dst:             sc_do_log
        - Src:             'sec.c:79,3'
          Dst:             sc_strerror
        - Src:             'sec.c:79,3'
          Dst:             sc_do_log_color
        - Src:             'sec.c:79,3'
          Dst:             sc_do_log
        - Src:             'sec.c:81,2'
          Dst:             sc_strerror
        - Src:             'sec.c:81,2'
          Dst:             sc_do_log_color
        - Src:             'sec.c:81,2'
          Dst:             sc_do_log
    - functionName:    sc_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 56
      functionLinenumberEnd: 67
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          135
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:62,2'
          Dst:             sc_do_log
        - Src:             'sec.c:64,3'
          Dst:             sc_strerror
        - Src:             'sec.c:64,3'
          Dst:             sc_do_log_color
        - Src:             'sec.c:64,3'
          Dst:             sc_do_log
        - Src:             'sec.c:66,9'
          Dst:             sc_strerror
        - Src:             'sec.c:66,9'
          Dst:             sc_do_log_color
        - Src:             'sec.c:66,9'
          Dst:             sc_do_log
    - functionName:    sc_decipher
      functionSourceFile: '/src/opensc/src/libopensc/sec.c'
      linkageType:     InternalLinkage
      functionLinenumber: 37
      functionLinenumberEnd: 51
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          189
      EdgeCount:       38
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'sec.c:44,3'
          Dst:             sc_strerror
        - Src:             'sec.c:44,3'
          Dst:             sc_do_log_color
        - Src:             'sec.c:44,3'
          Dst:             sc_do_log
        - Src:             'sec.c:46,2'
          Dst:             sc_do_log
        - Src:             'sec.c:48,3'
          Dst:             sc_strerror
        - Src:             'sec.c:48,3'
          Dst:             sc_do_log_color
        - Src:             'sec.c:48,3'
          Dst:             sc_do_log
        - Src:             'sec.c:50,9'
          Dst:             sc_strerror
        - Src:             'sec.c:50,9'
          Dst:             sc_do_log_color
        - Src:             'sec.c:50,9'
          Dst:             sc_do_log
    - functionName:    sc_card_sm_load
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1524
      functionLinenumberEnd: 1608
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          331
      EdgeCount:       67
      CyclomaticComplexity: 18
      functionsReached:
        - sc_card_sm_unload
        - sc_dlerror
        - sc_dlopen
        - sc_dlsym
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - snprintf
        - strdup
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1538,2'
          Dst:             sc_do_log
        - Src:             'card.c:1540,10'
          Dst:             sc_card_sm_unload
        - Src:             'card.c:1542,2'
          Dst:             sc_do_log
        - Src:             'card.c:1543,21'
          Dst:             strlen
        - Src:             'card.c:1544,15'
          Dst:             strlen
        - Src:             'card.c:1544,35'
          Dst:             strlen
        - Src:             'card.c:1547,4'
          Dst:             snprintf
        - Src:             'card.c:1550,12'
          Dst:             strdup
        - Src:             'card.c:1556,2'
          Dst:             sc_do_log
        - Src:             'card.c:1561,32'
          Dst:             sc_dlopen
        - Src:             'card.c:1563,4'
          Dst:             sc_dlerror
        - Src:             'card.c:1563,4'
          Dst:             sc_do_log
        - Src:             'card.c:1568,25'
          Dst:             sc_dlsym
        - Src:             'card.c:1570,4'
          Dst:             sc_dlerror
        - Src:             'card.c:1570,4'
          Dst:             sc_do_log
        - Src:             'card.c:1574,25'
          Dst:             sc_dlsym
        - Src:             'card.c:1576,4'
          Dst:             sc_dlerror
        - Src:             'card.c:1576,4'
          Dst:             sc_do_log
        - Src:             'card.c:1580,24'
          Dst:             sc_dlsym
        - Src:             'card.c:1582,4'
          Dst:             sc_do_log
        - Src:             'card.c:1584,27'
          Dst:             sc_dlsym
        - Src:             'card.c:1586,4'
          Dst:             sc_do_log
        - Src:             'card.c:1588,30'
          Dst:             sc_dlsym
        - Src:             'card.c:1590,4'
          Dst:             sc_do_log
        - Src:             'card.c:1592,20'
          Dst:             sc_dlsym
        - Src:             'card.c:1594,4'
          Dst:             sc_do_log
        - Src:             'card.c:1601,3'
          Dst:             sc_card_sm_unload
        - Src:             'card.c:1607,2'
          Dst:             sc_strerror
        - Src:             'card.c:1607,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:1607,2'
          Dst:             sc_do_log
    - functionName:    sc_card_sm_unload
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1511
      functionLinenumberEnd: 1518
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          67
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_dlclose
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1516,3'
          Dst:             sc_dlclose
    - functionName:    sc_match_atr_block
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1504
      functionLinenumberEnd: 1505
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_match_atr_block
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1505,9'
          Dst:             _sc_match_atr_block
    - functionName:    _sc_match_atr_block
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1347
      functionLinenumberEnd: 1374
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          120
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - match_atr_table
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1357,9'
          Dst:             match_atr_table
        - Src:             'card.c:1367,10'
          Dst:             match_atr_table
    - functionName:    match_atr_table
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1270
      functionLinenumberEnd: 1330
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          245
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - memcmp
        - sc_bin_to_hex
        - sc_do_log
        - sc_hex_to_bin
        - strlen
        - strncasecmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1281,2'
          Dst:             sc_bin_to_hex
        - Src:             'card.c:1282,21'
          Dst:             strlen
        - Src:             'card.c:1284,2'
          Dst:             sc_do_log
        - Src:             'card.c:1289,21'
          Dst:             strlen
        - Src:             'card.c:1295,3'
          Dst:             sc_do_log
        - Src:             'card.c:1298,4'
          Dst:             sc_do_log
        - Src:             'card.c:1302,4'
          Dst:             sc_do_log
        - Src:             'card.c:1304,15'
          Dst:             strlen
        - Src:             'card.c:1308,4'
          Dst:             sc_hex_to_bin
        - Src:             'card.c:1310,4'
          Dst:             sc_hex_to_bin
        - Src:             'card.c:1312,5'
          Dst:             sc_do_log
        - Src:             'card.c:1321,8'
          Dst:             memcmp
        - Src:             'card.c:1324,8'
          Dst:             strncasecmp
    - functionName:    sc_copy_ec_params
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1475
      functionLinenumberEnd: 1500
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          160
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - strdup
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1481,22'
          Dst:             strdup
    - functionName:    sc_clear_ec_params
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1465
      functionLinenumberEnd: 1471
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_get_conf_block
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1445
      functionLinenumberEnd: 1460
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          95
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - scconf_find_blocks
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1452,12'
          Dst:             scconf_find_blocks
    - functionName:    _sc_free_atr
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1420
      functionLinenumberEnd: 1440
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          119
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _sc_add_atr
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1377
      functionLinenumberEnd: 1416
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          169
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - realloc
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1380,32'
          Dst:             realloc
        - Src:             'card.c:1389,13'
          Dst:             strdup
        - Src:             'card.c:1394,18'
          Dst:             strdup
        - Src:             'card.c:1403,15'
          Dst:             strdup
    - functionName:    sc_card_find_gostr3410_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1265
      functionLinenumberEnd: 1266
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_card_find_alg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1266,9'
          Dst:             sc_card_find_alg
    - functionName:    sc_card_find_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1201
      functionLinenumberEnd: 1218
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          138
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - sc_compare_oid
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1210,8'
          Dst:             sc_compare_oid
    - functionName:    sc_card_find_rsa_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1260
      functionLinenumberEnd: 1261
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_card_find_alg
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1261,9'
          Dst:             sc_card_find_alg
    - functionName:    _sc_card_add_rsa_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1240
      functionLinenumberEnd: 1256
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          88
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_card_add_algorithm
      functionUses:    144
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1256,9'
          Dst:             _sc_card_add_algorithm
    - functionName:    _sc_card_add_algorithm
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1111
      functionLinenumberEnd: 1126
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          69
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - realloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1117,30'
          Dst:             realloc
    - functionName:    sc_card_find_xeddsa_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1234
      functionLinenumberEnd: 1235
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_card_find_alg
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1235,9'
          Dst:             sc_card_find_alg
    - functionName:    sc_card_find_eddsa_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1228
      functionLinenumberEnd: 1229
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_card_find_alg
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1229,9'
          Dst:             sc_card_find_alg
    - functionName:    sc_card_find_ec_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1222
      functionLinenumberEnd: 1223
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_card_find_alg
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1223,9'
          Dst:             sc_card_find_alg
    - functionName:    _sc_card_add_xeddsa_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1193
      functionLinenumberEnd: 1196
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_card_add_ec_alg_int
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1195,9'
          Dst:             _sc_card_add_ec_alg_int
    - functionName:    _sc_card_add_ec_alg_int
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1146
      functionLinenumberEnd: 1171
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          136
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_card_add_algorithm
        - sc_clear_ec_params
        - sc_do_log_color
        - sc_encode_oid
        - sc_init_oid
        - sc_pkcs15_fix_ec_parameters
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1151,2'
          Dst:             sc_init_oid
        - Src:             'card.c:1160,7'
          Dst:             sc_encode_oid
        - Src:             'card.c:1161,3'
          Dst:             sc_strerror
        - Src:             'card.c:1161,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1162,7'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'card.c:1163,3'
          Dst:             sc_strerror
        - Src:             'card.c:1163,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1166,6'
          Dst:             _sc_card_add_algorithm
        - Src:             'card.c:1169,2'
          Dst:             sc_clear_ec_params
    - functionName:    _sc_card_add_eddsa_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1184
      functionLinenumberEnd: 1187
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_card_add_ec_alg_int
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1186,9'
          Dst:             _sc_card_add_ec_alg_int
    - functionName:    _sc_card_add_ec_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1176
      functionLinenumberEnd: 1178
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_card_add_ec_alg_int
      functionUses:    36
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1177,9'
          Dst:             _sc_card_add_ec_alg_int
    - functionName:    _sc_card_add_symmetric_alg
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1130
      functionLinenumberEnd: 1138
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          33
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_card_add_algorithm
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1138,9'
          Dst:             _sc_card_add_algorithm
    - functionName:    sc_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1091
      functionLinenumberEnd: 1108
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          112
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    130
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1097,2'
          Dst:             sc_do_log
        - Src:             'card.c:1104,3'
          Dst:             sc_do_log
        - Src:             'card.c:1107,2'
          Dst:             sc_strerror
        - Src:             'card.c:1107,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:1107,2'
          Dst:             sc_do_log
    - functionName:    sc_delete_record
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1073
      functionLinenumberEnd: 1087
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          126
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1079,2'
          Dst:             sc_do_log
        - Src:             'card.c:1082,3'
          Dst:             sc_strerror
        - Src:             'card.c:1082,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1082,3'
          Dst:             sc_do_log
        - Src:             'card.c:1086,2'
          Dst:             sc_strerror
        - Src:             'card.c:1086,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:1086,2'
          Dst:             sc_do_log
    - functionName:    sc_update_record
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1027
      functionLinenumberEnd: 1070
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         68
      ICount:          409
      EdgeCount:       86
      CyclomaticComplexity: 20
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_max_send_size
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1028,18'
          Dst:             sc_get_max_send_size
        - Src:             'card.c:1035,2'
          Dst:             sc_do_log
        - Src:             'card.c:1037,3'
          Dst:             sc_strerror
        - Src:             'card.c:1037,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1037,3'
          Dst:             sc_do_log
        - Src:             'card.c:1040,3'
          Dst:             sc_strerror
        - Src:             'card.c:1040,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1040,3'
          Dst:             sc_do_log
        - Src:             'card.c:1043,6'
          Dst:             sc_lock
        - Src:             'card.c:1044,2'
          Dst:             sc_strerror
        - Src:             'card.c:1044,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:1053,4'
          Dst:             sc_unlock
        - Src:             'card.c:1054,4'
          Dst:             sc_strerror
        - Src:             'card.c:1054,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:1054,4'
          Dst:             sc_do_log
        - Src:             'card.c:1058,4'
          Dst:             sc_unlock
        - Src:             'card.c:1059,4'
          Dst:             sc_strerror
        - Src:             'card.c:1059,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:1059,4'
          Dst:             sc_do_log
        - Src:             'card.c:1067,2'
          Dst:             sc_unlock
        - Src:             'card.c:1069,2'
          Dst:             sc_strerror
        - Src:             'card.c:1069,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:1069,2'
          Dst:             sc_do_log
    - functionName:    sc_get_max_send_size
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 213
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          122
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    13
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_lock
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 456
      functionLinenumberEnd: 504
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         59
      ICount:          340
      EdgeCount:       78
      CyclomaticComplexity: 21
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_mutex_lock
        - sc_mutex_unlock
        - sc_strerror
      functionUses:    30
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:464,2'
          Dst:             sc_do_log
        - Src:             'card.c:466,6'
          Dst:             sc_mutex_lock
        - Src:             'card.c:484,7'
          Dst:             sc_mutex_unlock
        - Src:             'card.c:486,3'
          Dst:             sc_do_log
        - Src:             'card.c:500,4'
          Dst:             sc_do_log
        - Src:             'card.c:503,2'
          Dst:             sc_strerror
        - Src:             'card.c:503,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:503,2'
          Dst:             sc_do_log
    - functionName:    sc_unlock
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 507
      functionLinenumberEnd: 534
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         36
      ICount:          214
      EdgeCount:       45
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_mutex_lock
        - sc_mutex_unlock
        - sc_strerror
      functionUses:    58
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:513,2'
          Dst:             sc_do_log
        - Src:             'card.c:515,6'
          Dst:             sc_mutex_lock
        - Src:             'card.c:517,3'
          Dst:             sc_strerror
        - Src:             'card.c:517,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:517,3'
          Dst:             sc_do_log
        - Src:             'card.c:520,3'
          Dst:             sc_strerror
        - Src:             'card.c:520,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:520,3'
          Dst:             sc_do_log
        - Src:             'card.c:527,7'
          Dst:             sc_mutex_unlock
        - Src:             'card.c:529,3'
          Dst:             sc_do_log
    - functionName:    sc_append_record
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1023
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          147
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1012,2'
          Dst:             sc_do_log
        - Src:             'card.c:1015,3'
          Dst:             sc_strerror
        - Src:             'card.c:1015,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1015,3'
          Dst:             sc_do_log
        - Src:             'card.c:1022,2'
          Dst:             sc_strerror
        - Src:             'card.c:1022,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:1022,2'
          Dst:             sc_do_log
    - functionName:    sc_write_record
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 985
      functionLinenumberEnd: 1002
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          150
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:991,2'
          Dst:             sc_do_log
        - Src:             'card.c:994,3'
          Dst:             sc_strerror
        - Src:             'card.c:994,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:994,3'
          Dst:             sc_do_log
        - Src:             'card.c:1001,2'
          Dst:             sc_strerror
        - Src:             'card.c:1001,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:1001,2'
          Dst:             sc_do_log
    - functionName:    sc_read_record
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 932
      functionLinenumberEnd: 981
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         73
      ICount:          435
      EdgeCount:       93
      CyclomaticComplexity: 22
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_max_recv_size
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:933,18'
          Dst:             sc_get_max_recv_size
        - Src:             'card.c:940,2'
          Dst:             sc_do_log
        - Src:             'card.c:942,3'
          Dst:             sc_strerror
        - Src:             'card.c:942,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:942,3'
          Dst:             sc_do_log
        - Src:             'card.c:945,3'
          Dst:             sc_strerror
        - Src:             'card.c:945,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:945,3'
          Dst:             sc_do_log
        - Src:             'card.c:948,6'
          Dst:             sc_lock
        - Src:             'card.c:949,2'
          Dst:             sc_strerror
        - Src:             'card.c:949,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:960,4'
          Dst:             sc_do_log
        - Src:             'card.c:964,4'
          Dst:             sc_unlock
        - Src:             'card.c:965,4'
          Dst:             sc_strerror
        - Src:             'card.c:965,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:965,4'
          Dst:             sc_do_log
        - Src:             'card.c:969,4'
          Dst:             sc_unlock
        - Src:             'card.c:970,4'
          Dst:             sc_strerror
        - Src:             'card.c:970,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:970,4'
          Dst:             sc_do_log
        - Src:             'card.c:978,2'
          Dst:             sc_unlock
        - Src:             'card.c:980,2'
          Dst:             sc_strerror
        - Src:             'card.c:980,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:980,2'
          Dst:             sc_do_log
    - functionName:    sc_get_max_recv_size
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 188
      functionLinenumberEnd: 210
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          106
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    23
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 893
      functionLinenumberEnd: 928
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          284
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:903,2'
          Dst:             sc_do_log
        - Src:             'card.c:906,3'
          Dst:             sc_strerror
        - Src:             'card.c:906,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:906,3'
          Dst:             sc_do_log
        - Src:             'card.c:908,6'
          Dst:             sc_lock
        - Src:             'card.c:910,3'
          Dst:             sc_strerror
        - Src:             'card.c:910,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:910,3'
          Dst:             sc_do_log
        - Src:             'card.c:917,4'
          Dst:             sc_unlock
        - Src:             'card.c:918,4'
          Dst:             sc_strerror
        - Src:             'card.c:918,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:918,4'
          Dst:             sc_do_log
        - Src:             'card.c:925,2'
          Dst:             sc_unlock
        - Src:             'card.c:927,2'
          Dst:             sc_strerror
        - Src:             'card.c:927,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:927,2'
          Dst:             sc_do_log
    - functionName:    sc_put_data
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 880
      functionLinenumberEnd: 890
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          123
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:883,2'
          Dst:             sc_do_log
        - Src:             'card.c:886,3'
          Dst:             sc_strerror
        - Src:             'card.c:886,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:886,3'
          Dst:             sc_do_log
        - Src:             'card.c:889,2'
          Dst:             sc_strerror
        - Src:             'card.c:889,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:889,2'
          Dst:             sc_do_log
    - functionName:    sc_get_data
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 868
      functionLinenumberEnd: 877
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          123
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:871,2'
          Dst:             sc_do_log
        - Src:             'card.c:873,3'
          Dst:             sc_strerror
        - Src:             'card.c:873,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:873,3'
          Dst:             sc_do_log
        - Src:             'card.c:876,2'
          Dst:             sc_strerror
        - Src:             'card.c:876,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:876,2'
          Dst:             sc_do_log
    - functionName:    sc_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 810
      functionLinenumberEnd: 864
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         72
      ICount:          427
      EdgeCount:       92
      CyclomaticComplexity: 22
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_path_print
        - sc_strerror
      functionUses:    215
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:818,6'
          Dst:             sc_path_print
        - Src:             'card.c:828,2'
          Dst:             sc_do_log
        - Src:             'card.c:830,3'
          Dst:             sc_strerror
        - Src:             'card.c:830,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:830,3'
          Dst:             sc_do_log
        - Src:             'card.c:837,4'
          Dst:             sc_strerror
        - Src:             'card.c:837,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:837,4'
          Dst:             sc_do_log
        - Src:             'card.c:844,5'
          Dst:             sc_strerror
        - Src:             'card.c:844,5'
          Dst:             sc_do_log_color
        - Src:             'card.c:844,5'
          Dst:             sc_do_log
        - Src:             'card.c:848,3'
          Dst:             sc_strerror
        - Src:             'card.c:848,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:848,3'
          Dst:             sc_do_log
        - Src:             'card.c:850,2'
          Dst:             sc_strerror
        - Src:             'card.c:850,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:863,2'
          Dst:             sc_strerror
        - Src:             'card.c:863,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:863,2'
          Dst:             sc_do_log
    - functionName:    sc_erase_binary
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 767
      functionLinenumberEnd: 806
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          369
      EdgeCount:       77
      CyclomaticComplexity: 18
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:774,2'
          Dst:             sc_do_log
        - Src:             'card.c:776,3'
          Dst:             sc_strerror
        - Src:             'card.c:776,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:776,3'
          Dst:             sc_do_log
        - Src:             'card.c:779,3'
          Dst:             sc_strerror
        - Src:             'card.c:779,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:779,3'
          Dst:             sc_do_log
        - Src:             'card.c:782,6'
          Dst:             sc_lock
        - Src:             'card.c:783,2'
          Dst:             sc_strerror
        - Src:             'card.c:783,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:790,4'
          Dst:             sc_unlock
        - Src:             'card.c:791,4'
          Dst:             sc_strerror
        - Src:             'card.c:791,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:791,4'
          Dst:             sc_do_log
        - Src:             'card.c:795,4'
          Dst:             sc_unlock
        - Src:             'card.c:796,4'
          Dst:             sc_strerror
        - Src:             'card.c:796,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:796,4'
          Dst:             sc_do_log
        - Src:             'card.c:803,2'
          Dst:             sc_unlock
        - Src:             'card.c:805,2'
          Dst:             sc_strerror
        - Src:             'card.c:805,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:805,2'
          Dst:             sc_do_log
    - functionName:    sc_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 712
      functionLinenumberEnd: 763
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         77
      ICount:          476
      EdgeCount:       98
      CyclomaticComplexity: 23
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_max_send_size
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    20
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:713,18'
          Dst:             sc_get_max_send_size
        - Src:             'card.c:720,2'
          Dst:             sc_do_log
        - Src:             'card.c:722,3'
          Dst:             sc_strerror
        - Src:             'card.c:722,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:722,3'
          Dst:             sc_do_log
        - Src:             'card.c:728,4'
          Dst:             sc_strerror
        - Src:             'card.c:728,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:728,4'
          Dst:             sc_do_log
        - Src:             'card.c:733,3'
          Dst:             sc_strerror
        - Src:             'card.c:733,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:733,3'
          Dst:             sc_do_log
        - Src:             'card.c:736,6'
          Dst:             sc_lock
        - Src:             'card.c:737,2'
          Dst:             sc_strerror
        - Src:             'card.c:737,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:746,4'
          Dst:             sc_unlock
        - Src:             'card.c:747,4'
          Dst:             sc_strerror
        - Src:             'card.c:747,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:747,4'
          Dst:             sc_do_log
        - Src:             'card.c:751,4'
          Dst:             sc_unlock
        - Src:             'card.c:752,4'
          Dst:             sc_strerror
        - Src:             'card.c:752,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:752,4'
          Dst:             sc_do_log
        - Src:             'card.c:760,2'
          Dst:             sc_unlock
        - Src:             'card.c:762,2'
          Dst:             sc_strerror
        - Src:             'card.c:762,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:762,2'
          Dst:             sc_do_log
    - functionName:    sc_write_binary
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 665
      functionLinenumberEnd: 708
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          406
      EdgeCount:       84
      CyclomaticComplexity: 20
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_max_send_size
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:666,18'
          Dst:             sc_get_max_send_size
        - Src:             'card.c:673,2'
          Dst:             sc_do_log
        - Src:             'card.c:675,3'
          Dst:             sc_strerror
        - Src:             'card.c:675,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:675,3'
          Dst:             sc_do_log
        - Src:             'card.c:678,3'
          Dst:             sc_strerror
        - Src:             'card.c:678,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:678,3'
          Dst:             sc_do_log
        - Src:             'card.c:681,6'
          Dst:             sc_lock
        - Src:             'card.c:682,2'
          Dst:             sc_strerror
        - Src:             'card.c:682,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:691,4'
          Dst:             sc_unlock
        - Src:             'card.c:692,4'
          Dst:             sc_strerror
        - Src:             'card.c:692,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:692,4'
          Dst:             sc_do_log
        - Src:             'card.c:696,4'
          Dst:             sc_unlock
        - Src:             'card.c:697,4'
          Dst:             sc_strerror
        - Src:             'card.c:697,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:697,4'
          Dst:             sc_do_log
        - Src:             'card.c:705,2'
          Dst:             sc_unlock
        - Src:             'card.c:707,2'
          Dst:             sc_strerror
        - Src:             'card.c:707,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:707,2'
          Dst:             sc_do_log
    - functionName:    sc_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 604
      functionLinenumberEnd: 661
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         82
      ICount:          502
      EdgeCount:       105
      CyclomaticComplexity: 25
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_max_recv_size
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    48
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:605,18'
          Dst:             sc_get_max_recv_size
        - Src:             'card.c:612,2'
          Dst:             sc_do_log
        - Src:             'card.c:614,3'
          Dst:             sc_strerror
        - Src:             'card.c:614,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:614,3'
          Dst:             sc_do_log
        - Src:             'card.c:620,4'
          Dst:             sc_strerror
        - Src:             'card.c:620,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:620,4'
          Dst:             sc_do_log
        - Src:             'card.c:625,3'
          Dst:             sc_strerror
        - Src:             'card.c:625,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:625,3'
          Dst:             sc_do_log
        - Src:             'card.c:628,6'
          Dst:             sc_lock
        - Src:             'card.c:629,2'
          Dst:             sc_strerror
        - Src:             'card.c:629,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:640,4'
          Dst:             sc_do_log
        - Src:             'card.c:644,4'
          Dst:             sc_unlock
        - Src:             'card.c:645,4'
          Dst:             sc_strerror
        - Src:             'card.c:645,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:645,4'
          Dst:             sc_do_log
        - Src:             'card.c:649,4'
          Dst:             sc_unlock
        - Src:             'card.c:650,4'
          Dst:             sc_strerror
        - Src:             'card.c:650,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:650,4'
          Dst:             sc_do_log
        - Src:             'card.c:658,2'
          Dst:             sc_unlock
        - Src:             'card.c:660,2'
          Dst:             sc_strerror
        - Src:             'card.c:660,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:660,2'
          Dst:             sc_do_log
    - functionName:    sc_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 582
      functionLinenumberEnd: 600
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          147
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_path_print
        - sc_strerror
      functionUses:    16
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:590,6'
          Dst:             sc_path_print
        - Src:             'card.c:594,2'
          Dst:             sc_do_log
        - Src:             'card.c:596,3'
          Dst:             sc_strerror
        - Src:             'card.c:596,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:596,3'
          Dst:             sc_do_log
        - Src:             'card.c:599,2'
          Dst:             sc_strerror
        - Src:             'card.c:599,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:599,2'
          Dst:             sc_do_log
    - functionName:    sc_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 553
      functionLinenumberEnd: 579
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          211
      EdgeCount:       40
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_path_print
        - sc_strerror
      functionUses:    29
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:563,6'
          Dst:             sc_path_print
        - Src:             'card.c:567,2'
          Dst:             sc_do_log
        - Src:             'card.c:572,3'
          Dst:             sc_strerror
        - Src:             'card.c:572,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:572,3'
          Dst:             sc_do_log
        - Src:             'card.c:575,3'
          Dst:             sc_strerror
        - Src:             'card.c:575,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:575,3'
          Dst:             sc_do_log
        - Src:             'card.c:578,2'
          Dst:             sc_strerror
        - Src:             'card.c:578,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:578,2'
          Dst:             sc_do_log
    - functionName:    sc_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 537
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          129
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:543,2'
          Dst:             sc_do_log
        - Src:             'card.c:546,3'
          Dst:             sc_strerror
        - Src:             'card.c:546,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:546,3'
          Dst:             sc_do_log
        - Src:             'card.c:549,2'
          Dst:             sc_strerror
        - Src:             'card.c:549,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:549,2'
          Dst:             sc_do_log
    - functionName:    sc_reset
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 432
      functionLinenumberEnd: 453
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          114
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_mutex_lock
        - sc_mutex_unlock
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:440,6'
          Dst:             sc_mutex_lock
        - Src:             'card.c:446,7'
          Dst:             sc_mutex_unlock
        - Src:             'card.c:448,3'
          Dst:             sc_do_log
    - functionName:    sc_disconnect_card
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 401
      functionLinenumberEnd: 429
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          151
      EdgeCount:       30
      CyclomaticComplexity: 8
      functionsReached:
        - sc_card_free
        - sc_card_sm_unload
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:408,2'
          Dst:             sc_do_log
        - Src:             'card.c:413,4'
          Dst:             sc_strerror
        - Src:             'card.c:413,4'
          Dst:             sc_do_log
        - Src:             'card.c:419,4'
          Dst:             sc_strerror
        - Src:             'card.c:419,4'
          Dst:             sc_do_log
        - Src:             'card.c:424,2'
          Dst:             sc_card_sm_unload
        - Src:             'card.c:427,2'
          Dst:             sc_card_free
        - Src:             'card.c:428,2'
          Dst:             sc_strerror
        - Src:             'card.c:428,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:428,2'
          Dst:             sc_do_log
    - functionName:    sc_card_free
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 156
      functionLinenumberEnd: 185
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          148
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - sc_clear_ec_params
        - sc_do_log
        - sc_free_apps
        - sc_free_ef_atr
        - sc_mem_clear
        - sc_mutex_destroy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:157,2'
          Dst:             sc_free_apps
        - Src:             'card.c:158,2'
          Dst:             sc_free_ef_atr
        - Src:             'card.c:169,5'
          Dst:             sc_clear_ec_params
        - Src:             'card.c:179,11'
          Dst:             sc_mutex_destroy
        - Src:             'card.c:181,4'
          Dst:             sc_do_log
        - Src:             'card.c:183,2'
          Dst:             sc_mem_clear
    - functionName:    sc_card_sm_check
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1614
      functionLinenumberEnd: 1699
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         82
      ICount:          505
      EdgeCount:       104
      CyclomaticComplexity: 24
      functionsReached:
        - _sc_match_atr_block
        - _strlcpy
        - sc_card_sm_load
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - scconf_find_blocks
        - scconf_get_str
        - strcasecmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1626,2'
          Dst:             sc_do_log
        - Src:             'card.c:1629,13'
          Dst:             _sc_match_atr_block
        - Src:             'card.c:1631,3'
          Dst:             sc_strerror
        - Src:             'card.c:1631,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1631,3'
          Dst:             sc_do_log
        - Src:             'card.c:1632,7'
          Dst:             scconf_get_str
        - Src:             'card.c:1634,3'
          Dst:             sc_strerror
        - Src:             'card.c:1634,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1634,3'
          Dst:             sc_do_log
        - Src:             'card.c:1637,2'
          Dst:             sc_do_log
        - Src:             'card.c:1641,12'
          Dst:             scconf_find_blocks
        - Src:             'card.c:1651,3'
          Dst:             sc_strerror
        - Src:             'card.c:1651,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1665,16'
          Dst:             scconf_get_str
        - Src:             'card.c:1667,16'
          Dst:             scconf_get_str
        - Src:             'card.c:1668,2'
          Dst:             sc_do_log
        - Src:             'card.c:1670,3'
          Dst:             sc_strerror
        - Src:             'card.c:1670,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1672,7'
          Dst:             sc_card_sm_load
        - Src:             'card.c:1673,2'
          Dst:             sc_strerror
        - Src:             'card.c:1673,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:1675,2'
          Dst:             _strlcpy
        - Src:             'card.c:1676,2'
          Dst:             _strlcpy
        - Src:             'card.c:1680,17'
          Dst:             scconf_get_str
        - Src:             'card.c:1683,3'
          Dst:             sc_strerror
        - Src:             'card.c:1683,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1687,12'
          Dst:             scconf_get_str
        - Src:             'card.c:1688,18'
          Dst:             strcasecmp
        - Src:             'card.c:1690,4'
          Dst:             sc_strerror
        - Src:             'card.c:1690,4'
          Dst:             sc_do_log_color
        - Src:             'card.c:1694,3'
          Dst:             sc_strerror
        - Src:             'card.c:1694,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:1697,2'
          Dst:             sc_do_log
        - Src:             'card.c:1698,2'
          Dst:             sc_strerror
        - Src:             'card.c:1698,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:1698,2'
          Dst:             sc_do_log
    - functionName:    _sc_match_atr
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1333
      functionLinenumberEnd: 1344
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          68
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - match_atr_table
      functionUses:    37
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:1338,8'
          Dst:             match_atr_table
    - functionName:    sc_card_new
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 127
      functionLinenumberEnd: 153
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          84
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - sc_mutex_create
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:133,9'
          Dst:             calloc
        - Src:             'card.c:143,6'
          Dst:             sc_mutex_create
    - functionName:    sc_connect_card
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 241
      functionLinenumberEnd: 398
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         106
      ICount:          744
      EdgeCount:       139
      CyclomaticComplexity: 35
      functionsReached:
        - _sc_match_atr
        - _sc_parse_atr
        - sc_card_free
        - sc_card_new
        - sc_card_sm_check
        - sc_detect_escape_cmds
        - sc_do_log
        - sc_do_log_color
        - sc_get_max_recv_size
        - sc_get_max_send_size
        - sc_strerror
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:250,2'
          Dst:             sc_do_log
        - Src:             'card.c:252,3'
          Dst:             sc_strerror
        - Src:             'card.c:252,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:252,3'
          Dst:             sc_do_log
        - Src:             'card.c:254,9'
          Dst:             sc_card_new
        - Src:             'card.c:256,3'
          Dst:             sc_strerror
        - Src:             'card.c:256,3'
          Dst:             sc_do_log_color
        - Src:             'card.c:256,3'
          Dst:             sc_do_log
        - Src:             'card.c:266,3'
          Dst:             sc_detect_escape_cmds
        - Src:             'card.c:271,2'
          Dst:             _sc_parse_atr
        - Src:             'card.c:275,3'
          Dst:             sc_do_log
        - Src:             'card.c:280,9'
          Dst:             strcmp
        - Src:             'card.c:284,4'
          Dst:             sc_do_log
        - Src:             'card.c:285,10'
          Dst:             _sc_match_atr
        - Src:             'card.c:289,5'
          Dst:             sc_do_log
        - Src:             'card.c:307,5'
          Dst:             sc_strerror
        - Src:             'card.c:307,5'
          Dst:             sc_do_log
        - Src:             'card.c:312,5'
          Dst:             sc_strerror
        - Src:             'card.c:312,5'
          Dst:             sc_do_log
        - Src:             'card.c:319,3'
          Dst:             sc_do_log
        - Src:             'card.c:337,4'
          Dst:             sc_do_log
        - Src:             'card.c:342,13'
          Dst:             strcmp
        - Src:             'card.c:343,5'
          Dst:             sc_do_log
        - Src:             'card.c:351,4'
          Dst:             sc_do_log
        - Src:             'card.c:356,5'
          Dst:             sc_strerror
        - Src:             'card.c:356,5'
          Dst:             sc_do_log
        - Src:             'card.c:367,3'
          Dst:             sc_do_log
        - Src:             'card.c:375,24'
          Dst:             sc_get_max_recv_size
        - Src:             'card.c:376,24'
          Dst:             sc_get_max_send_size
        - Src:             'card.c:378,2'
          Dst:             sc_do_log
        - Src:             'card.c:383,6'
          Dst:             sc_card_sm_check
        - Src:             'card.c:385,3'
          Dst:             sc_do_log
        - Src:             'card.c:391,2'
          Dst:             sc_strerror
        - Src:             'card.c:391,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:391,2'
          Dst:             sc_do_log
        - Src:             'card.c:396,3'
          Dst:             sc_card_free
        - Src:             'card.c:397,2'
          Dst:             sc_strerror
        - Src:             'card.c:397,2'
          Dst:             sc_do_log_color
        - Src:             'card.c:397,2'
          Dst:             sc_do_log
    - functionName:    sc_format_apdu_ex
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 124
      functionDepth:   0
      returnType:      void
      argCount:        9
      argTypes:
        - 'N/A'
        - char
        - char
        - char
        - char
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          76
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_format_apdu_cse_lc_le
      functionUses:    51
      BranchProfiles:  []
      Callsites:
        - Src:             'card.c:123,2'
          Dst:             sc_format_apdu_cse_lc_le
    - functionName:    sc_format_apdu_cse_lc_le
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 68
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         56
      ICount:          304
      EdgeCount:       76
      CyclomaticComplexity: 22
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_format_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 55
      functionLinenumberEnd: 65
      functionDepth:   0
      returnType:      void
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          63
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    427
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 51
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          55
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    404
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_dir_record
      functionSourceFile: '/src/opensc/src/libopensc/dir.c'
      linkageType:     InternalLinkage
      functionLinenumber: 282
      functionLinenumberEnd: 306
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          149
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'dir.c:288,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'dir.c:289,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'dir.c:290,2'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:291,2'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:293,15'
          Dst:             strlen
        - Src:             'dir.c:294,3'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:297,3'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:300,3'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:302,6'
          Dst:             sc_asn1_encode
        - Src:             'dir.c:303,2'
          Dst:             sc_strerror
        - Src:             'dir.c:303,2'
          Dst:             sc_do_log_color
    - functionName:    update_single_record
      functionSourceFile: '/src/opensc/src/libopensc/dir.c'
      linkageType:     InternalLinkage
      functionLinenumber: 355
      functionLinenumberEnd: 387
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          175
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - encode_dir_record
        - sc_append_record
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_update_record
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'dir.c:360,6'
          Dst:             encode_dir_record
        - Src:             'dir.c:364,7'
          Dst:             sc_update_record
        - Src:             'dir.c:367,7'
          Dst:             sc_append_record
        - Src:             'dir.c:378,8'
          Dst:             sc_update_record
        - Src:             'dir.c:381,3'
          Dst:             sc_do_log
        - Src:             'dir.c:385,2'
          Dst:             sc_strerror
        - Src:             'dir.c:385,2'
          Dst:             sc_do_log_color
    - functionName:    update_records
      functionSourceFile: '/src/opensc/src/libopensc/dir.c'
      linkageType:     InternalLinkage
      functionLinenumber: 390
      functionLinenumberEnd: 399
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          58
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - update_single_record
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'dir.c:394,7'
          Dst:             update_single_record
    - functionName:    update_transparent
      functionSourceFile: '/src/opensc/src/libopensc/dir.c'
      linkageType:     InternalLinkage
      functionLinenumber: 309
      functionLinenumberEnd: 352
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          214
      EdgeCount:       42
      CyclomaticComplexity: 12
      functionsReached:
        - encode_dir_record
        - realloc
        - sc_do_log_color
        - sc_strerror
        - sc_update_binary
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'dir.c:315,7'
          Dst:             encode_dir_record
        - Src:             'dir.c:323,16'
          Dst:             realloc
        - Src:             'dir.c:338,16'
          Dst:             realloc
        - Src:             'dir.c:347,6'
          Dst:             sc_update_binary
        - Src:             'dir.c:349,2'
          Dst:             sc_strerror
        - Src:             'dir.c:349,2'
          Dst:             sc_do_log_color
    - functionName:    sc_update_dir
      functionSourceFile: '/src/opensc/src/libopensc/dir.c'
      linkageType:     InternalLinkage
      functionLinenumber: 402
      functionLinenumberEnd: 420
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          84
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_select_file
        - sc_strerror
        - update_records
        - update_single_record
        - update_transparent
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'dir.c:407,2'
          Dst:             sc_format_path
        - Src:             'dir.c:409,6'
          Dst:             sc_select_file
        - Src:             'dir.c:410,2'
          Dst:             sc_strerror
        - Src:             'dir.c:410,2'
          Dst:             sc_do_log_color
        - Src:             'dir.c:413,7'
          Dst:             update_transparent
        - Src:             'dir.c:415,7'
          Dst:             update_records
        - Src:             'dir.c:417,7'
          Dst:             update_single_record
        - Src:             'dir.c:418,2'
          Dst:             sc_file_free
    - functionName:    parse_dir_record
      functionSourceFile: '/src/opensc/src/libopensc/dir.c'
      linkageType:     InternalLinkage
      functionLinenumber: 65
      functionLinenumberEnd: 159
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         73
      ICount:          540
      EdgeCount:       92
      CyclomaticComplexity: 21
      functionsReached:
        - calloc
        - sc_asn1_decode
        - sc_bin_to_hex
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_get_conf_block
        - sc_strerror
        - scconf_find_blocks
        - scconf_get_bool
        - strdup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'dir.c:75,2'
          Dst:             sc_do_log
        - Src:             'dir.c:79,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'dir.c:80,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'dir.c:81,2'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:82,2'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:83,2'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:84,2'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:85,2'
          Dst:             sc_format_asn1_entry
        - Src:             'dir.c:87,6'
          Dst:             sc_asn1_decode
        - Src:             'dir.c:89,3'
          Dst:             sc_strerror
        - Src:             'dir.c:89,3'
          Dst:             sc_do_log_color
        - Src:             'dir.c:89,3'
          Dst:             sc_do_log
        - Src:             'dir.c:90,2'
          Dst:             sc_strerror
        - Src:             'dir.c:90,2'
          Dst:             sc_do_log_color
        - Src:             'dir.c:92,15'
          Dst:             sc_get_conf_block
        - Src:             'dir.c:98,3'
          Dst:             sc_bin_to_hex
        - Src:             'dir.c:99,12'
          Dst:             scconf_find_blocks
        - Src:             'dir.c:101,31'
          Dst:             scconf_get_bool
        - Src:             'dir.c:106,4'
          Dst:             sc_do_log
        - Src:             'dir.c:107,4'
          Dst:             sc_strerror
        - Src:             'dir.c:107,4'
          Dst:             sc_do_log_color
        - Src:             'dir.c:107,4'
          Dst:             sc_do_log
        - Src:             'dir.c:111,8'
          Dst:             calloc
        - Src:             'dir.c:113,3'
          Dst:             sc_strerror
        - Src:             'dir.c:113,3'
          Dst:             sc_do_log_color
        - Src:             'dir.c:113,3'
          Dst:             sc_do_log
        - Src:             'dir.c:118,16'
          Dst:             strdup
        - Src:             'dir.c:127,4'
          Dst:             sc_strerror
        - Src:             'dir.c:127,4'
          Dst:             sc_do_log_color
        - Src:             'dir.c:145,4'
          Dst:             sc_strerror
        - Src:             'dir.c:145,4'
          Dst:             sc_do_log_color
        - Src:             'dir.c:158,2'
          Dst:             sc_strerror
        - Src:             'dir.c:158,2'
          Dst:             sc_do_log_color
        - Src:             'dir.c:158,2'
          Dst:             sc_do_log
    - functionName:    sc_free_apps
      functionSourceFile: '/src/opensc/src/libopensc/dir.c'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 278
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          63
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_enum_apps
      functionSourceFile: '/src/opensc/src/libopensc/dir.c'
      linkageType:     InternalLinkage
      functionLinenumber: 163
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         100
      ICount:          583
      EdgeCount:       128
      CyclomaticComplexity: 30
      functionsReached:
        - memcmp
        - parse_dir_record
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_free_apps
        - sc_read_binary
        - sc_read_record
        - sc_select_file
        - sc_strerror
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'dir.c:171,2'
          Dst:             sc_do_log
        - Src:             'dir.c:173,2'
          Dst:             sc_free_apps
        - Src:             'dir.c:176,2'
          Dst:             sc_format_path
        - Src:             'dir.c:177,6'
          Dst:             sc_select_file
        - Src:             'dir.c:179,3'
          Dst:             sc_file_free
        - Src:             'dir.c:180,2'
          Dst:             sc_strerror
        - Src:             'dir.c:180,2'
          Dst:             sc_do_log_color
        - Src:             'dir.c:183,3'
          Dst:             sc_file_free
        - Src:             'dir.c:184,3'
          Dst:             sc_strerror
        - Src:             'dir.c:184,3'
          Dst:             sc_do_log_color
        - Src:             'dir.c:189,2'
          Dst:             sc_file_free
        - Src:             'dir.c:195,4'
          Dst:             sc_strerror
        - Src:             'dir.c:195,4'
          Dst:             sc_do_log_color
        - Src:             'dir.c:195,4'
          Dst:             sc_do_log
        - Src:             'dir.c:197,4'
          Dst:             sc_strerror
        - Src:             'dir.c:197,4'
          Dst:             sc_do_log_color
        - Src:             'dir.c:197,4'
          Dst:             sc_do_log
        - Src:             'dir.c:201,4'
          Dst:             sc_strerror
        - Src:             'dir.c:201,4'
          Dst:             sc_do_log_color
        - Src:             'dir.c:201,4'
          Dst:             sc_do_log
        - Src:             'dir.c:203,7'
          Dst:             sc_read_binary
        - Src:             'dir.c:206,4'
          Dst:             sc_strerror
        - Src:             'dir.c:206,4'
          Dst:             sc_do_log_color
        - Src:             'dir.c:211,5'
          Dst:             sc_do_log
        - Src:             'dir.c:214,8'
          Dst:             parse_dir_record
        - Src:             'dir.c:230,8'
          Dst:             sc_read_record
        - Src:             'dir.c:233,4'
          Dst:             sc_strerror
        - Src:             'dir.c:233,4'
          Dst:             sc_do_log_color
        - Src:             'dir.c:236,5'
          Dst:             sc_do_log
        - Src:             'dir.c:242,4'
          Dst:             parse_dir_record
        - Src:             'dir.c:251,8'
          Dst:             memcmp
        - Src:             'dir.c:265,2'
          Dst:             sc_strerror
        - Src:             'dir.c:265,2'
          Dst:             sc_do_log_color
        - Src:             'dir.c:265,2'
          Dst:             sc_do_log
    - functionName:    sc_free_ef_atr
      functionSourceFile: '/src/opensc/src/libopensc/ef-atr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 183
      functionLinenumberEnd: 187
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_parse_ef_atr_content
      functionSourceFile: '/src/opensc/src/libopensc/ef-atr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 36
      functionLinenumberEnd: 131
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         80
      ICount:          533
      EdgeCount:       104
      CyclomaticComplexity: 26
      functionsReached:
        - bebytes2ushort
        - calloc
        - sc_asn1_decode_object_id
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ef-atr.c:42,2'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:46,8'
          Dst:             sc_asn1_find_tag
        - Src:             'ef-atr.c:49,3'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:52,8'
          Dst:             sc_asn1_find_tag
        - Src:             'ef-atr.c:59,3'
          Dst:             sc_dump_hex
        - Src:             'ef-atr.c:59,3'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:62,8'
          Dst:             sc_asn1_find_tag
        - Src:             'ef-atr.c:67,3'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:73,9'
          Dst:             sc_asn1_find_tag
        - Src:             'ef-atr.c:78,30'
          Dst:             bebytes2ushort
        - Src:             'ef-atr.c:79,31'
          Dst:             bebytes2ushort
        - Src:             'ef-atr.c:80,4'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:85,8'
          Dst:             sc_asn1_find_tag
        - Src:             'ef-atr.c:88,4'
          Dst:             sc_strerror
        - Src:             'ef-atr.c:88,4'
          Dst:             sc_do_log_color
        - Src:             'ef-atr.c:91,3'
          Dst:             sc_dump_hex
        - Src:             'ef-atr.c:91,3'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:95,8'
          Dst:             sc_asn1_find_tag
        - Src:             'ef-atr.c:102,3'
          Dst:             sc_dump_hex
        - Src:             'ef-atr.c:102,3'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:105,8'
          Dst:             sc_asn1_find_tag
        - Src:             'ef-atr.c:107,3'
          Dst:             sc_dump_hex
        - Src:             'ef-atr.c:107,3'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:108,9'
          Dst:             sc_asn1_find_tag
        - Src:             'ef-atr.c:110,4'
          Dst:             sc_dump_hex
        - Src:             'ef-atr.c:110,4'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:111,7'
          Dst:             sc_asn1_decode_object_id
        - Src:             'ef-atr.c:112,5'
          Dst:             sc_strerror
        - Src:             'ef-atr.c:112,5'
          Dst:             sc_do_log_color
        - Src:             'ef-atr.c:112,5'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:116,8'
          Dst:             sc_asn1_find_tag
        - Src:             'ef-atr.c:119,3'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:123,18'
          Dst:             calloc
        - Src:             'ef-atr.c:126,3'
          Dst:             sc_strerror
        - Src:             'ef-atr.c:126,3'
          Dst:             sc_do_log_color
        - Src:             'ef-atr.c:126,3'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:130,2'
          Dst:             sc_strerror
        - Src:             'ef-atr.c:130,2'
          Dst:             sc_do_log_color
        - Src:             'ef-atr.c:130,2'
          Dst:             sc_do_log
    - functionName:    sc_parse_ef_atr
      functionSourceFile: '/src/opensc/src/libopensc/ef-atr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 179
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         44
      ICount:          250
      EdgeCount:       55
      CyclomaticComplexity: 13
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_parse_ef_atr_content
        - sc_read_binary
        - sc_select_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ef-atr.c:144,2'
          Dst:             sc_do_log
        - Src:             'ef-atr.c:146,2'
          Dst:             sc_format_path
        - Src:             'ef-atr.c:147,7'
          Dst:             sc_select_file
        - Src:             'ef-atr.c:148,2'
          Dst:             sc_strerror
        - Src:             'ef-atr.c:148,2'
          Dst:             sc_do_log_color
        - Src:             'ef-atr.c:158,3'
          Dst:             sc_strerror
        - Src:             'ef-atr.c:158,3'
          Dst:             sc_do_log_color
        - Src:             'ef-atr.c:160,7'
          Dst:             sc_read_binary
        - Src:             'ef-atr.c:161,2'
          Dst:             sc_strerror
        - Src:             'ef-atr.c:161,2'
          Dst:             sc_do_log_color
        - Src:             'ef-atr.c:171,7'
          Dst:             sc_parse_ef_atr_content
        - Src:             'ef-atr.c:172,2'
          Dst:             sc_strerror
        - Src:             'ef-atr.c:172,2'
          Dst:             sc_do_log_color
        - Src:             'ef-atr.c:177,2'
          Dst:             sc_file_free
        - Src:             'ef-atr.c:179,2'
          Dst:             sc_strerror
        - Src:             'ef-atr.c:179,2'
          Dst:             sc_do_log_color
        - Src:             'ef-atr.c:179,2'
          Dst:             sc_do_log
    - functionName:    compare_obj_data_name
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1665
      functionLinenumberEnd: 1673
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          63
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - strncmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1671,10'
          Dst:             strncmp
        - Src:             'pkcs15.c:1672,4'
          Dst:             strncmp
    - functionName:    compare_obj_path
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1642
      functionLinenumberEnd: 1660
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          88
      EdgeCount:       21
      CyclomaticComplexity: 12
      functionsReached:
        - sc_compare_path
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15.c:1645,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15.c:1647,10'
          Dst:             sc_compare_path
        - Src:             'pkcs15.c:1649,10'
          Dst:             sc_compare_path
        - Src:             'pkcs15.c:1651,10'
          Dst:             sc_compare_path
        - Src:             'pkcs15.c:1653,10'
          Dst:             sc_compare_path
        - Src:             'pkcs15.c:1655,10'
          Dst:             sc_compare_path
        - Src:             'pkcs15.c:1657,10'
          Dst:             sc_compare_path
    - functionName:    compare_obj_reference
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1618
      functionLinenumberEnd: 1637
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          68
      EdgeCount:       15
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15.c:1623,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    compare_obj_flags
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1598
      functionLinenumberEnd: 1613
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          61
      EdgeCount:       13
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15.c:1602,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    compare_obj_usage
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1578
      functionLinenumberEnd: 1593
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          56
      EdgeCount:       10
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15.c:1582,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_obj_app_oid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1569
      functionLinenumberEnd: 1573
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          40
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_compare_oid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1571,10'
          Dst:             sc_compare_oid
    - functionName:    compare_obj_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1546
      functionLinenumberEnd: 1564
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          88
      EdgeCount:       21
      CyclomaticComplexity: 12
      functionsReached:
        - sc_pkcs15_compare_id
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15.c:1549,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15.c:1551,10'
          Dst:             sc_pkcs15_compare_id
        - Src:             'pkcs15.c:1553,10'
          Dst:             sc_pkcs15_compare_id
        - Src:             'pkcs15.c:1555,10'
          Dst:             sc_pkcs15_compare_id
        - Src:             'pkcs15.c:1557,10'
          Dst:             sc_pkcs15_compare_id
        - Src:             'pkcs15.c:1559,10'
          Dst:             sc_pkcs15_compare_id
        - Src:             'pkcs15.c:1561,10'
          Dst:             sc_pkcs15_compare_id
    - functionName:    sc_pkcs15_compare_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2707
      functionLinenumberEnd: 2713
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          65
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - memcmp
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2712,9'
          Dst:             memcmp
    - functionName:    fix_authentic_ddo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 459
      functionLinenumberEnd: 469
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_file_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:464,3'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:466,3'
          Dst:             sc_file_free
    - functionName:    sc_pkcs15_free_key_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3137
      functionLinenumberEnd: 3146
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          73
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_aux_get_md_guid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3114
      functionLinenumberEnd: 3132
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          232
      EdgeCount:       49
      CyclomaticComplexity: 11
      functionsReached:
        - sc_aux_data_get_md_guid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:3119,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:3121,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3121,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3121,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:3124,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3124,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3124,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:3128,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3128,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3128,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:3130,7'
          Dst:             sc_aux_data_get_md_guid
        - Src:             'pkcs15.c:3131,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3131,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3131,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_get_object_guid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3033
      functionLinenumberEnd: 3107
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         71
      ICount:          465
      EdgeCount:       89
      CyclomaticComplexity: 20
      functionsReached:
        - SHA1
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_hex_to_bin
        - sc_pkcs15_aux_get_md_guid
        - sc_pkcs15_get_object_id
        - sc_pkcs15_serialize_guid
        - sc_strerror
        - strlen
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:3041,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:3043,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3043,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3043,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:3047,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3047,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3047,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:3050,7'
          Dst:             sc_pkcs15_aux_get_md_guid
        - Src:             'pkcs15.c:3052,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3052,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3052,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:3054,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3054,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3058,7'
          Dst:             sc_pkcs15_get_object_id
        - Src:             'pkcs15.c:3059,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3059,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3065,8'
          Dst:             sc_hex_to_bin
        - Src:             'pkcs15.c:3068,19'
          Dst:             strlen
        - Src:             'pkcs15.c:3077,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15.c:3078,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3078,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3091,2'
          Dst:             SHA1
        - Src:             'pkcs15.c:3102,7'
          Dst:             sc_pkcs15_serialize_guid
        - Src:             'pkcs15.c:3103,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3103,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3105,14'
          Dst:             strlen
        - Src:             'pkcs15.c:3106,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:3106,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:3106,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_get_object_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2974
      functionLinenumberEnd: 3002
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          100
      EdgeCount:       15
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   'pkcs15.c:2978,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_pkcs15_serialize_guid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3014
      functionLinenumberEnd: 3028
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          123
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:3020,2'
          Dst:             snprintf
    - functionName:    sc_pkcs15_add_supported_algo_ref
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2937
      functionLinenumberEnd: 2969
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          157
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    5
      BranchProfiles:
        - Branch String:   'pkcs15.c:2943,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_pkcs15_get_generalized_time
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2895
      functionLinenumberEnd: 2932
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         31
      ICount:          153
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - calloc
        - gettimeofday
        - gmtime_r
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strftime
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2907,2'
          Dst:             gettimeofday
        - Src:             'pkcs15.c:2917,14'
          Dst:             gmtime_r
        - Src:             'pkcs15.c:2918,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2918,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2918,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2921,9'
          Dst:             calloc
        - Src:             'pkcs15.c:2923,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2923,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2926,7'
          Dst:             strftime
        - Src:             'pkcs15.c:2928,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2928,3'
          Dst:             sc_do_log_color
    - functionName:    gmtime_r
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_get_specific_supported_algo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2870
      functionLinenumberEnd: 2891
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          187
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - sc_compare_oid
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2881,8'
          Dst:             sc_compare_oid
        - Src:             'pkcs15.c:2886,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_get_supported_algo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2849
      functionLinenumberEnd: 2865
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          156
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2861,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_allocate_object_content
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2811
      functionLinenumberEnd: 2844
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          125
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - sc_mem_secure_alloc
        - sc_pkcs15_free_object_content
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2818,3'
          Dst:             sc_pkcs15_free_object_content
        - Src:             'pkcs15.c:2828,13'
          Dst:             sc_mem_secure_alloc
        - Src:             'pkcs15.c:2838,2'
          Dst:             sc_pkcs15_free_object_content
    - functionName:    sc_pkcs15_free_object_content
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2795
      functionLinenumberEnd: 2805
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          75
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_hex_string_to_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2744
      functionLinenumberEnd: 2746
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_hex_to_bin
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2746,9'
          Dst:             sc_hex_to_bin
    - functionName:    sc_pkcs15_print_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2734
      functionLinenumberEnd: 2738
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_bin_to_hex
      functionUses:    37
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2737,2'
          Dst:             sc_bin_to_hex
    - functionName:    sc_pkcs15_format_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2718
      functionLinenumberEnd: 2729
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          47
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - sc_hex_to_bin
      functionUses:    45
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2725,6'
          Dst:             sc_hex_to_bin
    - functionName:    decompress_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2477
      functionLinenumberEnd: 2501
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          152
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - sc_decompress_alloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2478,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2491,7'
          Dst:             sc_decompress_alloc
        - Src:             'pkcs15.c:2493,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2494,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2494,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2494,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2496,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2496,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2496,2'
          Dst:             sc_do_log
    - functionName:    sc_decode_do53
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2506
      functionLinenumberEnd: 2522
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          95
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2514,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2515,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:2516,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:2518,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15.c:2519,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2519,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2521,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2521,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2521,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_parse_unusedspace
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2427
      functionLinenumberEnd: 2473
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          137
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - sc_asn1_decode
        - sc_format_asn1_entry
        - sc_pkcs15_add_unusedspace
        - sc_pkcs15_free_unusedspace
        - sc_pkcs15_make_absolute_path
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2444,2'
          Dst:             sc_pkcs15_free_unusedspace
        - Src:             'pkcs15.c:2446,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:2447,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:2448,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:2452,7'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15.c:2461,8'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15.c:2464,8'
          Dst:             sc_pkcs15_add_unusedspace
    - functionName:    sc_pkcs15_free_unusedspace
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2337
      functionLinenumberEnd: 2348
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          62
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_make_absolute_path
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2752
      functionLinenumberEnd: 2791
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          140
      EdgeCount:       26
      CyclomaticComplexity: 9
      functionsReached:
        - sc_compare_path_prefix
        - sc_concatenate_path
        - sc_get_mf_path
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2769,10'
          Dst:             sc_concatenate_path
        - Src:             'pkcs15.c:2787,29'
          Dst:             sc_get_mf_path
        - Src:             'pkcs15.c:2787,6'
          Dst:             sc_compare_path_prefix
        - Src:             'pkcs15.c:2790,9'
          Dst:             sc_concatenate_path
    - functionName:    sc_pkcs15_add_unusedspace
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2282
      functionLinenumberEnd: 2314
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          133
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - calloc
        - sc_do_log
        - sc_path_print
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2289,11'
          Dst:             sc_path_print
        - Src:             'pkcs15.c:2293,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2297,20'
          Dst:             calloc
    - functionName:    sc_pkcs15_encode_unusedspace
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2354
      functionLinenumberEnd: 2422
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          252
      EdgeCount:       43
      CyclomaticComplexity: 12
      functionsReached:
        - sc_asn1_encode
        - sc_compare_path
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
        - sc_format_path
        - sc_pkcs15_add_unusedspace
        - sc_pkcs15_remove_unusedspace
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2370,2'
          Dst:             sc_format_path
        - Src:             'pkcs15.c:2379,7'
          Dst:             sc_pkcs15_add_unusedspace
        - Src:             'pkcs15.c:2399,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:2400,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:2401,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:2402,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:2403,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:2409,6'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15.c:2418,32'
          Dst:             sc_compare_path
        - Src:             'pkcs15.c:2419,3'
          Dst:             sc_pkcs15_remove_unusedspace
    - functionName:    sc_pkcs15_remove_unusedspace
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2319
      functionLinenumberEnd: 2332
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          73
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_read_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2528
      functionLinenumberEnd: 2702
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         126
      ICount:          774
      EdgeCount:       170
      CyclomaticComplexity: 46
      functionsReached:
        - decompress_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_lock
        - sc_pkcs15_cache_file
        - sc_pkcs15_read_cached_file
        - sc_print_path
        - sc_read_binary
        - sc_read_record
        - sc_select_file
        - sc_strerror
        - sc_unlock
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2540,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2541,2'
          Dst:             sc_print_path
        - Src:             'pkcs15.c:2541,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2546,7'
          Dst:             sc_pkcs15_read_cached_file
        - Src:             'pkcs15.c:2553,8'
          Dst:             sc_select_file
        - Src:             'pkcs15.c:2558,7'
          Dst:             sc_lock
        - Src:             'pkcs15.c:2561,7'
          Dst:             sc_select_file
        - Src:             'pkcs15.c:2576,6'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2585,5'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2627,9'
          Dst:             sc_read_record
        - Src:             'pkcs15.c:2650,8'
          Dst:             sc_read_record
        - Src:             'pkcs15.c:2659,8'
          Dst:             sc_read_binary
        - Src:             'pkcs15.c:2671,9'
          Dst:             decompress_file
        - Src:             'pkcs15.c:2680,3'
          Dst:             sc_unlock
        - Src:             'pkcs15.c:2682,3'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:2685,4'
          Dst:             sc_pkcs15_cache_file
        - Src:             'pkcs15.c:2694,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2694,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2694,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2697,2'
          Dst:             sc_unlock
        - Src:             'pkcs15.c:2700,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:2701,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2701,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2701,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_parse_df
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2192
      functionLinenumberEnd: 2276
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         67
      ICount:          390
      EdgeCount:       82
      CyclomaticComplexity: 17
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_add_object
        - sc_pkcs15_read_file
        - sc_print_path
        - sc_strerror
      functionUses:    12
      BranchProfiles:
        - Branch String:   'pkcs15.c:2207,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15.c:2202,2'
          Dst:             sc_print_path
        - Src:             'pkcs15.c:2202,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2205,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2205,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2205,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2230,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2231,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2231,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2231,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2233,6'
          Dst:             sc_pkcs15_read_file
        - Src:             'pkcs15.c:2234,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2234,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2239,9'
          Dst:             calloc
        - Src:             'pkcs15.c:2251,4'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2251,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2256,7'
          Dst:             sc_pkcs15_add_object
        - Src:             'pkcs15.c:2261,4'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2261,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2275,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:2275,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:2275,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_add_object
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1986
      functionLinenumberEnd: 2002
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          70
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_encode_df
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2120
      functionLinenumberEnd: 2187
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          225
      EdgeCount:       43
      CyclomaticComplexity: 9
      functionsReached:
        - realloc
        - sc_do_log
      functionUses:    2
      BranchProfiles:
        - Branch String:   'pkcs15.c:2131,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15.c:2155,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:2171,14'
          Dst:             realloc
    - functionName:    sc_pkcs15_add_df
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2076
      functionLinenumberEnd: 2097
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          84
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2079,10'
          Dst:             calloc
    - functionName:    sc_pkcs15_free_object
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2037
      functionLinenumberEnd: 2071
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          102
      EdgeCount:       18
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15_free_auth_info
        - sc_pkcs15_free_cert_info
        - sc_pkcs15_free_data_info
        - sc_pkcs15_free_object_content
        - sc_pkcs15_free_prkey_info
        - sc_pkcs15_free_pubkey
        - sc_pkcs15_free_pubkey_info
        - sc_pkcs15_free_skey_info
      functionUses:    17
      BranchProfiles:
        - Branch String:   'pkcs15.c:2040,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15.c:2042,3'
          Dst:             sc_pkcs15_free_prkey_info
        - Src:             'pkcs15.c:2048,4'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             'pkcs15.c:2050,3'
          Dst:             sc_pkcs15_free_pubkey_info
        - Src:             'pkcs15.c:2053,3'
          Dst:             sc_pkcs15_free_cert_info
        - Src:             'pkcs15.c:2056,3'
          Dst:             sc_pkcs15_free_skey_info
        - Src:             'pkcs15.c:2059,3'
          Dst:             sc_pkcs15_free_data_info
        - Src:             'pkcs15.c:2062,3'
          Dst:             sc_pkcs15_free_auth_info
        - Src:             'pkcs15.c:2068,2'
          Dst:             sc_pkcs15_free_object_content
    - functionName:    sc_pkcs15_remove_object
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2007
      functionLinenumberEnd: 2016
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          64
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    13
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_find_prkey_by_reference
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1972
      functionLinenumberEnd: 1980
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          35
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - find_by_key
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1980,9'
          Dst:             find_by_key
    - functionName:    find_by_key
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1707
      functionLinenumberEnd: 1716
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          52
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - compare_obj_key
        - sc_pkcs15_get_objects_cond
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1710,6'
          Dst:             sc_pkcs15_get_objects_cond
        - Src:             'pkcs15.c:1710,6'
          Dst:             compare_obj_key
    - functionName:    compare_obj_key
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1678
      functionLinenumberEnd: 1701
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         41
      ICount:          227
      EdgeCount:       56
      CyclomaticComplexity: 17
      functionsReached:
        - compare_obj_data_name
        - compare_obj_flags
        - compare_obj_id
        - compare_obj_path
        - compare_obj_reference
        - compare_obj_usage
        - sc_obj_app_oid
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1681,17'
          Dst:             compare_obj_id
        - Src:             'pkcs15.c:1683,22'
          Dst:             sc_obj_app_oid
        - Src:             'pkcs15.c:1685,25'
          Dst:             compare_obj_usage
        - Src:             'pkcs15.c:1687,25'
          Dst:             compare_obj_flags
        - Src:             'pkcs15.c:1689,30'
          Dst:             compare_obj_reference
        - Src:             'pkcs15.c:1691,19'
          Dst:             compare_obj_path
        - Src:             'pkcs15.c:1695,4'
          Dst:             compare_obj_data_name
    - functionName:    sc_pkcs15_get_objects_cond
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1734
      functionLinenumberEnd: 1736
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __sc_pkcs15_search_objects
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1735,9'
          Dst:             __sc_pkcs15_search_objects
    - functionName:    __sc_pkcs15_search_objects
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1458
      functionLinenumberEnd: 1533
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         75
      ICount:          419
      EdgeCount:       100
      CyclomaticComplexity: 27
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_parse_df
        - sc_strerror
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1477,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1477,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1477,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1505,8'
          Dst:             sc_pkcs15_parse_df
    - functionName:    sc_pkcs15_find_prkey_by_id_usage
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1957
      functionLinenumberEnd: 1964
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - find_by_key
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1964,9'
          Dst:             find_by_key
    - functionName:    sc_pkcs15_find_data_object_by_name
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1935
      functionLinenumberEnd: 1951
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          58
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __sc_pkcs15_search_objects
        - compare_obj_key
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1943,6'
          Dst:             __sc_pkcs15_search_objects
        - Src:             'pkcs15.c:1943,6'
          Dst:             compare_obj_key
    - functionName:    sc_pkcs15_find_data_object_by_app_oid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1914
      functionLinenumberEnd: 1929
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          53
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __sc_pkcs15_search_objects
        - compare_obj_key
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1921,6'
          Dst:             __sc_pkcs15_search_objects
        - Src:             'pkcs15.c:1921,6'
          Dst:             compare_obj_key
    - functionName:    sc_pkcs15_find_data_object_by_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1906
      functionLinenumberEnd: 1907
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_find_object_by_id
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1907,9'
          Dst:             sc_pkcs15_find_object_by_id
    - functionName:    sc_pkcs15_find_object_by_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1743
      functionLinenumberEnd: 1756
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          56
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __sc_pkcs15_search_objects
        - compare_obj_key
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1750,6'
          Dst:             __sc_pkcs15_search_objects
        - Src:             'pkcs15.c:1750,6'
          Dst:             compare_obj_key
    - functionName:    sc_pkcs15_find_pin_by_flags
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1867
      functionLinenumberEnd: 1900
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          239
      EdgeCount:       51
      CyclomaticComplexity: 13
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1872,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1873,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1877,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15.c:1896,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1896,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1896,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1899,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1899,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1899,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_get_objects
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1539
      functionLinenumberEnd: 1540
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_get_objects_cond
      functionUses:    26
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1540,9'
          Dst:             sc_pkcs15_get_objects_cond
    - functionName:    sc_pkcs15_find_so_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1853
      functionLinenumberEnd: 1859
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - find_by_key
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1859,9'
          Dst:             find_by_key
    - functionName:    sc_pkcs15_find_pin_by_type_and_reference
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1818
      functionLinenumberEnd: 1848
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          161
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - sc_compare_path
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1825,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15.c:1826,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1826,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1838,16'
          Dst:             sc_compare_path
    - functionName:    sc_pkcs15_find_pin_by_reference
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1802
      functionLinenumberEnd: 1810
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          35
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - find_by_key
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1810,9'
          Dst:             find_by_key
    - functionName:    sc_pkcs15_find_pin_by_auth_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1794
      functionLinenumberEnd: 1795
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_find_object_by_id
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1795,9'
          Dst:             sc_pkcs15_find_object_by_id
    - functionName:    sc_pkcs15_find_skey_by_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1786
      functionLinenumberEnd: 1787
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_find_object_by_id
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1787,9'
          Dst:             sc_pkcs15_find_object_by_id
    - functionName:    sc_pkcs15_find_pubkey_by_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1778
      functionLinenumberEnd: 1779
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_find_object_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1779,9'
          Dst:             sc_pkcs15_find_object_by_id
    - functionName:    sc_pkcs15_find_prkey_by_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1770
      functionLinenumberEnd: 1771
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_find_object_by_id
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1771,9'
          Dst:             sc_pkcs15_find_object_by_id
    - functionName:    sc_pkcs15_find_cert_by_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1762
      functionLinenumberEnd: 1763
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_find_object_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1763,9'
          Dst:             sc_pkcs15_find_object_by_id
    - functionName:    sc_pkcs15_search_objects
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1722
      functionLinenumberEnd: 1726
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - __sc_pkcs15_search_objects
        - compare_obj_key
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1723,9'
          Dst:             __sc_pkcs15_search_objects
        - Src:             'pkcs15.c:1723,9'
          Dst:             compare_obj_key
    - functionName:    sc_pkcs15_unbind
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1440
      functionLinenumberEnd: 1451
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          65
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - sc_dlclose
        - sc_do_log
        - sc_pkcs15_card_free
        - sc_pkcs15_pincache_clear
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1445,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1447,3'
          Dst:             sc_dlclose
        - Src:             'pkcs15.c:1448,2'
          Dst:             sc_pkcs15_pincache_clear
        - Src:             'pkcs15.c:1449,2'
          Dst:             sc_pkcs15_card_free
    - functionName:    sc_pkcs15_card_free
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 803
      functionLinenumberEnd: 830
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          109
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_file_free
        - sc_pkcs15_free_app
        - sc_pkcs15_free_tokeninfo
        - sc_pkcs15_free_unusedspace
        - sc_pkcs15_remove_dfs
        - sc_pkcs15_remove_objects
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:815,2'
          Dst:             sc_pkcs15_free_app
        - Src:             'pkcs15.c:816,2'
          Dst:             sc_pkcs15_remove_objects
        - Src:             'pkcs15.c:817,2'
          Dst:             sc_pkcs15_remove_dfs
        - Src:             'pkcs15.c:818,2'
          Dst:             sc_pkcs15_free_unusedspace
        - Src:             'pkcs15.c:821,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:822,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:823,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:824,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:827,2'
          Dst:             sc_pkcs15_free_tokeninfo
        - Src:             'pkcs15.c:828,2'
          Dst:             sc_pkcs15_free_app
    - functionName:    sc_pkcs15_free_app
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 791
      functionLinenumberEnd: 798
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          53
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_remove_objects
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2021
      functionLinenumberEnd: 2032
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          62
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_pkcs15_free_object
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:2028,3'
          Dst:             sc_pkcs15_free_object
    - functionName:    sc_pkcs15_remove_dfs
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2102
      functionLinenumberEnd: 2114
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          62
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_free_tokeninfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 781
      functionLinenumberEnd: 787
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          28
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15_clear_tokeninfo
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:785,2'
          Dst:             sc_pkcs15_clear_tokeninfo
    - functionName:    sc_pkcs15_clear_tokeninfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 754
      functionLinenumberEnd: 777
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          113
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_bind
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1327
      functionLinenumberEnd: 1435
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         90
      ICount:          583
      EdgeCount:       117
      CyclomaticComplexity: 29
      functionsReached:
        - pkcs15_get_default_use_file_cache
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_get_conf_block
        - sc_lock
        - sc_pkcs15_bind_internal
        - sc_pkcs15_bind_synthetic
        - sc_pkcs15_card_free
        - sc_pkcs15_card_new
        - sc_pkcs15_is_emulation_only
        - sc_strerror
        - sc_unlock
        - scconf_get_bool
        - scconf_get_int
        - scconf_get_str
        - strcmp
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1340,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1341,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15.c:1341,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1343,12'
          Dst:             sc_pkcs15_card_new
        - Src:             'pkcs15.c:1345,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1345,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1345,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1349,19'
          Dst:             pkcs15_get_default_use_file_cache
        - Src:             'pkcs15.c:1356,15'
          Dst:             sc_get_conf_block
        - Src:             'pkcs15.c:1358,20'
          Dst:             scconf_get_str
        - Src:             'pkcs15.c:1359,33'
          Dst:             scconf_get_bool
        - Src:             'pkcs15.c:1360,37'
          Dst:             scconf_get_int
        - Src:             'pkcs15.c:1361,49'
          Dst:             scconf_get_bool
        - Src:             'pkcs15.c:1363,31'
          Dst:             scconf_get_str
        - Src:             'pkcs15.c:1365,25'
          Dst:             scconf_get_str
        - Src:             'pkcs15.c:1368,11'
          Dst:             strcmp
        - Src:             'pkcs15.c:1370,18'
          Dst:             strcmp
        - Src:             'pkcs15.c:1372,18'
          Dst:             strcmp
        - Src:             'pkcs15.c:1376,11'
          Dst:             strcmp
        - Src:             'pkcs15.c:1378,18'
          Dst:             strcmp
        - Src:             'pkcs15.c:1380,18'
          Dst:             strcmp
        - Src:             'pkcs15.c:1384,11'
          Dst:             strcmp
        - Src:             'pkcs15.c:1386,18'
          Dst:             strcmp
        - Src:             'pkcs15.c:1388,18'
          Dst:             strcmp
        - Src:             'pkcs15.c:1391,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1395,6'
          Dst:             sc_lock
        - Src:             'pkcs15.c:1397,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1397,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1398,3'
          Dst:             sc_pkcs15_card_free
        - Src:             'pkcs15.c:1399,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1399,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1399,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1402,15'
          Dst:             scconf_get_bool
        - Src:             'pkcs15.c:1404,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1405,15'
          Dst:             scconf_get_bool
        - Src:             'pkcs15.c:1406,20'
          Dst:             sc_pkcs15_is_emulation_only
        - Src:             'pkcs15.c:1407,8'
          Dst:             sc_pkcs15_bind_synthetic
        - Src:             'pkcs15.c:1410,8'
          Dst:             sc_pkcs15_bind_internal
        - Src:             'pkcs15.c:1414,8'
          Dst:             sc_pkcs15_bind_internal
        - Src:             'pkcs15.c:1417,8'
          Dst:             sc_pkcs15_bind_synthetic
        - Src:             'pkcs15.c:1423,7'
          Dst:             sc_pkcs15_bind_internal
        - Src:             'pkcs15.c:1429,2'
          Dst:             sc_unlock
        - Src:             'pkcs15.c:1430,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1430,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1430,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1432,2'
          Dst:             sc_unlock
        - Src:             'pkcs15.c:1433,2'
          Dst:             sc_pkcs15_card_free
        - Src:             'pkcs15.c:1434,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1434,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1434,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_card_new
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 719
      functionLinenumberEnd: 734
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         8
      ICount:          49
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - calloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:722,12'
          Dst:             calloc
        - Src:             'pkcs15.c:726,23'
          Dst:             calloc
    - functionName:    pkcs15_get_default_use_file_cache
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1282
      functionLinenumberEnd: 1322
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          83
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1317,12'
          Dst:             strcmp
    - functionName:    sc_pkcs15_bind_internal
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1196
      functionLinenumberEnd: 1279
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         56
      ICount:          376
      EdgeCount:       74
      CyclomaticComplexity: 20
      functionsReached:
        - parse_ddo
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_dup_app_info
        - sc_enum_apps
        - sc_file_free
        - sc_file_new
        - sc_find_app
        - sc_format_path
        - sc_pkcs15_bind_internal_odf
        - sc_pkcs15_bind_internal_tokeninfo
        - sc_pkcs15_card_clear
        - sc_pkcs15_free_app
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1202,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1205,9'
          Dst:             sc_enum_apps
        - Src:             'pkcs15.c:1207,4'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1207,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1209,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:1210,22'
          Dst:             sc_file_new
        - Src:             'pkcs15.c:1216,2'
          Dst:             sc_format_path
        - Src:             'pkcs15.c:1218,9'
          Dst:             sc_find_app
        - Src:             'pkcs15.c:1220,3'
          Dst:             sc_dump_hex
        - Src:             'pkcs15.c:1220,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1221,3'
          Dst:             sc_pkcs15_free_app
        - Src:             'pkcs15.c:1222,18'
          Dst:             sc_dup_app_info
        - Src:             'pkcs15.c:1232,4'
          Dst:             parse_ddo
        - Src:             'pkcs15.c:1235,3'
          Dst:             sc_dump_hex
        - Src:             'pkcs15.c:1235,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1239,2'
          Dst:             sc_print_path
        - Src:             'pkcs15.c:1239,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1242,8'
          Dst:             sc_select_file
        - Src:             'pkcs15.c:1248,3'
          Dst:             sc_format_path
        - Src:             'pkcs15.c:1253,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1257,8'
          Dst:             sc_pkcs15_bind_internal_tokeninfo
        - Src:             'pkcs15.c:1259,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1263,8'
          Dst:             sc_pkcs15_bind_internal_odf
        - Src:             'pkcs15.c:1265,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1272,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15.c:1275,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1275,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1275,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1278,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1278,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1278,2'
          Dst:             sc_do_log
    - functionName:    sc_find_app
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 886
      functionLinenumberEnd: 903
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          123
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - memcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:898,7'
          Dst:             memcmp
    - functionName:    sc_dup_app_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 908
      functionLinenumberEnd: 935
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          117
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:909,28'
          Dst:             calloc
        - Src:             'pkcs15.c:917,16'
          Dst:             strdup
    - functionName:    parse_ddo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 473
      functionLinenumberEnd: 536
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          346
      EdgeCount:       52
      CyclomaticComplexity: 13
      functionsReached:
        - fix_authentic_ddo
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_file_free
        - sc_file_new
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:481,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:486,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:487,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:488,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:489,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:490,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:491,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:493,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15.c:494,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:494,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:497,3'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:498,23'
          Dst:             sc_file_new
        - Src:             'pkcs15.c:504,3'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:505,29'
          Dst:             sc_file_new
        - Src:             'pkcs15.c:511,3'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:512,31'
          Dst:             sc_file_new
        - Src:             'pkcs15.c:518,3'
          Dst:             sc_dump_hex
        - Src:             'pkcs15.c:518,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:522,3'
          Dst:             sc_dump_hex
        - Src:             'pkcs15.c:522,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:526,2'
          Dst:             fix_authentic_ddo
        - Src:             'pkcs15.c:527,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:527,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:527,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:529,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:531,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:533,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:535,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:535,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:535,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_bind_internal_tokeninfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1082
      functionLinenumberEnd: 1192
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         70
      ICount:          464
      EdgeCount:       93
      CyclomaticComplexity: 25
      functionsReached:
        - calloc
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_pkcs15_cache_file
        - sc_pkcs15_clear_tokeninfo
        - sc_pkcs15_make_absolute_path
        - sc_pkcs15_parse_tokeninfo
        - sc_pkcs15_read_cached_file
        - sc_print_path
        - sc_read_binary
        - sc_select_file
        - sc_strerror
        - sprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:1091,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1094,3'
          Dst:             sc_format_path
        - Src:             'pkcs15.c:1095,9'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15.c:1097,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1100,3'
          Dst:             sc_print_path
        - Src:             'pkcs15.c:1100,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1104,3'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:1108,8'
          Dst:             sc_select_file
        - Src:             'pkcs15.c:1110,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1110,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1116,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1120,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1131,9'
          Dst:             sc_pkcs15_read_cached_file
        - Src:             'pkcs15.c:1136,9'
          Dst:             sc_read_binary
        - Src:             'pkcs15.c:1139,5'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1139,5'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1142,5'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1142,5'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1150,4'
          Dst:             sc_pkcs15_cache_file
        - Src:             'pkcs15.c:1155,8'
          Dst:             sc_pkcs15_parse_tokeninfo
        - Src:             'pkcs15.c:1157,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1157,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1161,2'
          Dst:             sc_pkcs15_clear_tokeninfo
        - Src:             'pkcs15.c:1165,3'
          Dst:             sc_card_ctl
        - Src:             'pkcs15.c:1169,18'
          Dst:             calloc
        - Src:             'pkcs15.c:1177,4'
          Dst:             sprintf
        - Src:             'pkcs15.c:1180,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1188,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1188,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1188,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1191,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1191,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1191,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_bind_internal_odf
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 983
      functionLinenumberEnd: 1078
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         58
      ICount:          376
      EdgeCount:       76
      CyclomaticComplexity: 20
      functionsReached:
        - parse_odf
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_pkcs15_cache_file
        - sc_pkcs15_make_absolute_path
        - sc_pkcs15_read_cached_file
        - sc_print_path
        - sc_read_binary
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:992,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:995,3'
          Dst:             sc_format_path
        - Src:             'pkcs15.c:996,9'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15.c:998,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1001,3'
          Dst:             sc_print_path
        - Src:             'pkcs15.c:1001,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1002,9'
          Dst:             sc_select_file
        - Src:             'pkcs15.c:1006,3'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:1008,9'
          Dst:             sc_select_file
        - Src:             'pkcs15.c:1012,3'
          Dst:             sc_print_path
        - Src:             'pkcs15.c:1012,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1018,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1022,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1033,9'
          Dst:             sc_pkcs15_read_cached_file
        - Src:             'pkcs15.c:1038,9'
          Dst:             sc_read_binary
        - Src:             'pkcs15.c:1041,5'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1041,5'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1044,5'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1044,5'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1052,4'
          Dst:             sc_pkcs15_cache_file
        - Src:             'pkcs15.c:1056,6'
          Dst:             parse_odf
        - Src:             'pkcs15.c:1058,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1064,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1066,3'
          Dst:             sc_print_path
        - Src:             'pkcs15.c:1066,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1074,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1074,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1074,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:1077,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:1077,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:1077,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_card_clear
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 835
      functionLinenumberEnd: 881
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          223
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - sc_file_free
        - sc_pkcs15_free_app
        - sc_pkcs15_remove_dfs
        - sc_pkcs15_remove_objects
      functionUses:    39
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:846,2'
          Dst:             sc_pkcs15_remove_objects
        - Src:             'pkcs15.c:847,2'
          Dst:             sc_pkcs15_remove_dfs
        - Src:             'pkcs15.c:850,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:852,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:854,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:856,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:880,2'
          Dst:             sc_pkcs15_free_app
    - functionName:    parse_odf
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 621
      functionLinenumberEnd: 652
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          166
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - sc_asn1_decode_choice
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
        - sc_pkcs15_add_df
        - sc_pkcs15_make_absolute_path
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:632,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:634,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:636,7'
          Dst:             sc_asn1_decode_choice
        - Src:             'pkcs15.c:643,8'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15.c:646,8'
          Dst:             sc_pkcs15_add_df
    - functionName:    sc_pkcs15_parse_tokeninfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 295
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         72
      ICount:          656
      EdgeCount:       96
      CyclomaticComplexity: 26
      functionsReached:
        - sc_asn1_decode
        - sc_bin_to_hex
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_init_oid
        - sc_pkcs15_clear_tokeninfo
        - sc_print_path
        - sc_strerror
        - strdup
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:177,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:178,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:179,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:180,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:181,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:182,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:185,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:186,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:189,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:192,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:193,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:194,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:196,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:198,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:200,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:201,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:202,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:203,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:206,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:207,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:209,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:210,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:212,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:213,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:214,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:215,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:216,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:217,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:218,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:219,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:220,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:221,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:222,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:223,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:224,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:225,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:226,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:228,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15.c:231,3'
          Dst:             sc_pkcs15_clear_tokeninfo
        - Src:             'pkcs15.c:232,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:232,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:240,3'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15.c:241,3'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:246,26'
          Dst:             strdup
        - Src:             'pkcs15.c:248,26'
          Dst:             strdup
        - Src:             'pkcs15.c:255,16'
          Dst:             strdup
        - Src:             'pkcs15.c:257,16'
          Dst:             strdup
        - Src:             'pkcs15.c:263,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:264,28'
          Dst:             strdup
        - Src:             'pkcs15.c:269,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:274,28'
          Dst:             strdup
        - Src:             'pkcs15.c:279,2'
          Dst:             sc_init_oid
        - Src:             'pkcs15.c:282,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:285,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:286,34'
          Dst:             strdup
        - Src:             'pkcs15.c:292,2'
          Dst:             sc_print_path
        - Src:             'pkcs15.c:292,2'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:293,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_get_application_by_type
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 940
      functionLinenumberEnd: 979
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          177
      EdgeCount:       38
      CyclomaticComplexity: 11
      functionsReached:
        - sc_bin_to_hex
        - sc_enum_apps
        - sc_get_conf_block
        - scconf_find_blocks
        - scconf_get_str
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:949,8'
          Dst:             sc_enum_apps
        - Src:             'pkcs15.c:954,15'
          Dst:             sc_get_conf_block
        - Src:             'pkcs15.c:963,3'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15.c:964,12'
          Dst:             scconf_find_blocks
        - Src:             'pkcs15.c:967,26'
          Dst:             scconf_get_str
        - Src:             'pkcs15.c:968,10'
          Dst:             strcmp
    - functionName:    sc_pkcs15_tokeninfo_new
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 739
      functionLinenumberEnd: 750
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - calloc
        - sc_init_oid
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:742,14'
          Dst:             calloc
        - Src:             'pkcs15.c:747,2'
          Dst:             sc_init_oid
    - functionName:    sc_pkcs15_encode_odf
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 658
      functionLinenumberEnd: 714
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          280
      EdgeCount:       49
      CyclomaticComplexity: 13
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:676,3'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:676,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15.c:697,4'
          Dst:             sc_do_log
        - Src:             'pkcs15.c:701,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:702,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:703,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:707,6'
          Dst:             sc_asn1_encode
    - functionName:    sc_pkcs15_get_lastupdate
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 541
      functionLinenumberEnd: 590
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         25
      ICount:          208
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - calloc
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_file_free
        - sc_format_asn1_entry
        - sc_read_binary
        - sc_select_file
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:556,6'
          Dst:             sc_select_file
        - Src:             'pkcs15.c:561,2'
          Dst:             sc_file_free
        - Src:             'pkcs15.c:563,12'
          Dst:             calloc
        - Src:             'pkcs15.c:567,6'
          Dst:             sc_read_binary
        - Src:             'pkcs15.c:574,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:575,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:577,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15.c:583,43'
          Dst:             strdup
        - Src:             'pkcs15.c:588,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_encode_tokeninfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15.c'
      linkageType:     InternalLinkage
      functionLinenumber: 301
      functionLinenumberEnd: 442
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          610
      EdgeCount:       81
      CyclomaticComplexity: 21
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_hex_to_bin
        - sc_strerror
        - sc_valid_oid
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15.c:319,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:320,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:321,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:322,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:325,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:326,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:329,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15.c:332,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:333,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:334,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:336,8'
          Dst:             sc_valid_oid
        - Src:             'pkcs15.c:337,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:341,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:344,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:345,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:346,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:347,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:350,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:353,7'
          Dst:             strlen
        - Src:             'pkcs15.c:356,7'
          Dst:             sc_hex_to_bin
        - Src:             'pkcs15.c:358,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:361,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:365,15'
          Dst:             strlen
        - Src:             'pkcs15.c:366,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:369,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:373,15'
          Dst:             strlen
        - Src:             'pkcs15.c:374,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:377,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:382,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:385,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:389,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:391,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:393,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:396,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:398,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:400,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:401,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:404,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:405,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:408,18'
          Dst:             strlen
        - Src:             'pkcs15.c:409,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:410,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:413,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:417,14'
          Dst:             strlen
        - Src:             'pkcs15.c:418,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:420,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:423,6'
          Dst:             sc_valid_oid
        - Src:             'pkcs15.c:424,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:425,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:428,12'
          Dst:             strlen
        - Src:             'pkcs15.c:429,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:430,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:433,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:436,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15.c:438,6'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15.c:439,2'
          Dst:             sc_strerror
        - Src:             'pkcs15.c:439,2'
          Dst:             sc_do_log_color
    - functionName:    sc_pkcs15_free_cert_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 662
      functionLinenumberEnd: 667
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          31
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_alg_flags_from_algorithm
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 568
      functionLinenumberEnd: 588
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          31
      EdgeCount:       10
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-cert.c:569,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_pkcs15_map_usage
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 613
      functionLinenumberEnd: 640
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - int
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          149
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - sc_pkcs15_alg_flags_from_algorithm
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cert.c:615,27'
          Dst:             sc_pkcs15_alg_flags_from_algorithm
    - functionName:    sc_pkcs15_encode_cdf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 528
      functionLinenumberEnd: 559
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          134
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cert.c:539,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:540,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:541,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:542,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:543,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:544,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:546,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:548,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:550,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:552,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:554,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:555,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:557,6'
          Dst:             sc_asn1_encode
    - functionName:    sc_pkcs15_decode_cdf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 446
      functionLinenumberEnd: 522
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          346
      EdgeCount:       48
      CyclomaticComplexity: 11
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_pkcs15_make_absolute_path
        - sc_print_path
        - sc_strerror
      functionUses:    3
      BranchProfiles:
        - Branch String:   'pkcs15-cert.c:504,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-cert.c:461,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:462,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:463,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:464,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:465,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:466,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-cert.c:468,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:469,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:470,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:471,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:472,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:473,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:474,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:475,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:476,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:477,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:483,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-cert.c:489,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:489,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:496,7'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15-cert.c:497,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:497,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:502,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-cert.c:502,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:506,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:510,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:518,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:518,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:518,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_read_certificate
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 371
      functionLinenumberEnd: 409
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          290
      EdgeCount:       64
      CyclomaticComplexity: 15
      functionsReached:
        - parse_x509_cert
        - sc_der_copy
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_free_certificate
        - sc_pkcs15_read_file
        - sc_strerror
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cert.c:381,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:384,3'
          Dst:             sc_der_copy
        - Src:             'pkcs15-cert.c:387,7'
          Dst:             sc_pkcs15_read_file
        - Src:             'pkcs15-cert.c:388,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:388,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:391,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:391,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:391,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:397,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:397,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:397,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:400,6'
          Dst:             parse_x509_cert
        - Src:             'pkcs15-cert.c:402,3'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-cert.c:403,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:403,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:403,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:408,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:408,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:408,2'
          Dst:             sc_do_log
    - functionName:    parse_x509_cert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 40
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          649
      EdgeCount:       81
      CyclomaticComplexity: 19
      functionsReached:
        - sc_asn1_clear_algorithm_id
        - sc_asn1_decode
        - sc_asn1_encode
        - sc_asn1_verify_tag
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cert.c:88,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:91,8'
          Dst:             sc_asn1_verify_tag
        - Src:             'pkcs15-cert.c:93,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:93,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:98,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:98,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:98,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:102,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-cert.c:106,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:106,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:109,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:109,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:113,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:114,7'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-cert.c:115,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:115,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:119,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:120,7'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-cert.c:121,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:121,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:125,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-cert.c:126,7'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-cert.c:127,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:127,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:132,2'
          Dst:             sc_asn1_clear_algorithm_id
        - Src:             'pkcs15-cert.c:137,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:137,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:137,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_free_certificate
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 645
      functionLinenumberEnd: 657
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          51
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15_free_pubkey
      functionUses:    21
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cert.c:650,2'
          Dst:             sc_pkcs15_free_pubkey
    - functionName:    sc_pkcs15_pubkey_from_cert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 350
      functionLinenumberEnd: 365
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          78
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - calloc
        - parse_x509_cert
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_free_certificate
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cert.c:354,10'
          Dst:             calloc
        - Src:             'pkcs15-cert.c:358,7'
          Dst:             parse_x509_cert
        - Src:             'pkcs15-cert.c:362,2'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-cert.c:364,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:364,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:364,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_get_bitstring_extension
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 325
      functionLinenumberEnd: 344
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          143
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_asn1_decode
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_extension
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cert.c:334,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:336,6'
          Dst:             sc_pkcs15_get_extension
        - Src:             'pkcs15-cert.c:337,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:337,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:339,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-cert.c:341,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:341,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:343,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:343,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:343,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_get_extension
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 248
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          364
      EdgeCount:       68
      CyclomaticComplexity: 16
      functionsReached:
        - sc_asn1_decode
        - sc_asn1_skip_tag
        - sc_compare_oid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cert.c:265,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:269,9'
          Dst:             sc_asn1_skip_tag
        - Src:             'pkcs15-cert.c:272,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:272,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:280,7'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-cert.c:282,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:282,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:282,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:285,7'
          Dst:             sc_compare_oid
        - Src:             'pkcs15-cert.c:304,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:304,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:304,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:314,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:314,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:314,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_get_name_from_dn
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 223
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         77
      ICount:          429
      EdgeCount:       98
      CyclomaticComplexity: 23
      functionsReached:
        - sc_asn1_decode_object_id
        - sc_asn1_skip_tag
        - sc_compare_oid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cert.c:165,8'
          Dst:             sc_asn1_skip_tag
        - Src:             'pkcs15-cert.c:167,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:167,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:175,9'
          Dst:             sc_asn1_skip_tag
        - Src:             'pkcs15-cert.c:177,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:177,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:189,9'
          Dst:             sc_asn1_skip_tag
        - Src:             'pkcs15-cert.c:191,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:191,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:194,10'
          Dst:             sc_asn1_skip_tag
        - Src:             'pkcs15-cert.c:196,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:196,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:199,8'
          Dst:             sc_asn1_decode_object_id
        - Src:             'pkcs15-cert.c:201,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:201,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:203,7'
          Dst:             sc_compare_oid
        - Src:             'pkcs15-cert.c:207,11'
          Dst:             sc_asn1_skip_tag
        - Src:             'pkcs15-cert.c:209,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:209,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:213,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:213,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:213,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:219,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:219,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:219,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cert.c:222,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cert.c:222,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cert.c:222,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_free_data_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 189
      functionLinenumberEnd: 194
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          52
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_free_data_object
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 186
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_encode_dodf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 150
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          100
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
        - sc_valid_oid
        - strnlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-data.c:161,14'
          Dst:             strnlen
        - Src:             'pkcs15-data.c:163,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-data.c:164,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-data.c:165,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-data.c:168,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-data.c:170,6'
          Dst:             sc_valid_oid
        - Src:             'pkcs15-data.c:171,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-data.c:173,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-data.c:174,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-data.c:176,9'
          Dst:             sc_asn1_encode
    - functionName:    strnlen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_decode_dodf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 95
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          234
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_init_oid
        - sc_pkcs15_make_absolute_path
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-data.c:108,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-data.c:109,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-data.c:110,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-data.c:112,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-data.c:113,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-data.c:114,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-data.c:115,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-data.c:119,2'
          Dst:             sc_init_oid
        - Src:             'pkcs15-data.c:121,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-data.c:124,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-data.c:124,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-data.c:130,7'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15-data.c:141,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-data.c:141,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-data.c:141,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_read_data_object
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          234
      EdgeCount:       48
      CyclomaticComplexity: 11
      functionsReached:
        - calloc
        - sc_der_copy
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_read_file
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-data.c:52,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-data.c:54,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-data.c:54,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-data.c:54,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-data.c:57,7'
          Dst:             sc_pkcs15_read_file
        - Src:             'pkcs15-data.c:58,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-data.c:58,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-data.c:61,6'
          Dst:             sc_der_copy
        - Src:             'pkcs15-data.c:62,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-data.c:62,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-data.c:64,16'
          Dst:             calloc
        - Src:             'pkcs15-data.c:67,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-data.c:67,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-data.c:74,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-data.c:74,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-data.c:74,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_pincache_clear
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 847
      functionLinenumberEnd: 855
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          51
      EdgeCount:       10
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_pkcs15_free_object_content
        - sc_pkcs15_get_objects
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pin.c:851,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:852,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-pin.c:854,3'
          Dst:             sc_pkcs15_free_object_content
    - functionName:    sc_pkcs15_pincache_revalidate
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 799
      functionLinenumberEnd: 844
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         33
      ICount:          219
      EdgeCount:       44
      CyclomaticComplexity: 13
      functionsReached:
        - _sc_pkcs15_verify_pin
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_pin_by_auth_id
        - sc_pkcs15_free_object_content
        - sc_pkcs15_print_id
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pin.c:804,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:819,6'
          Dst:             sc_pkcs15_find_pin_by_auth_id
        - Src:             'pkcs15-pin.c:821,3'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-pin.c:821,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:826,3'
          Dst:             sc_pkcs15_free_object_content
        - Src:             'pkcs15-pin.c:834,6'
          Dst:             _sc_pkcs15_verify_pin
        - Src:             'pkcs15-pin.c:837,3'
          Dst:             sc_pkcs15_free_object_content
        - Src:             'pkcs15-pin.c:839,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:843,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:843,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:843,2'
          Dst:             sc_do_log
    - functionName:    _sc_pkcs15_verify_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 328
      functionLinenumberEnd: 330
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_verify_pin_with_session_pin
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pin.c:329,9'
          Dst:             sc_pkcs15_verify_pin_with_session_pin
    - functionName:    sc_pkcs15_verify_pin_with_session_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 344
      functionLinenumberEnd: 465
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         94
      ICount:          641
      EdgeCount:       121
      CyclomaticComplexity: 29
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_notify_id
        - sc_pin_cmd
        - sc_pkcs15_find_skey_by_id
        - sc_pkcs15_pincache_add
        - sc_pkcs15_print_id
        - sc_select_file
        - sc_strerror
        - sc_unlock
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-pin.c:378,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pin.c:351,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:352,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:357,3'
          Dst:             sc_notify_id
        - Src:             'pkcs15-pin.c:359,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:359,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:395,7'
          Dst:             sc_pkcs15_find_skey_by_id
        - Src:             'pkcs15-pin.c:397,4'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-pin.c:397,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:398,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:398,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:398,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:402,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:430,6'
          Dst:             sc_lock
        - Src:             'pkcs15-pin.c:431,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:431,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:435,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-pin.c:440,6'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-pin.c:442,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:444,3'
          Dst:             sc_pkcs15_pincache_add
        - Src:             'pkcs15-pin.c:449,3'
          Dst:             sc_notify_id
        - Src:             'pkcs15-pin.c:458,3'
          Dst:             sc_notify_id
        - Src:             'pkcs15-pin.c:463,2'
          Dst:             sc_unlock
        - Src:             'pkcs15-pin.c:464,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:464,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:464,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_pincache_add
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 743
      functionLinenumberEnd: 794
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          164
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_pkcs15_allocate_object_content
        - sc_pkcs15_compare_id
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pin.c:749,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:752,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:756,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:760,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:773,7'
          Dst:             sc_pkcs15_compare_id
        - Src:             'pkcs15-pin.c:777,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:786,6'
          Dst:             sc_pkcs15_allocate_object_content
        - Src:             'pkcs15-pin.c:788,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:793,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_free_auth_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 735
      functionLinenumberEnd: 737
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_get_pin_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 689
      functionLinenumberEnd: 731
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          199
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_pin_cmd
        - sc_select_file
        - sc_strerror
        - sc_unlock
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pin.c:696,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:698,6'
          Dst:             sc_lock
        - Src:             'pkcs15-pin.c:709,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-pin.c:720,6'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-pin.c:729,2'
          Dst:             sc_unlock
        - Src:             'pkcs15-pin.c:730,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:730,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:730,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_unblock_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 567
      functionLinenumberEnd: 685
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         77
      ICount:          583
      EdgeCount:       94
      CyclomaticComplexity: 19
      functionsReached:
        - _validate_pin
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_pin_cmd
        - sc_pkcs15_find_pin_by_auth_id
        - sc_pkcs15_pincache_add
        - sc_select_file
        - sc_strerror
        - sc_unlock
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-pin.c:646,2'
          Branch Sides:    []
        - Branch String:   'pkcs15-pin.c:655,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pin.c:577,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:579,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:579,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:579,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:582,6'
          Dst:             _validate_pin
        - Src:             'pkcs15-pin.c:583,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:583,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:590,6'
          Dst:             sc_pkcs15_find_pin_by_auth_id
        - Src:             'pkcs15-pin.c:598,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:602,6'
          Dst:             _validate_pin
        - Src:             'pkcs15-pin.c:603,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:603,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:611,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:611,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:614,6'
          Dst:             sc_lock
        - Src:             'pkcs15-pin.c:615,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:615,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:619,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-pin.c:677,6'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-pin.c:680,3'
          Dst:             sc_pkcs15_pincache_add
        - Src:             'pkcs15-pin.c:683,2'
          Dst:             sc_unlock
        - Src:             'pkcs15-pin.c:684,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:684,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:684,2'
          Dst:             sc_do_log
    - functionName:    _validate_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 261
      functionLinenumberEnd: 287
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          138
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_change_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 476
      functionLinenumberEnd: 558
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          456
      EdgeCount:       73
      CyclomaticComplexity: 16
      functionsReached:
        - _validate_pin
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_pin_cmd
        - sc_pkcs15_pincache_add
        - sc_select_file
        - sc_strerror
        - sc_unlock
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-pin.c:525,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pin.c:483,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:485,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:485,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:485,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:488,6'
          Dst:             _validate_pin
        - Src:             'pkcs15-pin.c:489,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:489,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:491,6'
          Dst:             _validate_pin
        - Src:             'pkcs15-pin.c:492,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:492,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:495,6'
          Dst:             sc_lock
        - Src:             'pkcs15-pin.c:496,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:496,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:499,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-pin.c:550,6'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-pin.c:553,3'
          Dst:             sc_pkcs15_pincache_add
        - Src:             'pkcs15-pin.c:556,2'
          Dst:             sc_unlock
    - functionName:    sc_pkcs15_verify_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 299
      functionLinenumberEnd: 322
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          191
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - _sc_pkcs15_verify_pin
        - _validate_pin
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_pincache_add
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pin.c:304,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:307,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:307,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:307,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:311,6'
          Dst:             _validate_pin
        - Src:             'pkcs15-pin.c:314,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:314,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:314,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:316,6'
          Dst:             _sc_pkcs15_verify_pin
        - Src:             'pkcs15-pin.c:319,3'
          Dst:             sc_pkcs15_pincache_add
        - Src:             'pkcs15-pin.c:321,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:321,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:321,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_encode_aodf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 213
      functionLinenumberEnd: 256
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          179
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pin.c:227,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:228,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:229,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:230,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:231,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:233,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:234,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:236,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:239,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:240,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:241,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:242,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:244,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:246,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:248,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:249,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:251,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:253,6'
          Dst:             sc_asn1_encode
    - functionName:    sc_pkcs15_decode_aodf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pin.c'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 208
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         77
      ICount:          579
      EdgeCount:       99
      CyclomaticComplexity: 24
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_print_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pin.c:101,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:103,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:104,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:106,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:108,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:109,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:111,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:112,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pin.c:114,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:115,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:116,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:119,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:120,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:121,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:122,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:123,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:124,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:125,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:126,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:129,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:130,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:131,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:134,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:136,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pin.c:143,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-pin.c:146,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:146,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:149,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:185,3'
          Dst:             sc_print_path
        - Src:             'pkcs15-pin.c:185,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:188,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:188,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:191,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:199,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:199,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:204,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:204,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:204,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pin.c:207,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pin.c:207,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pin.c:207,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_convert_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-prkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 628
      functionLinenumberEnd: 855
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          455
      EdgeCount:       81
      CyclomaticComplexity: 23
      functionsReached:
        - EC_GROUP_get_curve_name
        - EC_GROUP_get_degree
        - EC_KEY_free
        - EC_KEY_get0_group
        - EC_KEY_get0_private_key
        - EC_KEY_get0_public_key
        - EC_POINT_point2oct
        - EVP_PKEY_base_id
        - EVP_PKEY_get0
        - EVP_PKEY_get0_EC_KEY
        - EVP_PKEY_get1_RSA
        - OBJ_nid2sn
        - RSA_free
        - RSA_get0_crt_params
        - RSA_get0_factors
        - RSA_get0_key
        - realloc
        - sc_pkcs15_convert_bignum
        - strdup
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-prkey.c:634,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-prkey.c:632,12'
          Dst:             EVP_PKEY_base_id
        - Src:             'pkcs15-prkey.c:641,15'
          Dst:             EVP_PKEY_get1_RSA
        - Src:             'pkcs15-prkey.c:644,3'
          Dst:             RSA_get0_key
        - Src:             'pkcs15-prkey.c:645,3'
          Dst:             RSA_get0_factors
        - Src:             'pkcs15-prkey.c:646,3'
          Dst:             RSA_get0_crt_params
        - Src:             'pkcs15-prkey.c:668,8'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:669,5'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:670,5'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:671,5'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:672,5'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:683,4'
          Dst:             RSA_free
        - Src:             'pkcs15-prkey.c:688,4'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:689,4'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:690,4'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:693,3'
          Dst:             RSA_free
        - Src:             'pkcs15-prkey.c:715,15'
          Dst:             EVP_PKEY_get0
        - Src:             'pkcs15-prkey.c:717,24'
          Dst:             EC_KEY_get0_private_key
        - Src:             'pkcs15-prkey.c:725,3'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:727,3'
          Dst:             EC_KEY_free
        - Src:             'pkcs15-prkey.c:745,15'
          Dst:             EVP_PKEY_get0_EC_KEY
        - Src:             'pkcs15-prkey.c:747,24'
          Dst:             EC_KEY_get0_private_key
        - Src:             'pkcs15-prkey.c:748,20'
          Dst:             EC_KEY_get0_public_key
        - Src:             'pkcs15-prkey.c:749,12'
          Dst:             EC_KEY_get0_group
        - Src:             'pkcs15-prkey.c:751,9'
          Dst:             EC_GROUP_get_curve_name
        - Src:             'pkcs15-prkey.c:775,8'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-prkey.c:785,21'
          Dst:             OBJ_nid2sn
        - Src:             'pkcs15-prkey.c:787,31'
          Dst:             strdup
        - Src:             'pkcs15-prkey.c:796,12'
          Dst:             EC_POINT_point2oct
        - Src:             'pkcs15-prkey.c:818,30'
          Dst:             EC_GROUP_get_degree
        - Src:             'pkcs15-prkey.c:826,12'
          Dst:             realloc
    - functionName:    EVP_PKEY_base_id
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_get1_RSA
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RSA_get0_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RSA_get0_factors
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RSA_get0_crt_params
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_convert_bignum
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-prkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 609
      functionLinenumberEnd: 624
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          63
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - BN_bn2bin
        - BN_num_bits
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-prkey.c:615,13'
          Dst:             BN_num_bits
        - Src:             'pkcs15-prkey.c:619,2'
          Dst:             BN_bn2bin
    - functionName:    RSA_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    17
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_get0
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_get0_private_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    21
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_get0_EC_KEY
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_get0_public_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_get0_group
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_get_curve_name
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_POINT_point2oct
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_get_degree
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_free_prkey_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-prkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 593
      functionLinenumberEnd: 605
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          48
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_aux_data_free
        - sc_pkcs15_free_key_params
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-prkey.c:600,2'
          Dst:             sc_pkcs15_free_key_params
        - Src:             'pkcs15-prkey.c:602,2'
          Dst:             sc_aux_data_free
    - functionName:    sc_pkcs15_free_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-prkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 585
      functionLinenumberEnd: 590
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          28
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15_erase_prkey
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-prkey.c:588,2'
          Dst:             sc_pkcs15_erase_prkey
    - functionName:    sc_pkcs15_erase_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-prkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 554
      functionLinenumberEnd: 581
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          123
      EdgeCount:       14
      CyclomaticComplexity: 2
      functionsReached:
        - sc_clear_ec_params
        - sc_mem_clear
      functionUses:    2
      BranchProfiles:
        - Branch String:   'pkcs15-prkey.c:557,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-prkey.c:575,3'
          Dst:             sc_clear_ec_params
        - Src:             'pkcs15-prkey.c:580,2'
          Dst:             sc_mem_clear
    - functionName:    sc_pkcs15_prkey_attrs_from_cert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-prkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 475
      functionLinenumberEnd: 549
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         72
      ICount:          451
      EdgeCount:       91
      CyclomaticComplexity: 21
      functionsReached:
        - BIO_free
        - BIO_new_mem_buf
        - CRYPTO_free
        - CRYPTO_malloc
        - ERR_clear_error
        - X509_free
        - X509_get_subject_name
        - _strlcpy
        - d2i_X509_bio
        - i2d_X509
        - i2d_X509_NAME
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_dump_hex
        - sc_pkcs15_find_prkey_by_id
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-prkey.c:485,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:489,7'
          Dst:             sc_pkcs15_find_prkey_by_id
        - Src:             'pkcs15-prkey.c:491,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:491,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:491,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:492,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:492,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:496,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:497,8'
          Dst:             BIO_new_mem_buf
        - Src:             'pkcs15-prkey.c:499,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-prkey.c:500,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:500,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:503,6'
          Dst:             d2i_X509_bio
        - Src:             'pkcs15-prkey.c:505,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-prkey.c:506,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:506,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:508,9'
          Dst:             i2d_X509
        - Src:             'pkcs15-prkey.c:508,9'
          Dst:             CRYPTO_malloc
        - Src:             'pkcs15-prkey.c:510,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-prkey.c:511,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:511,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:515,21'
          Dst:             X509_get_subject_name
        - Src:             'pkcs15-prkey.c:515,7'
          Dst:             i2d_X509_NAME
        - Src:             'pkcs15-prkey.c:517,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-prkey.c:518,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:518,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:523,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:523,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:528,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-prkey.c:533,3'
          Dst:             X509_free
        - Src:             'pkcs15-prkey.c:535,3'
          Dst:             BIO_free
        - Src:             'pkcs15-prkey.c:537,3'
          Dst:             CRYPTO_free
        - Src:             'pkcs15-prkey.c:539,2'
          Dst:             ERR_clear_error
        - Src:             'pkcs15-prkey.c:544,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-prkey.c:544,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:545,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:545,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:545,2'
          Dst:             sc_do_log
    - functionName:    BIO_new_mem_buf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    d2i_X509_bio
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    i2d_X509
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CRYPTO_malloc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_get_subject_name
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    i2d_X509_NAME
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CRYPTO_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    36
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ERR_clear_error
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_encode_prkdf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-prkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 371
      functionLinenumberEnd: 470
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          419
      EdgeCount:       47
      CyclomaticComplexity: 10
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_print_path
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'pkcs15-prkey.c:414,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-prkey.c:401,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:402,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:404,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:405,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:406,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:407,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:408,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:409,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:411,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:412,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:416,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:417,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:418,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:419,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:422,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:423,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:424,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:425,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:428,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:429,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:430,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:433,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:434,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:435,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:439,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:440,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:440,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:440,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:443,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:445,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:447,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:450,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:453,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:456,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:457,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:459,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:462,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:466,6'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-prkey.c:468,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-prkey.c:468,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_decode_prkdf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-prkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 157
      functionLinenumberEnd: 366
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         86
      ICount:          742
      EdgeCount:       116
      CyclomaticComplexity: 32
      functionsReached:
        - ASN1_OBJECT_free
        - EC_GROUP_free
        - EC_GROUP_new_by_curve_name
        - EC_GROUP_order_bits
        - OBJ_obj2nid
        - d2i_ASN1_OBJECT
        - sc_asn1_decode_choice
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_dump_hex
        - sc_format_asn1_entry
        - sc_pkcs15_free_key_params
        - sc_pkcs15_make_absolute_path
        - sc_pkcs15_print_id
        - sc_print_path
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-prkey.c:180,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:181,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:183,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:184,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:185,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:186,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:187,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:188,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:190,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:191,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-prkey.c:193,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:194,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:195,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:197,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:198,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:199,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:201,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:202,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:204,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:205,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:206,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:207,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:209,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:210,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:211,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:213,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:214,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:215,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:216,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:217,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:220,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:221,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:223,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-prkey.c:231,6'
          Dst:             sc_asn1_decode_choice
        - Src:             'pkcs15-prkey.c:234,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:234,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:243,26'
          Dst:             d2i_ASN1_OBJECT
        - Src:             'pkcs15-prkey.c:250,10'
          Dst:             OBJ_obj2nid
        - Src:             'pkcs15-prkey.c:251,4'
          Dst:             ASN1_OBJECT_free
        - Src:             'pkcs15-prkey.c:253,5'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-prkey.c:257,12'
          Dst:             EC_GROUP_new_by_curve_name
        - Src:             'pkcs15-prkey.c:259,5'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-prkey.c:263,24'
          Dst:             EC_GROUP_order_bits
        - Src:             'pkcs15-prkey.c:264,4'
          Dst:             EC_GROUP_free
        - Src:             'pkcs15-prkey.c:266,5'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-prkey.c:296,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-prkey.c:296,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-prkey.c:304,7'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15-prkey.c:312,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-prkey.c:312,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:321,3'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-prkey.c:321,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:335,6'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-prkey.c:335,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:344,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:354,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-prkey.c:354,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:355,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-prkey.c:355,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-prkey.c:363,3'
          Dst:             sc_pkcs15_free_key_params
    - functionName:    d2i_ASN1_OBJECT
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_new_by_curve_name
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_order_bits
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_convert_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1686
      functionLinenumberEnd: 1886
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         65
      ICount:          434
      EdgeCount:       86
      CyclomaticComplexity: 23
      functionsReached:
        - BN_bn2bin
        - BN_free
        - BN_new
        - BN_num_bits
        - EC_GROUP_get_curve_name
        - EC_KEY_get0_group
        - EC_KEY_get0_public_key
        - EC_POINT_get_affine_coordinates
        - EC_POINT_point2oct
        - EVP_PKEY_base_id
        - EVP_PKEY_get0
        - EVP_PKEY_get0_EC_KEY
        - EVP_PKEY_get1_RSA
        - OBJ_nid2sn
        - RSA_free
        - RSA_get0_key
        - sc_mem_reverse
        - sc_pkcs15_convert_bignum
        - strdup
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-pubkey.c:1692,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1690,12'
          Dst:             EVP_PKEY_base_id
        - Src:             'pkcs15-pubkey.c:1699,15'
          Dst:             EVP_PKEY_get1_RSA
        - Src:             'pkcs15-pubkey.c:1701,3'
          Dst:             RSA_get0_key
        - Src:             'pkcs15-pubkey.c:1703,4'
          Dst:             RSA_free
        - Src:             'pkcs15-pubkey.c:1716,8'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-pubkey.c:1717,5'
          Dst:             sc_pkcs15_convert_bignum
        - Src:             'pkcs15-pubkey.c:1719,4'
          Dst:             RSA_free
        - Src:             'pkcs15-pubkey.c:1727,3'
          Dst:             RSA_free
        - Src:             'pkcs15-pubkey.c:1742,17'
          Dst:             EVP_PKEY_get0
        - Src:             'pkcs15-pubkey.c:1744,17'
          Dst:             EC_KEY_get0_public_key
        - Src:             'pkcs15-pubkey.c:1745,14'
          Dst:             EC_KEY_get0_group
        - Src:             'pkcs15-pubkey.c:1785,7'
          Dst:             BN_new
        - Src:             'pkcs15-pubkey.c:1786,7'
          Dst:             BN_new
        - Src:             'pkcs15-pubkey.c:1788,9'
          Dst:             EC_POINT_get_affine_coordinates
        - Src:             'pkcs15-pubkey.c:1790,18'
          Dst:             BN_num_bits
        - Src:             'pkcs15-pubkey.c:1790,36'
          Dst:             BN_num_bits
        - Src:             'pkcs15-pubkey.c:1793,5'
          Dst:             BN_bn2bin
        - Src:             'pkcs15-pubkey.c:1794,33'
          Dst:             BN_num_bits
        - Src:             'pkcs15-pubkey.c:1794,5'
          Dst:             BN_bn2bin
        - Src:             'pkcs15-pubkey.c:1795,9'
          Dst:             sc_mem_reverse
        - Src:             'pkcs15-pubkey.c:1803,3'
          Dst:             BN_free
        - Src:             'pkcs15-pubkey.c:1804,3'
          Dst:             BN_free
        - Src:             'pkcs15-pubkey.c:1824,15'
          Dst:             EVP_PKEY_get0_EC_KEY
        - Src:             'pkcs15-pubkey.c:1826,17'
          Dst:             EC_KEY_get0_public_key
        - Src:             'pkcs15-pubkey.c:1827,12'
          Dst:             EC_KEY_get0_group
        - Src:             'pkcs15-pubkey.c:1832,12'
          Dst:             EC_POINT_point2oct
        - Src:             'pkcs15-pubkey.c:1836,9'
          Dst:             EC_GROUP_get_curve_name
        - Src:             'pkcs15-pubkey.c:1838,29'
          Dst:             OBJ_nid2sn
        - Src:             'pkcs15-pubkey.c:1840,31'
          Dst:             strdup
    - functionName:    EC_POINT_get_affine_coordinates
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    24
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_read_der_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1241
      functionLinenumberEnd: 1317
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          324
      EdgeCount:       70
      CyclomaticComplexity: 19
      functionsReached:
        - close
        - open
        - read
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1253,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1255,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1255,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1255,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1260,6'
          Dst:             open
        - Src:             'pkcs15-pubkey.c:1266,7'
          Dst:             read
        - Src:             'pkcs15-pubkey.c:1268,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1275,6'
          Dst:             sc_asn1_read_tag
        - Src:             'pkcs15-pubkey.c:1300,8'
          Dst:             read
        - Src:             'pkcs15-pubkey.c:1314,3'
          Dst:             close
        - Src:             'pkcs15-pubkey.c:1316,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1316,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1316,2'
          Dst:             sc_do_log
    - functionName:    open
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    read
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    close
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_pubkey_from_spki_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1481
      functionLinenumberEnd: 1495
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          92
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_pubkey_from_spki_sequence
        - sc_pkcs15_read_der_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1486,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1488,6'
          Dst:             sc_pkcs15_read_der_file
        - Src:             'pkcs15-pubkey.c:1489,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1489,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1491,6'
          Dst:             sc_pkcs15_pubkey_from_spki_sequence
        - Src:             'pkcs15-pubkey.c:1494,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1494,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1494,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_pubkey_from_spki_sequence
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1456
      functionLinenumberEnd: 1475
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          128
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_asn1_decode
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1463,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1465,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-pubkey.c:1466,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1466,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1474,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1474,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1474,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_pubkey_from_spki_fields
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1326
      functionLinenumberEnd: 1450
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         105
      ICount:          700
      EdgeCount:       134
      CyclomaticComplexity: 31
      functionsReached:
        - calloc
        - sc_asn1_clear_algorithm_id
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_encode_oid
        - sc_format_asn1_entry
        - sc_pkcs15_decode_pubkey
        - sc_pkcs15_fix_ec_parameters
        - sc_pkcs15_free_pubkey
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1335,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-pubkey.c:1335,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1339,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1339,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1345,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1345,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1353,11'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:1356,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1356,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1359,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:1361,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:1362,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:1364,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-pubkey.c:1366,3'
          Dst:             sc_asn1_clear_algorithm_id
        - Src:             'pkcs15-pubkey.c:1367,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1367,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1370,19'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:1373,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1373,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1379,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1382,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1382,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1399,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1399,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1404,8'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-pubkey.c:1405,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1405,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1411,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1411,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1422,7'
          Dst:             sc_encode_oid
        - Src:             'pkcs15-pubkey.c:1423,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1423,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1424,7'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-pubkey.c:1425,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1425,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1430,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1430,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1437,7'
          Dst:             sc_pkcs15_decode_pubkey
        - Src:             'pkcs15-pubkey.c:1438,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1438,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1445,2'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             'pkcs15-pubkey.c:1449,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1449,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1449,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_fix_ec_parameters
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1564
      functionLinenumberEnd: 1681
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         131
      ICount:          851
      EdgeCount:       165
      CyclomaticComplexity: 36
      functionsReached:
        - memcmp
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_encode_oid
        - sc_format_oid
        - sc_strerror
        - strcmp
        - strdup
        - strlen
      functionUses:    15
      BranchProfiles:
        - Branch String:   'pkcs15-pubkey.c:1573,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1568,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1579,7'
          Dst:             memcmp
        - Src:             'pkcs15-pubkey.c:1593,13'
          Dst:             sc_asn1_read_tag
        - Src:             'pkcs15-pubkey.c:1595,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1596,6'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1596,6'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1596,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1599,19'
          Dst:             strlen
        - Src:             'pkcs15-pubkey.c:1600,28'
          Dst:             memcmp
        - Src:             'pkcs15-pubkey.c:1610,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1611,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1611,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1611,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1615,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1615,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1618,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1625,28'
          Dst:             strdup
        - Src:             'pkcs15-pubkey.c:1627,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1627,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1627,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1629,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1633,3'
          Dst:             sc_format_oid
        - Src:             'pkcs15-pubkey.c:1637,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1645,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1645,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1645,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1652,9'
          Dst:             strcmp
        - Src:             'pkcs15-pubkey.c:1654,9'
          Dst:             strcmp
        - Src:             'pkcs15-pubkey.c:1658,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1659,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1659,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1659,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1662,8'
          Dst:             sc_format_oid
        - Src:             'pkcs15-pubkey.c:1663,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1663,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1667,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1674,9'
          Dst:             sc_encode_oid
        - Src:             'pkcs15-pubkey.c:1675,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1675,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1678,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1678,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1680,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1680,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1680,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_decode_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 892
      functionLinenumberEnd: 904
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          110
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_pkcs15_decode_pubkey_ec
        - sc_pkcs15_decode_pubkey_eddsa
        - sc_pkcs15_decode_pubkey_gostr3410
        - sc_pkcs15_decode_pubkey_rsa
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:894,10'
          Dst:             sc_pkcs15_decode_pubkey_rsa
        - Src:             'pkcs15-pubkey.c:896,10'
          Dst:             sc_pkcs15_decode_pubkey_gostr3410
        - Src:             'pkcs15-pubkey.c:898,10'
          Dst:             sc_pkcs15_decode_pubkey_ec
        - Src:             'pkcs15-pubkey.c:900,10'
          Dst:             sc_pkcs15_decode_pubkey_eddsa
        - Src:             'pkcs15-pubkey.c:902,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_free_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1217
      functionLinenumberEnd: 1222
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          28
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15_erase_pubkey
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1220,2'
          Dst:             sc_pkcs15_erase_pubkey
    - functionName:    sc_pkcs15_erase_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1187
      functionLinenumberEnd: 1212
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          111
      EdgeCount:       18
      CyclomaticComplexity: 3
      functionsReached:
        - sc_asn1_clear_algorithm_id
        - sc_mem_clear
      functionUses:    9
      BranchProfiles:
        - Branch String:   'pkcs15-pubkey.c:1195,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1192,3'
          Dst:             sc_asn1_clear_algorithm_id
        - Src:             'pkcs15-pubkey.c:1211,2'
          Dst:             sc_mem_clear
    - functionName:    sc_pkcs15_decode_pubkey_rsa
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 563
      functionLinenumberEnd: 580
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          111
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:568,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:569,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:570,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:572,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:573,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:574,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:576,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-pubkey.c:577,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:577,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:579,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:579,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:579,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_decode_pubkey_gostr3410
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 609
      functionLinenumberEnd: 626
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          107
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:615,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:616,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:617,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:619,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-pubkey.c:620,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:620,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:625,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:625,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:625,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_decode_pubkey_ec
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 654
      functionLinenumberEnd: 686
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          215
      EdgeCount:       41
      CyclomaticComplexity: 10
      functionsReached:
        - sc_asn1_decode_choice
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:660,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:661,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:662,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:663,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:664,6'
          Dst:             sc_asn1_decode_choice
        - Src:             'pkcs15-pubkey.c:667,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:667,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:667,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:670,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:674,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:678,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:678,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:685,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:685,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:685,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_decode_pubkey_eddsa
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 724
      functionLinenumberEnd: 748
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          172
      EdgeCount:       32
      CyclomaticComplexity: 8
      functionsReached:
        - sc_asn1_decode_choice
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:730,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:731,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:732,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:733,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:734,6'
          Dst:             sc_asn1_decode_choice
        - Src:             'pkcs15-pubkey.c:737,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:737,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:737,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:747,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:747,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:747,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_dup_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1092
      functionLinenumberEnd: 1181
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         71
      ICount:          481
      EdgeCount:       89
      CyclomaticComplexity: 20
      functionsReached:
        - calloc
        - sc_asn1_decode_algorithm_id
        - sc_asn1_encode_algorithm_id
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_dup_bignum
        - sc_pkcs15_fix_ec_parameters
        - sc_pkcs15_free_pubkey
        - sc_strerror
        - strdup
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-pubkey.c:1124,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1098,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1105,11'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:1107,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1107,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1107,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1112,8'
          Dst:             sc_asn1_encode_algorithm_id
        - Src:             'pkcs15-pubkey.c:1114,47'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:1117,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1117,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1117,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1119,9'
          Dst:             sc_asn1_decode_algorithm_id
        - Src:             'pkcs15-pubkey.c:1126,8'
          Dst:             sc_pkcs15_dup_bignum
        - Src:             'pkcs15-pubkey.c:1128,9'
          Dst:             sc_pkcs15_dup_bignum
        - Src:             'pkcs15-pubkey.c:1144,9'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-pubkey.c:1160,39'
          Dst:             strdup
        - Src:             'pkcs15-pubkey.c:1164,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1171,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1176,3'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             'pkcs15-pubkey.c:1180,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1180,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1180,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_dup_bignum
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1018
      functionLinenumberEnd: 1032
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          91
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1024,15'
          Dst:             calloc
    - functionName:    sc_pkcs15_pubkey_from_prvkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1038
      functionLinenumberEnd: 1087
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          278
      EdgeCount:       53
      CyclomaticComplexity: 11
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_dup_bignum
        - sc_pkcs15_free_pubkey
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-pubkey.c:1052,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1047,11'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:1054,8'
          Dst:             sc_pkcs15_dup_bignum
        - Src:             'pkcs15-pubkey.c:1056,9'
          Dst:             sc_pkcs15_dup_bignum
        - Src:             'pkcs15-pubkey.c:1065,4'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             'pkcs15-pubkey.c:1066,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1066,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1066,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1070,4'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             'pkcs15-pubkey.c:1071,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1071,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1071,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1077,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:1082,3'
          Dst:             sc_pkcs15_free_pubkey
    - functionName:    sc_pkcs15_read_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 913
      functionLinenumberEnd: 1013
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         113
      ICount:          663
      EdgeCount:       143
      CyclomaticComplexity: 32
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_decode_pubkey
        - sc_pkcs15_free_pubkey
        - sc_pkcs15_pubkey_from_spki_sequence
        - sc_pkcs15_read_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-pubkey.c:931,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pubkey.c:928,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:929,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:948,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:948,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:952,11'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:954,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:954,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:954,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:961,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:962,7'
          Dst:             sc_pkcs15_pubkey_from_spki_sequence
        - Src:             'pkcs15-pubkey.c:963,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:963,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:966,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:967,7'
          Dst:             sc_pkcs15_decode_pubkey
        - Src:             'pkcs15-pubkey.c:968,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:968,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:969,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:972,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:973,7'
          Dst:             sc_pkcs15_decode_pubkey
        - Src:             'pkcs15-pubkey.c:974,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:974,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:975,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:978,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:982,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:982,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:984,7'
          Dst:             sc_pkcs15_decode_pubkey
        - Src:             'pkcs15-pubkey.c:985,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:985,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:988,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:990,7'
          Dst:             sc_pkcs15_read_file
        - Src:             'pkcs15-pubkey.c:991,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:991,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:995,8'
          Dst:             sc_pkcs15_pubkey_from_spki_sequence
        - Src:             'pkcs15-pubkey.c:997,8'
          Dst:             sc_pkcs15_decode_pubkey
        - Src:             'pkcs15-pubkey.c:998,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:998,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1002,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1002,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1007,3'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             'pkcs15-pubkey.c:1012,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:1012,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:1012,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_encode_pubkey_as_spki
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 801
      functionLinenumberEnd: 886
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          474
      EdgeCount:       79
      CyclomaticComplexity: 16
      functionsReached:
        - calloc
        - sc_asn1_clear_algorithm_id
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_init_oid
        - sc_pkcs15_encode_pubkey
        - sc_pkcs15_fix_ec_parameters
        - sc_strerror
      functionUses:    11
      BranchProfiles:
        - Branch String:   'pkcs15-pubkey.c:821,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pubkey.c:807,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:811,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:813,20'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:815,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:815,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:815,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:817,3'
          Dst:             sc_init_oid
        - Src:             'pkcs15-pubkey.c:837,8'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-pubkey.c:838,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:838,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:842,17'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:844,6'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:844,6'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:844,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:846,28'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:849,6'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:849,6'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:849,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:855,4'
          Dst:             sc_asn1_clear_algorithm_id
        - Src:             'pkcs15-pubkey.c:862,7'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             'pkcs15-pubkey.c:866,7'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             'pkcs15-pubkey.c:872,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:873,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:874,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:875,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:876,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:878,8'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-pubkey.c:885,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:885,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:885,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_encode_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 769
      functionLinenumberEnd: 781
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          136
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_encode_pubkey_ec
        - sc_pkcs15_encode_pubkey_eddsa
        - sc_pkcs15_encode_pubkey_gostr3410
        - sc_pkcs15_encode_pubkey_rsa
        - sc_strerror
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:771,10'
          Dst:             sc_pkcs15_encode_pubkey_rsa
        - Src:             'pkcs15-pubkey.c:773,10'
          Dst:             sc_pkcs15_encode_pubkey_gostr3410
        - Src:             'pkcs15-pubkey.c:775,10'
          Dst:             sc_pkcs15_encode_pubkey_ec
        - Src:             'pkcs15-pubkey.c:777,10'
          Dst:             sc_pkcs15_encode_pubkey_eddsa
        - Src:             'pkcs15-pubkey.c:779,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:780,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:780,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:780,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_encode_pubkey_rsa
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 586
      functionLinenumberEnd: 603
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          113
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:591,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:592,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:593,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:595,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:596,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:597,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:599,6'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-pubkey.c:600,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:600,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:602,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:602,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:602,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_encode_pubkey_gostr3410
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 632
      functionLinenumberEnd: 644
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          96
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:636,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:637,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:638,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:640,6'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-pubkey.c:641,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:641,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:643,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:643,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:643,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_encode_pubkey_ec
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 692
      functionLinenumberEnd: 711
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          77
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:705,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:706,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:709,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:711,2'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-pubkey.c:711,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:711,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:711,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_encode_pubkey_eddsa
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 753
      functionLinenumberEnd: 762
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          77
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:757,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:759,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:760,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:762,2'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-pubkey.c:762,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:762,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:762,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_encode_pukdf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 372
      functionLinenumberEnd: 520
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         81
      ICount:          683
      EdgeCount:       102
      CyclomaticComplexity: 23
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_print_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-pubkey.c:414,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-pubkey.c:401,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:402,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:403,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:404,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:405,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:406,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:407,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:408,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:409,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:410,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:411,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:412,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:416,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:418,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:420,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:424,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:425,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:430,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:433,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:433,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:433,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:437,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:440,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:441,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:444,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:445,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:448,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:449,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:452,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:454,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:456,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:459,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:461,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:463,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:468,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:470,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:473,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:476,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:479,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:480,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:480,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:483,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:484,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:484,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:487,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:491,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:492,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:492,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:492,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:496,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:498,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:500,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:503,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:506,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:507,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:510,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:514,6'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-pubkey.c:516,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-pubkey.c:516,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_free_pubkey_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1227
      functionLinenumberEnd: 1235
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15_free_key_params
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:1232,3'
          Dst:             sc_pkcs15_free_key_params
    - functionName:    sc_pkcs15_decode_pukdf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 202
      functionLinenumberEnd: 366
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         60
      ICount:          621
      EdgeCount:       80
      CyclomaticComplexity: 22
      functionsReached:
        - calloc
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_pkcs15_decode_pubkey_direct_value
        - sc_pkcs15_free_pubkey_info
        - sc_pkcs15_make_absolute_path
        - sc_print_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:228,9'
          Dst:             calloc
        - Src:             'pkcs15-pubkey.c:236,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:237,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:238,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:239,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:240,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:241,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:242,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:243,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:244,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:245,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:246,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:247,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pubkey.c:249,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:251,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:252,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:253,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:255,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:257,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:258,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:260,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:261,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:263,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:265,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:266,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:268,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:270,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:272,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:273,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:274,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:275,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:277,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:278,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:279,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:280,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:281,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:283,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pubkey.c:290,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-pubkey.c:293,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:293,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:328,7'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15-pubkey.c:336,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-pubkey.c:336,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:347,6'
          Dst:             sc_pkcs15_decode_pubkey_direct_value
        - Src:             'pkcs15-pubkey.c:352,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:352,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:356,3'
          Dst:             sc_pkcs15_free_pubkey_info
        - Src:             'pkcs15-pubkey.c:365,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:365,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:365,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_decode_pubkey_direct_value
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pubkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 155
      functionLinenumberEnd: 196
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         51
      ICount:          378
      EdgeCount:       63
      CyclomaticComplexity: 14
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_encode_pubkey
        - sc_pkcs15_free_pubkey
        - sc_pkcs15_pubkey_from_spki_sequence
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pubkey.c:159,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:161,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:161,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:161,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:165,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:168,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:168,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:168,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:180,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:183,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:183,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:183,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pubkey.c:187,8'
          Dst:             sc_pkcs15_pubkey_from_spki_sequence
        - Src:             'pkcs15-pubkey.c:188,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:188,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:190,8'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             'pkcs15-pubkey.c:191,3'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             'pkcs15-pubkey.c:192,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:192,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:195,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pubkey.c:195,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pubkey.c:195,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_free_skey_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-skey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 275
      functionLinenumberEnd: 280
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          31
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_encode_skdf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-skey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 201
      functionLinenumberEnd: 271
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          333
      EdgeCount:       46
      CyclomaticComplexity: 9
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_print_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-skey.c:230,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-skey.c:218,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-skey.c:220,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:221,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:222,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:224,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:225,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:226,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:227,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:229,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:232,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:235,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:238,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:241,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:244,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-skey.c:245,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-skey.c:245,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skey.c:245,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-skey.c:249,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:250,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:252,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:254,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:256,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:258,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:259,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:261,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:263,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:265,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:267,6'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-skey.c:269,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-skey.c:269,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-skey.c:270,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-skey.c:270,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skey.c:270,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_decode_skdf_entry
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-skey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 102
      functionLinenumberEnd: 195
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          491
      EdgeCount:       88
      CyclomaticComplexity: 21
      functionsReached:
        - sc_asn1_decode
        - sc_compare_oid
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-skey.c:121,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-skey.c:123,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:124,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:125,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:127,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:128,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:129,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:130,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-skey.c:132,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:133,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:134,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:135,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:136,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:138,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:139,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:140,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:141,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:142,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:144,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:145,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:147,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:149,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:150,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-skey.c:156,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-skey.c:159,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-skey.c:159,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skey.c:172,10'
          Dst:             sc_compare_oid
        - Src:             'pkcs15-skey.c:187,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-skey.c:187,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skey.c:191,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-skey.c:191,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skey.c:191,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-skey.c:194,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-skey.c:194,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skey.c:194,2'
          Dst:             sc_do_log
    - functionName:    asn1_free_ec_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 338
      functionLinenumberEnd: 348
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          62
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    asn1_encode_ec_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 314
      functionLinenumberEnd: 334
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          101
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:318,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:330,3'
          Dst:             sc_do_log
    - functionName:    asn1_decode_ec_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 265
      functionLinenumberEnd: 309
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          132
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - calloc
        - sc_asn1_decode_choice
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:276,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:277,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:283,6'
          Dst:             sc_asn1_decode_choice
        - Src:             'pkcs15-algo.c:285,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:289,8'
          Dst:             calloc
    - functionName:    asn1_free_pbes2_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 247
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_asn1_clear_algorithm_id
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:250,2'
          Dst:             sc_asn1_clear_algorithm_id
        - Src:             'pkcs15-algo.c:251,2'
          Dst:             sc_asn1_clear_algorithm_id
    - functionName:    sc_asn1_clear_algorithm_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 617
      functionLinenumberEnd: 624
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          57
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - sc_asn1_get_algorithm_info
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:620,27'
          Dst:             sc_asn1_get_algorithm_info
    - functionName:    sc_asn1_get_algorithm_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 486
      functionLinenumberEnd: 498
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          83
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_compare_oid
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:490,34'
          Dst:             sc_compare_oid
    - functionName:    asn1_decode_des_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 63
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          82
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:51,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:52,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:53,6'
          Dst:             _sc_asn1_decode
    - functionName:    asn1_encode_des_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 68
      functionLinenumberEnd: 74
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          37
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:72,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:73,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:74,9'
          Dst:             _sc_asn1_encode
    - functionName:    asn1_decode_gostr3410_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 92
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          54
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:97,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:98,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:100,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:101,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:102,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:103,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:105,6'
          Dst:             _sc_asn1_decode
    - functionName:    asn1_encode_gostr3410_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 114
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          61
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_dump_hex
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:119,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:120,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:122,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:123,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:124,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:127,6'
          Dst:             _sc_asn1_encode
        - Src:             'pkcs15-algo.c:129,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-algo.c:129,2'
          Dst:             sc_do_log
    - functionName:    asn1_decode_pbkdf2_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 144
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          90
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:149,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:150,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:152,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:154,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:156,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:163,6'
          Dst:             _sc_asn1_decode
    - functionName:    asn1_encode_pbkdf2_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 195
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          86
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:183,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:184,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:186,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:189,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:192,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:195,9'
          Dst:             _sc_asn1_encode
    - functionName:    asn1_decode_pbes2_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 207
      functionLinenumberEnd: 227
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          75
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:212,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:213,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:215,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:219,6'
          Dst:             _sc_asn1_decode
    - functionName:    asn1_encode_pbes2_params
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 232
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          44
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:237,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:238,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:240,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:242,9'
          Dst:             _sc_asn1_encode
    - functionName:    sc_asn1_encode_algorithm_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 547
      functionLinenumberEnd: 613
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          402
      EdgeCount:       79
      CyclomaticComplexity: 19
      functionsReached:
        - _sc_asn1_encode
        - realloc
        - sc_asn1_get_algorithm_info
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_dump_oid
        - sc_format_asn1_entry
        - sc_strerror
        - sc_valid_oid
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:556,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:557,9'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:558,13'
          Dst:             sc_asn1_get_algorithm_info
        - Src:             'pkcs15-algo.c:560,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:561,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-algo.c:561,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-algo.c:561,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:565,7'
          Dst:             sc_valid_oid
        - Src:             'pkcs15-algo.c:571,9'
          Dst:             sc_dump_oid
        - Src:             'pkcs15-algo.c:571,9'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:572,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:573,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:584,6'
          Dst:             _sc_asn1_encode
        - Src:             'pkcs15-algo.c:585,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-algo.c:585,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-algo.c:593,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-algo.c:593,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-algo.c:593,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:598,16'
          Dst:             realloc
        - Src:             'pkcs15-algo.c:603,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-algo.c:603,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-algo.c:603,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:611,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-algo.c:611,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:612,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-algo.c:612,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-algo.c:612,2'
          Dst:             sc_do_log
    - functionName:    sc_asn1_decode_algorithm_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-algo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 510
      functionLinenumberEnd: 541
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          194
      EdgeCount:       34
      CyclomaticComplexity: 8
      functionsReached:
        - _sc_asn1_decode
        - sc_asn1_get_algorithm_info
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_dump_oid
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-algo.c:515,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:516,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-algo.c:517,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-algo.c:520,6'
          Dst:             _sc_asn1_decode
        - Src:             'pkcs15-algo.c:521,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-algo.c:521,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-algo.c:523,9'
          Dst:             sc_dump_oid
        - Src:             'pkcs15-algo.c:523,9'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:528,13'
          Dst:             sc_asn1_get_algorithm_info
        - Src:             'pkcs15-algo.c:533,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:534,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-algo.c:534,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-algo.c:534,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-algo.c:540,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-algo.c:540,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-algo.c:540,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_cache_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cache.c'
      linkageType:     InternalLinkage
      functionLinenumber: 196
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          174
      EdgeCount:       33
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - fclose
        - fopen
        - fseek
        - ftell
        - fwrite
        - generate_cache_filename
        - sc_do_log
        - sc_make_cache_dir
        - unlink
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cache.c:203,6'
          Dst:             generate_cache_filename
        - Src:             'pkcs15-cache.c:207,6'
          Dst:             fopen
        - Src:             'pkcs15-cache.c:211,19'
          Dst:             __errno_location
        - Src:             'pkcs15-cache.c:212,12'
          Dst:             sc_make_cache_dir
        - Src:             'pkcs15-cache.c:214,7'
          Dst:             fopen
        - Src:             'pkcs15-cache.c:221,8'
          Dst:             ftell
        - Src:             'pkcs15-cache.c:224,7'
          Dst:             fseek
        - Src:             'pkcs15-cache.c:226,4'
          Dst:             fclose
        - Src:             'pkcs15-cache.c:231,3'
          Dst:             fclose
        - Src:             'pkcs15-cache.c:235,6'
          Dst:             fwrite
        - Src:             'pkcs15-cache.c:236,2'
          Dst:             fclose
        - Src:             'pkcs15-cache.c:238,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cache.c:239,3'
          Dst:             unlink
    - functionName:    generate_cache_filename
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cache.c'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          400
      EdgeCount:       72
      CyclomaticComplexity: 20
      functionsReached:
        - _strlcpy
        - memcmp
        - sc_card_ctl
        - sc_dump_hex
        - sc_get_cache_dir
        - sc_pkcs15_get_lastupdate
        - snprintf
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cache.c:58,6'
          Dst:             sc_get_cache_dir
        - Src:             'pkcs15-cache.c:61,17'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:61,44'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:61,2'
          Dst:             snprintf
        - Src:             'pkcs15-cache.c:63,16'
          Dst:             sc_pkcs15_get_lastupdate
        - Src:             'pkcs15-cache.c:68,18'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:68,45'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:68,3'
          Dst:             snprintf
        - Src:             'pkcs15-cache.c:72,18'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:72,45'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:73,18'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-cache.c:72,3'
          Dst:             snprintf
        - Src:             'pkcs15-cache.c:78,20'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-cache.c:79,18'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:79,45'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:79,3'
          Dst:             snprintf
        - Src:             'pkcs15-cache.c:83,18'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:83,45'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:83,3'
          Dst:             snprintf
        - Src:             'pkcs15-cache.c:85,19'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:85,46'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:85,4'
          Dst:             snprintf
        - Src:             'pkcs15-cache.c:95,24'
          Dst:             memcmp
        - Src:             'pkcs15-cache.c:97,18'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:97,45'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:97,3'
          Dst:             snprintf
        - Src:             'pkcs15-cache.c:99,19'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:99,46'
          Dst:             strlen
        - Src:             'pkcs15-cache.c:99,4'
          Dst:             snprintf
        - Src:             'pkcs15-cache.c:105,2'
          Dst:             _strlcpy
    - functionName:    ftell
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fseek
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fwrite
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    unlink
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15_read_cached_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cache.c'
      linkageType:     InternalLinkage
      functionLinenumber: 113
      functionLinenumberEnd: 191
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          273
      EdgeCount:       59
      CyclomaticComplexity: 18
      functionsReached:
        - fclose
        - fileno
        - fopen
        - fread
        - fseek
        - fstat
        - generate_cache_filename
        - sc_do_log
        - sc_print_path
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cache.c:128,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-cache.c:128,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cache.c:129,7'
          Dst:             generate_cache_filename
        - Src:             'pkcs15-cache.c:132,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cache.c:134,6'
          Dst:             fopen
        - Src:             'pkcs15-cache.c:137,12'
          Dst:             fileno
        - Src:             'pkcs15-cache.c:137,6'
          Dst:             fstat
        - Src:             'pkcs15-cache.c:138,3'
          Dst:             fclose
        - Src:             'pkcs15-cache.c:152,12'
          Dst:             fseek
        - Src:             'pkcs15-cache.c:173,15'
          Dst:             fread
        - Src:             'pkcs15-cache.c:189,2'
          Dst:             fclose
    - functionName:    fstat
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fread
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_get_df
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 340
      functionLinenumberEnd: 365
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          100
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - sc_file_free
        - sc_file_new
        - sc_format_path
        - sc_pkcs15_add_df
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:357,10'
          Dst:             sc_file_new
        - Src:             'pkcs15-syn.c:360,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-syn.c:361,3'
          Dst:             sc_pkcs15_add_df
        - Src:             'pkcs15-syn.c:362,3'
          Dst:             sc_file_free
    - functionName:    sc_pkcs15emu_add_data_object
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 487
      functionLinenumberEnd: 488
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:488,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_object_add
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 493
      functionLinenumberEnd: 567
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          336
      EdgeCount:       48
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_add_object
        - sc_pkcs15emu_get_df
        - sc_strerror
      functionUses:    15
      BranchProfiles:
        - Branch String:   'pkcs15-syn.c:508,2'
          Branch Sides:    []
        - Branch String:   'pkcs15-syn.c:546,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-syn.c:498,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:500,8'
          Dst:             calloc
        - Src:             'pkcs15-syn.c:502,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-syn.c:502,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-syn.c:502,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:530,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:532,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-syn.c:532,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-syn.c:532,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:535,14'
          Dst:             calloc
        - Src:             'pkcs15-syn.c:538,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-syn.c:538,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-syn.c:538,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:542,12'
          Dst:             sc_pkcs15emu_get_df
        - Src:             'pkcs15-syn.c:543,2'
          Dst:             sc_pkcs15_add_object
        - Src:             'pkcs15-syn.c:566,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-syn.c:566,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-syn.c:566,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_add_x509_cert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 481
      functionLinenumberEnd: 482
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    23
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:482,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_add_xeddsa_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 470
      functionLinenumberEnd: 476
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:476,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_add_xeddsa_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 456
      functionLinenumberEnd: 465
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:465,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_add_eddsa_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 445
      functionLinenumberEnd: 451
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:451,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_add_eddsa_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 431
      functionLinenumberEnd: 440
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:440,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_add_ec_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 420
      functionLinenumberEnd: 426
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:426,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_add_ec_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 406
      functionLinenumberEnd: 415
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:415,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_add_rsa_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 395
      functionLinenumberEnd: 401
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:401,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_add_rsa_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 381
      functionLinenumberEnd: 390
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    20
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:390,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    sc_pkcs15emu_add_pin_obj
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 369
      functionLinenumberEnd: 376
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          40
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_object_add
      functionUses:    27
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:376,9'
          Dst:             sc_pkcs15emu_object_add
    - functionName:    parse_emu_block
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 237
      functionLinenumberEnd: 336
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         60
      ICount:          362
      EdgeCount:       79
      CyclomaticComplexity: 21
      functionsReached:
        - __isoc99_sscanf
        - sc_dlclose
        - sc_dlerror
        - sc_dlopen
        - sc_dlsym
        - sc_do_log
        - sc_pkcs15_card_clear
        - sc_strerror
        - scconf_get_str
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:251,16'
          Dst:             scconf_get_str
        - Src:             'pkcs15-syn.c:252,7'
          Dst:             strcmp
        - Src:             'pkcs15-syn.c:259,9'
          Dst:             strcmp
        - Src:             'pkcs15-syn.c:266,10'
          Dst:             strcmp
        - Src:             'pkcs15-syn.c:278,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:281,12'
          Dst:             sc_dlopen
        - Src:             'pkcs15-syn.c:283,4'
          Dst:             sc_dlerror
        - Src:             'pkcs15-syn.c:283,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:289,42'
          Dst:             sc_dlsym
        - Src:             'pkcs15-syn.c:291,13'
          Dst:             __isoc99_sscanf
        - Src:             'pkcs15-syn.c:292,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:293,5'
          Dst:             sc_dlclose
        - Src:             'pkcs15-syn.c:303,11'
          Dst:             scconf_get_str
        - Src:             'pkcs15-syn.c:305,14'
          Dst:             sc_dlsym
        - Src:             'pkcs15-syn.c:309,11'
          Dst:             scconf_get_str
        - Src:             'pkcs15-syn.c:311,14'
          Dst:             sc_dlsym
        - Src:             'pkcs15-syn.c:325,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:328,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-syn.c:328,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:330,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-syn.c:332,4'
          Dst:             sc_dlclose
    - functionName:    sc_pkcs15_bind_synthetic
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 232
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         68
      ICount:          419
      EdgeCount:       88
      CyclomaticComplexity: 22
      functionsReached:
        - parse_emu_block
        - sc_do_log
        - sc_do_log_color
        - sc_get_conf_block
        - sc_strerror
        - scconf_find_blocks
        - scconf_find_list
        - scconf_get_bool
        - set_emulators
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-syn.c:147,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:150,15'
          Dst:             sc_get_conf_block
        - Src:             'pkcs15-syn.c:154,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:156,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:167,21'
          Dst:             scconf_get_bool
        - Src:             'pkcs15-syn.c:168,10'
          Dst:             scconf_find_list
        - Src:             'pkcs15-syn.c:177,10'
          Dst:             set_emulators
        - Src:             'pkcs15-syn.c:182,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:185,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:192,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-syn.c:192,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:196,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:198,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:207,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:208,12'
          Dst:             scconf_find_blocks
        - Src:             'pkcs15-syn.c:209,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:212,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:213,8'
          Dst:             parse_emu_block
        - Src:             'pkcs15-syn.c:229,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-syn.c:229,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-syn.c:232,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-syn.c:232,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-syn.c:232,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15_is_emulation_only
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-syn.c'
      linkageType:     InternalLinkage
      functionLinenumber: 90
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         46
      ICount:          189
      EdgeCount:       90
      CyclomaticComplexity: 46
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-syn.c:91,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    add_emul
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-emulator-filter.c'
      linkageType:     InternalLinkage
      functionLinenumber: 32
      functionLinenumberEnd: 58
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          148
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - strcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-emulator-filter.c:51,8'
          Dst:             strcmp
    - functionName:    add_emul_list
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-emulator-filter.c'
      linkageType:     InternalLinkage
      functionLinenumber: 62
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          77
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - add_emul
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-emulator-filter.c:71,12'
          Dst:             add_emul
    - functionName:    set_emulators
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-emulator-filter.c'
      linkageType:     InternalLinkage
      functionLinenumber: 79
      functionLinenumberEnd: 128
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          354
      EdgeCount:       91
      CyclomaticComplexity: 24
      functionsReached:
        - add_emul
        - add_emul_list
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-emulator-filter.c:83,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-emulator-filter.c:95,8'
          Dst:             strcmp
        - Src:             'pkcs15-emulator-filter.c:96,13'
          Dst:             add_emul_list
        - Src:             'pkcs15-emulator-filter.c:98,15'
          Dst:             strcmp
        - Src:             'pkcs15-emulator-filter.c:99,13'
          Dst:             add_emul_list
        - Src:             'pkcs15-emulator-filter.c:104,10'
          Dst:             strcmp
        - Src:             'pkcs15-emulator-filter.c:105,15'
          Dst:             add_emul
        - Src:             'pkcs15-emulator-filter.c:111,10'
          Dst:             strcmp
        - Src:             'pkcs15-emulator-filter.c:112,15'
          Dst:             add_emul
        - Src:             'pkcs15-emulator-filter.c:118,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-emulator-filter.c:125,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-emulator-filter.c:127,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-emulator-filter.c:127,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-emulator-filter.c:127,2'
          Dst:             sc_do_log
    - functionName:    ctapi_internal_transmit
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 159
      functionLinenumberEnd: 184
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          107
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-ctapi.c:178,3'
          Dst:             sc_do_log
    - functionName:    refresh_attributes
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 113
      functionLinenumberEnd: 153
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          176
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-ctapi.c:135,3'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:144,4'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:148,3'
          Dst:             sc_do_log
    - functionName:    ctapi_reset
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 84
      functionLinenumberEnd: 109
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          136
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-ctapi.c:101,3'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:105,3'
          Dst:             sc_do_log
    - functionName:    add_module
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 310
      functionLinenumberEnd: 326
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          89
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - realloc
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-ctapi.c:315,30'
          Dst:             realloc
        - Src:             'reader-ctapi.c:320,27'
          Dst:             strdup
    - functionName:    ctapi_load_module
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 330
      functionLinenumberEnd: 512
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         92
      ICount:          675
      EdgeCount:       114
      CyclomaticComplexity: 24
      functionsReached:
        - __isoc99_sscanf
        - _sc_add_reader
        - add_module
        - calloc
        - ctapi_reset
        - refresh_attributes
        - sc_dlclose
        - sc_dlerror
        - sc_dlopen
        - sc_dlsym
        - sc_do_log
        - sc_get_conf_block
        - scconf_find_list
        - scconf_get_bool
        - scconf_get_int
        - snprintf
        - strdup
      functionUses:    1
      BranchProfiles:
        - Branch String:   'reader-ctapi.c:445,4'
          Branch Sides:    []
      Callsites:
        - Src:             'reader-ctapi.c:341,9'
          Dst:             scconf_find_list
        - Src:             'reader-ctapi.c:343,3'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:348,8'
          Dst:             sc_dlopen
        - Src:             'reader-ctapi.c:350,3'
          Dst:             sc_dlerror
        - Src:             'reader-ctapi.c:350,3'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:354,35'
          Dst:             sc_dlsym
        - Src:             'reader-ctapi.c:357,37'
          Dst:             sc_dlsym
        - Src:             'reader-ctapi.c:360,35'
          Dst:             sc_dlsym
        - Src:             'reader-ctapi.c:364,8'
          Dst:             add_module
        - Src:             'reader-ctapi.c:374,7'
          Dst:             __isoc99_sscanf
        - Src:             'reader-ctapi.c:375,4'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:380,4'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:384,12'
          Dst:             calloc
        - Src:             'reader-ctapi.c:385,10'
          Dst:             calloc
        - Src:             'reader-ctapi.c:394,3'
          Dst:             snprintf
        - Src:             'reader-ctapi.c:395,18'
          Dst:             strdup
        - Src:             'reader-ctapi.c:402,16'
          Dst:             sc_get_conf_block
        - Src:             'reader-ctapi.c:404,28'
          Dst:             scconf_get_int
        - Src:             'reader-ctapi.c:405,28'
          Dst:             scconf_get_int
        - Src:             'reader-ctapi.c:406,8'
          Dst:             scconf_get_bool
        - Src:             'reader-ctapi.c:410,7'
          Dst:             _sc_add_reader
        - Src:             'reader-ctapi.c:432,4'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:437,4'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:441,4'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:463,6'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:468,6'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:473,6'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:478,6'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:487,6'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:491,6'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:503,3'
          Dst:             ctapi_reset
        - Src:             'reader-ctapi.c:504,3'
          Dst:             refresh_attributes
        - Src:             'reader-ctapi.c:509,2'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:510,2'
          Dst:             sc_dlclose
    - functionName:    ctapi_disconnect
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 273
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ctapi_connect
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 237
      functionLinenumberEnd: 270
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          178
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - _sc_parse_atr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-ctapi.c:257,3'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:261,3'
          Dst:             sc_strerror
        - Src:             'reader-ctapi.c:261,3'
          Dst:             sc_do_log_color
        - Src:             'reader-ctapi.c:261,3'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:267,2'
          Dst:             _sc_parse_atr
    - functionName:    ctapi_release
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 288
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ctapi_unlock
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 283
      functionLinenumberEnd: 284
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ctapi_lock
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 278
      functionLinenumberEnd: 279
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ctapi_detect_card_presence
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 227
      functionLinenumberEnd: 234
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - refresh_attributes
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-ctapi.c:230,6'
          Dst:             refresh_attributes
    - functionName:    ctapi_transmit
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 187
      functionLinenumberEnd: 223
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          134
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - _sc_debug_hex
        - ctapi_internal_transmit
        - sc_apdu_get_octets
        - sc_apdu_set_resp
        - sc_do_log
        - sc_mem_clear
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-ctapi.c:199,6'
          Dst:             sc_apdu_get_octets
        - Src:             'reader-ctapi.c:202,2'
          Dst:             _sc_debug_hex
        - Src:             'reader-ctapi.c:203,6'
          Dst:             ctapi_internal_transmit
        - Src:             'reader-ctapi.c:207,3'
          Dst:             sc_do_log
        - Src:             'reader-ctapi.c:210,2'
          Dst:             _sc_debug_hex
        - Src:             'reader-ctapi.c:212,6'
          Dst:             sc_apdu_set_resp
        - Src:             'reader-ctapi.c:215,3'
          Dst:             sc_mem_clear
        - Src:             'reader-ctapi.c:219,3'
          Dst:             sc_mem_clear
    - functionName:    ctapi_finish
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 537
      functionLinenumberEnd: 554
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          80
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_dlclose
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-ctapi.c:547,4'
          Dst:             sc_dlclose
    - functionName:    ctapi_init
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 515
      functionLinenumberEnd: 534
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          96
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - ctapi_load_module
        - sc_get_conf_block
        - scconf_find_blocks
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-ctapi.c:520,10'
          Dst:             calloc
        - Src:             'reader-ctapi.c:525,15'
          Dst:             sc_get_conf_block
        - Src:             'reader-ctapi.c:527,12'
          Dst:             scconf_find_blocks
        - Src:             'reader-ctapi.c:529,4'
          Dst:             ctapi_load_module
    - functionName:    sc_get_ctapi_driver
      functionSourceFile: '/src/opensc/src/libopensc/reader-ctapi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 558
      functionLinenumberEnd: 573
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          17
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __uint32_identity
      functionSourceFile: '/usr/include/x86_64-linux-gnu/bits/uintn-identity.h'
      linkageType:     InternalLinkage
      functionLinenumber: 40
      functionLinenumberEnd: 41
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          7
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __uint16_identity
      functionSourceFile: '/usr/include/x86_64-linux-gnu/bits/uintn-identity.h'
      linkageType:     InternalLinkage
      functionLinenumber: 34
      functionLinenumberEnd: 35
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - short
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          7
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    escape_buf_to_verify_result
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 634
      functionLinenumberEnd: 649
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          79
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - __uint32_identity
        - sc_apdu_set_resp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:648,4'
          Dst:             __uint32_identity
        - Src:             'reader-tr03119.c:646,9'
          Dst:             sc_apdu_set_resp
    - functionName:    escape_pin_cmd_to_buf
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 460
      functionLinenumberEnd: 626
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          565
      EdgeCount:       67
      CyclomaticComplexity: 14
      functionsReached:
        - __uint16_identity
        - __uint32_identity
        - sc_apdu_get_octets
      functionUses:    1
      BranchProfiles:
        - Branch String:   'reader-tr03119.c:497,2'
          Branch Sides:    []
        - Branch String:   'reader-tr03119.c:527,2'
          Branch Sides:    []
        - Branch String:   'reader-tr03119.c:556,2'
          Branch Sides:    []
      Callsites:
        - Src:             'reader-tr03119.c:491,22'
          Dst:             __uint16_identity
        - Src:             'reader-tr03119.c:522,6'
          Dst:             sc_apdu_get_octets
        - Src:             'reader-tr03119.c:550,21'
          Dst:             __uint32_identity
    - functionName:    escape_perform_pace
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 708
      functionLinenumberEnd: 761
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          161
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - escape_buf_to_pace_output
        - escape_pace_input_to_buf
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:732,6'
          Dst:             escape_pace_input_to_buf
        - Src:             'reader-tr03119.c:735,3'
          Dst:             sc_do_log
        - Src:             'reader-tr03119.c:743,3'
          Dst:             sc_do_log
        - Src:             'reader-tr03119.c:749,3'
          Dst:             sc_do_log
        - Src:             'reader-tr03119.c:755,6'
          Dst:             escape_buf_to_pace_output
    - functionName:    escape_pace_input_to_buf
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 202
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          121
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:159,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:161,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:164,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:167,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:169,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:171,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:175,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:178,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:180,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:186,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:189,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:191,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:197,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:202,9'
          Dst:             sc_asn1_encode
    - functionName:    escape_buf_to_pace_output
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 365
      functionLinenumberEnd: 453
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          169
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:391,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:393,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:396,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:398,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:400,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:402,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:404,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:406,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:408,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:411,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:413,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:418,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:420,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:425,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:427,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:430,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:432,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:435,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:437,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:440,2'
          Dst:             sc_asn1_decode
        - Src:             'reader-tr03119.c:440,2'
          Dst:             sc_strerror
        - Src:             'reader-tr03119.c:440,2'
          Dst:             sc_do_log_color
    - functionName:    escape_perform_verify
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 653
      functionLinenumberEnd: 702
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          155
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - escape_buf_to_verify_result
        - escape_pin_cmd_to_buf
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:673,6'
          Dst:             escape_pin_cmd_to_buf
        - Src:             'reader-tr03119.c:676,3'
          Dst:             sc_do_log
        - Src:             'reader-tr03119.c:684,3'
          Dst:             sc_do_log
        - Src:             'reader-tr03119.c:690,3'
          Dst:             sc_do_log
        - Src:             'reader-tr03119.c:696,6'
          Dst:             escape_buf_to_verify_result
    - functionName:    sc_detect_escape_cmds
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 933
      functionLinenumberEnd: 1031
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         70
      ICount:          469
      EdgeCount:       96
      CyclomaticComplexity: 28
      functionsReached:
        - __isoc99_sscanf
        - escape_buf_to_pace_capabilities
        - sc_do_log
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:952,8'
          Dst:             escape_buf_to_pace_capabilities
        - Src:             'reader-tr03119.c:958,5'
          Dst:             sc_do_log
        - Src:             'reader-tr03119.c:966,5'
          Dst:             sc_do_log
        - Src:             'reader-tr03119.c:973,4'
          Dst:             sc_do_log
        - Src:             'reader-tr03119.c:985,22'
          Dst:             strdup
        - Src:             'reader-tr03119.c:1000,5'
          Dst:             __isoc99_sscanf
        - Src:             'reader-tr03119.c:1010,3'
          Dst:             sc_do_log
    - functionName:    escape_buf_to_pace_capabilities
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 784
      functionLinenumberEnd: 862
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          166
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:805,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:807,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:810,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:812,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:814,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:816,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:818,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:821,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:823,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:826,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:828,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:831,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:833,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:836,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:838,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:841,2'
          Dst:             sc_asn1_decode
        - Src:             'reader-tr03119.c:841,2'
          Dst:             sc_strerror
        - Src:             'reader-tr03119.c:841,2'
          Dst:             sc_do_log_color
    - functionName:    escape_pace_capabilities_to_buf
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 867
      functionLinenumberEnd: 928
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          125
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:888,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:890,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:893,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:895,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:897,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:899,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:901,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:904,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:906,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:910,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:912,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:916,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:918,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:922,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:924,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:928,9'
          Dst:             sc_asn1_encode
    - functionName:    escape_pace_output_to_buf
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 279
      functionLinenumberEnd: 359
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          173
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:305,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:307,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:310,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:313,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:315,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:317,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:320,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:322,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:324,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:328,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:333,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:335,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:337,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:342,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:344,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:346,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:351,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:353,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:355,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:359,9'
          Dst:             sc_asn1_encode
    - functionName:    escape_buf_to_pace_input
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 208
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          153
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'reader-tr03119.c:227,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:229,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:232,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:235,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:237,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:239,2'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:243,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:245,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:247,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:252,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:254,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'reader-tr03119.c:256,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:261,3'
          Dst:             sc_format_asn1_entry
        - Src:             'reader-tr03119.c:266,2'
          Dst:             sc_asn1_decode
        - Src:             'reader-tr03119.c:266,2'
          Dst:             sc_strerror
        - Src:             'reader-tr03119.c:266,2'
          Dst:             sc_do_log_color
    - functionName:    get_pace_capabilities
      functionSourceFile: '/src/opensc/src/libopensc/reader-tr03119.c'
      linkageType:     InternalLinkage
      functionLinenumber: 56
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          23
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    setcos_activate_file
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1068
      functionLinenumberEnd: 1083
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          113
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:1073,2'
          Dst:             sc_format_apdu
        - Src:             'card-setcos.c:1076,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-setcos.c:1077,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:1077,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:1079,6'
          Dst:             sc_check_sw
        - Src:             'card-setcos.c:1080,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:1080,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:1082,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:1082,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:1082,2'
          Dst:             sc_do_log
    - functionName:    setcos_generate_store_key
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1019
      functionLinenumberEnd: 1065
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          336
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:1024,2'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:1052,2'
          Dst:             sc_format_apdu
        - Src:             'card-setcos.c:1058,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-setcos.c:1059,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:1059,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:1061,6'
          Dst:             sc_check_sw
        - Src:             'card-setcos.c:1062,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:1062,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:1064,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:1064,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:1064,2'
          Dst:             sc_do_log
    - functionName:    setcos_getdata
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 982
      functionLinenumberEnd: 1014
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          177
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:986,2'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:1002,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-setcos.c:1003,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:1003,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:1005,6'
          Dst:             sc_check_sw
        - Src:             'card-setcos.c:1006,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:1006,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:1013,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:1013,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:1013,2'
          Dst:             sc_do_log
    - functionName:    setcos_putdata
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 955
      functionLinenumberEnd: 978
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          149
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:959,2'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:971,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-setcos.c:972,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:972,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:974,6'
          Dst:             sc_check_sw
        - Src:             'card-setcos.c:975,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:975,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:977,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:977,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:977,2'
          Dst:             sc_do_log
    - functionName:    setcos_construct_fci_44
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 198
      functionLinenumberEnd: 309
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          522
      EdgeCount:       71
      CyclomaticComplexity: 17
      functionsReached:
        - sc_asn1_put_tag
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-setcos.c:227,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-setcos.c:217,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-setcos.c:222,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-setcos.c:254,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-setcos.c:260,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-setcos.c:265,4'
          Dst:             sc_asn1_put_tag
        - Src:             'card-setcos.c:269,4'
          Dst:             sc_asn1_put_tag
        - Src:             'card-setcos.c:275,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-setcos.c:280,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-setcos.c:301,3'
          Dst:             sc_asn1_put_tag
    - functionName:    add_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 683
      functionLinenumberEnd: 709
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          64
      EdgeCount:       19
      CyclomaticComplexity: 11
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-setcos.c:686,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-setcos.c:708,2'
          Dst:             sc_file_add_acl_entry
    - functionName:    parse_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 712
      functionLinenumberEnd: 737
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          118
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - add_acl_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:736,3'
          Dst:             add_acl_entry
    - functionName:    parse_sec_attr_44
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 740
      functionLinenumberEnd: 891
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         86
      ICount:          560
      EdgeCount:       104
      CyclomaticComplexity: 20
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-setcos.c:790,5'
          Branch Sides:    []
        - Branch String:   'card-setcos.c:816,4'
          Branch Sides:    []
        - Branch String:   'card-setcos.c:833,4'
          Branch Sides:    []
        - Branch String:   'card-setcos.c:854,5'
          Branch Sides:    []
      Callsites:
        - Src:             'card-setcos.c:827,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-setcos.c:883,6'
          Dst:             sc_file_add_acl_entry
    - functionName:    setcos_set_security_env2
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 542
      functionLinenumberEnd: 641
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         73
      ICount:          513
      EdgeCount:       96
      CyclomaticComplexity: 25
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_lock
        - sc_strerror
        - sc_transmit_apdu
        - sc_unlock
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-setcos.c:565,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-setcos.c:555,4'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:559,4'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:564,2'
          Dst:             sc_format_apdu
        - Src:             'card-setcos.c:612,7'
          Dst:             sc_lock
        - Src:             'card-setcos.c:613,3'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:613,3'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:617,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-setcos.c:619,4'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:619,4'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:623,7'
          Dst:             sc_check_sw
        - Src:             'card-setcos.c:625,4'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:625,4'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:632,2'
          Dst:             sc_format_apdu
        - Src:             'card-setcos.c:633,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-setcos.c:634,2'
          Dst:             sc_unlock
        - Src:             'card-setcos.c:635,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:635,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:636,9'
          Dst:             sc_check_sw
        - Src:             'card-setcos.c:639,3'
          Dst:             sc_unlock
    - functionName:    setcos_pin_index_44
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 364
      functionLinenumberEnd: 377
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          78
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    acl_to_byte_44
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 347
      functionLinenumberEnd: 359
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          56
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    acl_to_byte
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 322
      functionLinenumberEnd: 344
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          55
      EdgeCount:       17
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-setcos.c:323,2'
          Branch Sides:    []
        - Branch String:   'card-setcos.c:327,3'
          Branch Sides:    []
      Callsites:       []
    - functionName:    setcos_create_file_44
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 382
      functionLinenumberEnd: 498
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         53
      ICount:          438
      EdgeCount:       65
      CyclomaticComplexity: 14
      functionsReached:
        - acl_to_byte_44
        - sc_do_log
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
        - setcos_pin_index_44
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-setcos.c:418,3'
          Branch Sides:    []
        - Branch String:   'card-setcos.c:442,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-setcos.c:408,2'
          Dst:             sc_file_set_prop_attr
        - Src:             'card-setcos.c:440,14'
          Dst:             acl_to_byte_44
        - Src:             'card-setcos.c:448,6'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:451,17'
          Dst:             setcos_pin_index_44
        - Src:             'card-setcos.c:487,9'
          Dst:             acl_to_byte_44
        - Src:             'card-setcos.c:494,3'
          Dst:             sc_file_set_sec_attr
    - functionName:    select_pkcs15_app
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 121
      functionLinenumberEnd: 129
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_format_path
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:126,2'
          Dst:             sc_format_path
        - Src:             'card-setcos.c:128,6'
          Dst:             sc_select_file
    - functionName:    match_hist_bytes
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          95
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - memcmp
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:70,9'
          Dst:             strlen
        - Src:             'card-setcos.c:74,7'
          Dst:             memcmp
    - functionName:    setcos_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1086
      functionLinenumberEnd: 1107
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          93
      EdgeCount:       18
      CyclomaticComplexity: 4
      functionsReached:
        - setcos_activate_file
        - setcos_generate_store_key
        - setcos_getdata
        - setcos_putdata
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-setcos.c:1090,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-setcos.c:1092,10'
          Dst:             setcos_putdata
        - Src:             'card-setcos.c:1096,10'
          Dst:             setcos_getdata
        - Src:             'card-setcos.c:1100,10'
          Dst:             setcos_generate_store_key
        - Src:             'card-setcos.c:1103,10'
          Dst:             setcos_activate_file
    - functionName:    setcos_construct_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 312
      functionLinenumberEnd: 319
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          83
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - setcos_construct_fci_44
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:316,10'
          Dst:             setcos_construct_fci_44
    - functionName:    setcos_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 936
      functionLinenumberEnd: 950
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          117
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - sc_asn1_find_tag
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:945,16'
          Dst:             sc_asn1_find_tag
    - functionName:    setcos_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 913
      functionLinenumberEnd: 932
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          174
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:917,2'
          Dst:             sc_format_apdu
        - Src:             'card-setcos.c:925,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-setcos.c:926,2'
          Dst:             sc_strerror
        - Src:             'card-setcos.c:926,2'
          Dst:             sc_do_log_color
        - Src:             'card-setcos.c:930,10'
          Dst:             sc_check_sw
    - functionName:    setcos_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 895
      functionLinenumberEnd: 910
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          117
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - parse_sec_attr
        - parse_sec_attr_44
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:905,4'
          Dst:             parse_sec_attr_44
        - Src:             'card-setcos.c:907,4'
          Dst:             parse_sec_attr
    - functionName:    setcos_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 645
      functionLinenumberEnd: 680
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          174
      EdgeCount:       36
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - setcos_set_security_env2
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-setcos.c:656,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-setcos.c:653,4'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:664,4'
          Dst:             sc_do_log
        - Src:             'card-setcos.c:677,10'
          Dst:             setcos_set_security_env2
        - Src:             'card-setcos.c:679,9'
          Dst:             setcos_set_security_env2
    - functionName:    setcos_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 501
      functionLinenumberEnd: 538
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          188
      EdgeCount:       41
      CyclomaticComplexity: 11
      functionsReached:
        - acl_to_byte
        - sc_file_get_acl_entry
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
        - setcos_create_file_44
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:503,10'
          Dst:             setcos_create_file_44
        - Src:             'card-setcos.c:506,3'
          Dst:             sc_file_set_prop_attr
        - Src:             'card-setcos.c:530,12'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-setcos.c:531,13'
          Dst:             acl_to_byte
        - Src:             'card-setcos.c:534,3'
          Dst:             sc_file_set_sec_attr
    - functionName:    setcos_init
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 133
      functionLinenumberEnd: 192
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          170
      EdgeCount:       24
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_card_add_rsa_alg
        - select_pkcs15_app
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-setcos.c:141,2'
          Branch Sides:    []
        - Branch String:   'card-setcos.c:164,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-setcos.c:144,3'
          Dst:             select_pkcs15_app
        - Src:             'card-setcos.c:171,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-setcos.c:172,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-setcos.c:185,4'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-setcos.c:186,4'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-setcos.c:187,4'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-setcos.c:188,4'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    setcos_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 118
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         23
      ICount:          143
      EdgeCount:       31
      CyclomaticComplexity: 10
      functionsReached:
        - _sc_match_atr
        - match_hist_bytes
        - memcmp
        - sc_do_log
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:88,6'
          Dst:             _sc_match_atr
        - Src:             'card-setcos.c:90,7'
          Dst:             match_hist_bytes
        - Src:             'card-setcos.c:95,3'
          Dst:             sc_format_apdu
        - Src:             'card-setcos.c:100,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-setcos.c:102,8'
          Dst:             memcmp
        - Src:             'card-setcos.c:104,13'
          Dst:             memcmp
        - Src:             'card-setcos.c:108,5'
          Dst:             sc_do_log
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1110
      functionLinenumberEnd: 1126
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:1111,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_setcos_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1130
      functionLinenumberEnd: 1131
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-setcos.c:1131,9'
          Dst:             sc_get_driver
    - functionName:    flex_build_verify_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1106
      functionLinenumberEnd: 1139
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          117
      EdgeCount:       17
      CyclomaticComplexity: 4
      functionsReached:
        - sc_build_pin
        - sc_format_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:1111,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:1128,11'
          Dst:             sc_build_pin
        - Src:             'card-flex.c:1132,2'
          Dst:             sc_format_apdu
    - functionName:    flex_init_pin_info
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1142
      functionLinenumberEnd: 1148
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          27
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    flex_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1051
      functionLinenumberEnd: 1086
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          117
      EdgeCount:       19
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_file_free
        - sc_format_path
        - sc_read_binary
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:1066,2'
          Dst:             sc_format_path
        - Src:             'card-flex.c:1067,6'
          Dst:             sc_select_file
        - Src:             'card-flex.c:1071,2'
          Dst:             sc_file_free
        - Src:             'card-flex.c:1073,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:1077,6'
          Dst:             sc_read_binary
    - functionName:    flex_generate_key
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1010
      functionLinenumberEnd: 1047
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          186
      EdgeCount:       23
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:1015,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:1021,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:1027,2'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:1040,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:1041,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:1041,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:1042,6'
          Dst:             sc_check_sw
        - Src:             'card-flex.c:1043,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:1043,2'
          Dst:             sc_do_log_color
    - functionName:    flex_get_default_key
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 986
      functionLinenumberEnd: 1006
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          79
      EdgeCount:       14
      CyclomaticComplexity: 3
      functionsReached:
        - sc_hex_to_bin
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:994,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:1005,9'
          Dst:             sc_hex_to_bin
    - functionName:    select_file_id
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 438
      functionLinenumberEnd: 487
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          243
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached:
        - _sc_debug_hex
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:444,2'
          Dst:             sc_do_log
        - Src:             'card-flex.c:445,2'
          Dst:             _sc_debug_hex
        - Src:             'card-flex.c:447,2'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:460,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:461,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:461,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:462,6'
          Dst:             sc_check_sw
        - Src:             'card-flex.c:463,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:463,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:471,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:474,9'
          Dst:             sc_file_new
        - Src:             'card-flex.c:476,3'
          Dst:             sc_strerror
        - Src:             'card-flex.c:476,3'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:476,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:481,3'
          Dst:             sc_file_free
    - functionName:    acl_to_keynum_nibble
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 658
      functionLinenumberEnd: 665
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          63
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    acl_to_ac_nibble
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 629
      functionLinenumberEnd: 655
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          78
      EdgeCount:       29
      CyclomaticComplexity: 16
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:634,2'
          Branch Sides:    []
        - Branch String:   'card-flex.c:638,3'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cryptoflex_get_ac_keys
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 263
      functionLinenumberEnd: 264
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    add_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 259
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          130
      EdgeCount:       29
      CyclomaticComplexity: 16
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    16
      BranchProfiles:
        - Branch String:   'card-flex.c:217,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:219,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:222,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:225,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:228,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:232,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:235,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:236,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:239,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:240,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:243,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:245,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:248,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:250,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:253,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:256,3'
          Dst:             sc_file_add_acl_entry
    - functionName:    cyberflex_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 938
      functionLinenumberEnd: 970
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          163
      EdgeCount:       21
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:944,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:949,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:955,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:958,2'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:965,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:966,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:966,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:967,6'
          Dst:             sc_check_sw
        - Src:             'card-flex.c:968,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:968,2'
          Dst:             sc_do_log_color
    - functionName:    cyberflex_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 575
      functionLinenumberEnd: 604
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          135
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:582,3'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:586,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:591,7'
          Dst:             sc_check_sw
        - Src:             'card-flex.c:595,4'
          Dst:             sc_do_log
    - functionName:    cyberflex_construct_file_attrs
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 749
      functionLinenumberEnd: 799
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          193
      EdgeCount:       35
      CyclomaticComplexity: 19
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:754,2'
          Branch Sides:    []
        - Branch String:   'card-flex.c:774,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:764,2'
          Dst:             sc_do_log
        - Src:             'card-flex.c:788,4'
          Dst:             sc_do_log
    - functionName:    cyberflex_process_file_attrs
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 345
      functionLinenumberEnd: 434
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          354
      EdgeCount:       43
      CyclomaticComplexity: 5
      functionsReached:
        - add_acl_entry
        - sc_do_log
        - sc_file_add_acl_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:360,2'
          Branch Sides:    []
        - Branch String:   'card-flex.c:402,3'
          Branch Sides:    []
        - Branch String:   'card-flex.c:421,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:371,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:376,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:377,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:378,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-flex.c:382,4'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:383,4'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:384,4'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:386,4'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:390,3'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:391,3'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:418,4'
          Dst:             sc_do_log
        - Src:             'card-flex.c:423,4'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:427,4'
          Dst:             add_acl_entry
    - functionName:    cyberflex_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 152
      functionLinenumberEnd: 166
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          70
      EdgeCount:       8
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:158,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:155,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_cyberflex_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1228
      functionLinenumberEnd: 1249
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:1230,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    flex_init
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 210
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          98
      EdgeCount:       13
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_card_add_rsa_alg
        - usleep
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-flex.c:180,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:196,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-flex.c:197,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-flex.c:198,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-flex.c:199,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-flex.c:204,2'
          Dst:             usleep
    - functionName:    flex_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 128
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    flex_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 491
      functionLinenumberEnd: 536
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          297
      EdgeCount:       65
      CyclomaticComplexity: 15
      functionsReached:
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_strerror
        - sc_unlock
        - select_file_id
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-flex.c:498,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:504,23'
          Dst:             memcmp
        - Src:             'card-flex.c:506,8'
          Dst:             sc_lock
        - Src:             'card-flex.c:507,4'
          Dst:             sc_strerror
        - Src:             'card-flex.c:507,4'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:508,8'
          Dst:             memcmp
        - Src:             'card-flex.c:509,9'
          Dst:             select_file_id
        - Src:             'card-flex.c:511,6'
          Dst:             sc_unlock
        - Src:             'card-flex.c:512,5'
          Dst:             sc_strerror
        - Src:             'card-flex.c:512,5'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:515,9'
          Dst:             select_file_id
        - Src:             'card-flex.c:517,6'
          Dst:             sc_unlock
        - Src:             'card-flex.c:518,5'
          Dst:             sc_strerror
        - Src:             'card-flex.c:518,5'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:532,6'
          Dst:             select_file_id
        - Src:             'card-flex.c:534,3'
          Dst:             sc_unlock
        - Src:             'card-flex.c:535,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:535,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:535,2'
          Dst:             sc_do_log
    - functionName:    flex_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 607
      functionLinenumberEnd: 626
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          151
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:611,2'
          Dst:             sc_do_log
        - Src:             'card-flex.c:613,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:614,3'
          Dst:             sc_strerror
        - Src:             'card-flex.c:614,3'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:614,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:616,2'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:623,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:624,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:624,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:625,9'
          Dst:             sc_check_sw
    - functionName:    flex_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 802
      functionLinenumberEnd: 832
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          165
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:813,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:820,2'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:827,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:828,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:828,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:829,6'
          Dst:             sc_check_sw
        - Src:             'card-flex.c:830,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:830,2'
          Dst:             sc_do_log_color
    - functionName:    flex_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1089
      functionLinenumberEnd: 1102
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          51
      EdgeCount:       15
      CyclomaticComplexity: 9
      functionsReached:
        - flex_generate_key
        - flex_get_default_key
        - flex_get_serialnr
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-flex.c:1090,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:1092,10'
          Dst:             flex_get_default_key
        - Src:             'card-flex.c:1095,10'
          Dst:             flex_generate_key
        - Src:             'card-flex.c:1098,10'
          Dst:             flex_get_serialnr
    - functionName:    flex_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 837
      functionLinenumberEnd: 872
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          210
      EdgeCount:       46
      CyclomaticComplexity: 14
      functionsReached:
        - memcmp
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:842,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:846,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:851,7'
          Dst:             sc_do_log
        - Src:             'card-flex.c:857,4'
          Dst:             sc_do_log
        - Src:             'card-flex.c:863,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:867,7'
          Dst:             memcmp
        - Src:             'card-flex.c:868,4'
          Dst:             sc_do_log
    - functionName:    flex_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 875
      functionLinenumberEnd: 876
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    flex_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 975
      functionLinenumberEnd: 980
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    flex_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1151
      functionLinenumberEnd: 1182
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          148
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - flex_build_verify_apdu
        - flex_init_pin_info
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:1158,2'
          Dst:             flex_init_pin_info
        - Src:             'card-flex.c:1159,2'
          Dst:             flex_init_pin_info
        - Src:             'card-flex.c:1162,7'
          Dst:             flex_build_verify_apdu
    - functionName:    flex_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1185
      functionLinenumberEnd: 1199
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          111
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:1189,2'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:1192,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:1193,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:1193,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:1195,6'
          Dst:             sc_check_sw
        - Src:             'card-flex.c:1196,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:1196,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:1198,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:1198,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:1198,2'
          Dst:             sc_do_log
    - functionName:    usleep
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cryptoflex_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 882
      functionLinenumberEnd: 933
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          365
      EdgeCount:       67
      CyclomaticComplexity: 17
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:890,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:894,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:897,2'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:909,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:910,3'
          Dst:             sc_strerror
        - Src:             'card-flex.c:910,3'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:911,7'
          Dst:             sc_check_sw
        - Src:             'card-flex.c:912,3'
          Dst:             sc_strerror
        - Src:             'card-flex.c:912,3'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:914,3'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:926,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:927,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:927,2'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:928,6'
          Dst:             sc_check_sw
        - Src:             'card-flex.c:929,2'
          Dst:             sc_strerror
        - Src:             'card-flex.c:929,2'
          Dst:             sc_do_log_color
    - functionName:    cryptoflex_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 539
      functionLinenumberEnd: 569
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          132
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:545,2'
          Dst:             sc_format_apdu
        - Src:             'card-flex.c:551,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-flex.c:556,7'
          Dst:             sc_check_sw
        - Src:             'card-flex.c:560,4'
          Dst:             sc_do_log
    - functionName:    cryptoflex_construct_file_attrs
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 670
      functionLinenumberEnd: 744
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          371
      EdgeCount:       51
      CyclomaticComplexity: 11
      functionsReached:
        - acl_to_ac_nibble
        - acl_to_keynum_nibble
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:684,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:698,4'
          Dst:             sc_do_log
        - Src:             'card-flex.c:722,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-flex.c:723,7'
          Dst:             acl_to_ac_nibble
        - Src:             'card-flex.c:724,3'
          Dst:             sc_strerror
        - Src:             'card-flex.c:724,3'
          Dst:             sc_do_log_color
        - Src:             'card-flex.c:727,7'
          Dst:             acl_to_keynum_nibble
    - functionName:    cryptoflex_process_file_attrs
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 270
      functionLinenumberEnd: 340
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          323
      EdgeCount:       39
      CyclomaticComplexity: 6
      functionsReached:
        - add_acl_entry
        - cryptoflex_get_ac_keys
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:286,2'
          Branch Sides:    []
        - Branch String:   'card-flex.c:317,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:307,3'
          Dst:             sc_do_log
        - Src:             'card-flex.c:312,3'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:313,3'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:314,3'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:316,3'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:319,4'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:323,4'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:330,3'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:331,3'
          Dst:             add_acl_entry
        - Src:             'card-flex.c:339,9'
          Dst:             cryptoflex_get_ac_keys
    - functionName:    cryptoflex_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 134
      functionLinenumberEnd: 149
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          75
      EdgeCount:       10
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-flex.c:140,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-flex.c:137,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_cryptoflex_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-flex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1203
      functionLinenumberEnd: 1224
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-flex.c:1205,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    cardos_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1414
      functionLinenumberEnd: 1443
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          153
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1419,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:1423,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:1424,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1424,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1436,3'
          Dst:             sc_do_log
    - functionName:    cardos_lifecycle_set
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1291
      functionLinenumberEnd: 1323
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          162
      EdgeCount:       31
      CyclomaticComplexity: 8
      functionsReached:
        - cardos_lifecycle_get
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1298,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1302,6'
          Dst:             cardos_lifecycle_get
        - Src:             'card-cardos.c:1310,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:1316,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:1317,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1317,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1319,6'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:1320,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1320,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1322,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1322,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1322,2'
          Dst:             sc_do_log
    - functionName:    cardos_lifecycle_get
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1247
      functionLinenumberEnd: 1287
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          198
      EdgeCount:       34
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-cardos.c:1271,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cardos.c:1252,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1254,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:1260,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:1261,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1261,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1263,6'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:1264,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1264,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1267,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1267,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1282,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1286,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1286,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1286,2'
          Dst:             sc_do_log
    - functionName:    cardos_pass_algo_flags
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 353
      functionLinenumberEnd: 372
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          128
      EdgeCount:       14
      CyclomaticComplexity: 2
      functionsReached:
        - cardos_add_algs
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cardos.c:358,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cardos.c:357,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:366,8'
          Dst:             cardos_add_algs
        - Src:             'card-cardos.c:369,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:372,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:372,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:372,2'
          Dst:             sc_do_log
    - functionName:    cardos_add_algs
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 179
      functionLinenumberEnd: 208
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          125
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - _sc_card_add_ec_alg
        - _sc_card_add_rsa_alg
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:183,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:185,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cardos.c:186,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cardos.c:187,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cardos.c:189,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cardos.c:190,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cardos.c:191,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cardos.c:192,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cardos.c:198,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cardos.c:199,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cardos.c:204,4'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-cardos.c:205,4'
          Dst:             _sc_card_add_ec_alg
    - functionName:    cardos_generate_key
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1382
      functionLinenumberEnd: 1411
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          130
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1405,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:1406,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1406,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1407,6'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:1408,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1408,2'
          Dst:             sc_do_log_color
    - functionName:    cardos_put_data_seci
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1356
      functionLinenumberEnd: 1377
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          105
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1370,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:1371,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1371,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1373,6'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:1374,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1374,2'
          Dst:             sc_do_log_color
    - functionName:    cardos_put_data_oci
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1328
      functionLinenumberEnd: 1351
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          141
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1332,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1344,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:1345,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1345,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1347,6'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:1348,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1348,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1350,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1350,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1350,2'
          Dst:             sc_do_log
    - functionName:    do_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1050
      functionLinenumberEnd: 1074
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          177
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1058,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:1066,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'card-cardos.c:1067,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:1068,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1068,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1071,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1071,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1071,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1073,3'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:1073,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1073,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1073,3'
          Dst:             sc_do_log
    - functionName:    acl_to_byte
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 569
      functionLinenumberEnd: 587
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          79
      EdgeCount:       17
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cardos.c:571,3'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cardos_acl_to_bytes
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 646
      functionLinenumberEnd: 668
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          117
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - acl_to_byte
        - sc_do_log
        - sc_file_get_acl_entry
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:658,23'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-cardos.c:658,11'
          Dst:             acl_to_byte
        - Src:             'card-cardos.c:660,4'
          Dst:             sc_do_log
    - functionName:    cardos_construct_fcp
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 740
      functionLinenumberEnd: 845
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         57
      ICount:          493
      EdgeCount:       74
      CyclomaticComplexity: 19
      functionsReached:
        - cardos_acl_to_bytes
        - sc_asn1_put_tag
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cardos.c:771,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cardos.c:745,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:760,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-cardos.c:762,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-cardos.c:793,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:798,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-cardos.c:800,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-cardos.c:803,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-cardos.c:811,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-cardos.c:816,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-cardos.c:823,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-cardos.c:827,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-cardos.c:833,6'
          Dst:             cardos_acl_to_bytes
        - Src:             'card-cardos.c:836,6'
          Dst:             sc_asn1_put_tag
    - functionName:    cardos_set_file_attributes
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 671
      functionLinenumberEnd: 735
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         39
      ICount:          240
      EdgeCount:       46
      CyclomaticComplexity: 9
      functionsReached:
        - cardos_acl_to_bytes
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
        - sc_file_set_type_attr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cardos.c:679,3'
          Branch Sides:    []
        - Branch String:   'card-cardos.c:689,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cardos.c:705,7'
          Dst:             sc_file_set_type_attr
        - Src:             'card-cardos.c:719,7'
          Dst:             sc_file_set_prop_attr
        - Src:             'card-cardos.c:727,7'
          Dst:             cardos_acl_to_bytes
        - Src:             'card-cardos.c:730,7'
          Dst:             sc_file_set_sec_attr
    - functionName:    add_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 546
      functionLinenumberEnd: 566
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          60
      EdgeCount:       10
      CyclomaticComplexity: 2
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cardos.c:549,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cardos.c:565,2'
          Dst:             sc_file_add_acl_entry
    - functionName:    parse_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 619
      functionLinenumberEnd: 629
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          82
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - add_acl_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:628,4'
          Dst:             add_acl_entry
    - functionName:    cardos_have_2048bit_package
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 173
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         22
      ICount:          148
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:147,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:152,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:153,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:153,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:160,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-cardos.c:163,7'
          Dst:             sc_asn1_find_tag
    - functionName:    cardos_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1509
      functionLinenumberEnd: 1536
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          157
      EdgeCount:       37
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_format_path
        - sc_select_file
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1522,3'
          Dst:             sc_format_path
        - Src:             'card-cardos.c:1523,7'
          Dst:             sc_select_file
        - Src:             'card-cardos.c:1527,3'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:1530,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:1531,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1531,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1533,10'
          Dst:             sc_check_sw
    - functionName:    cardos_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1482
      functionLinenumberEnd: 1503
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          146
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1486,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1491,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1492,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1493,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1503,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1503,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1503,2'
          Dst:             sc_do_log
    - functionName:    cardos_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1447
      functionLinenumberEnd: 1473
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          88
      EdgeCount:       27
      CyclomaticComplexity: 15
      functionsReached:
        - cardos_generate_key
        - cardos_get_serialnr
        - cardos_lifecycle_get
        - cardos_lifecycle_set
        - cardos_pass_algo_flags
        - cardos_put_data_oci
        - cardos_put_data_seci
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cardos.c:1448,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cardos.c:1452,10'
          Dst:             cardos_put_data_oci
        - Src:             'card-cardos.c:1456,10'
          Dst:             cardos_put_data_seci
        - Src:             'card-cardos.c:1460,10'
          Dst:             cardos_generate_key
        - Src:             'card-cardos.c:1463,10'
          Dst:             cardos_pass_algo_flags
        - Src:             'card-cardos.c:1466,10'
          Dst:             cardos_lifecycle_get
        - Src:             'card-cardos.c:1468,10'
          Dst:             cardos_lifecycle_set
        - Src:             'card-cardos.c:1470,10'
          Dst:             cardos_get_serialnr
    - functionName:    cardos_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 458
      functionLinenumberEnd: 473
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          90
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:465,5'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:471,9'
          Dst:             sc_do_log
    - functionName:    cardos_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 476
      functionLinenumberEnd: 543
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          306
      EdgeCount:       55
      CyclomaticComplexity: 14
      functionsReached:
        - sc_asn1_find_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:483,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:489,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:495,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:496,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:496,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:497,6'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:498,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:498,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:501,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:509,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-cardos.c:511,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:519,7'
          Dst:             sc_asn1_find_tag
        - Src:             'card-cardos.c:521,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:533,7'
          Dst:             sc_asn1_find_tag
        - Src:             'card-cardos.c:542,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:542,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:542,2'
          Dst:             sc_do_log
    - functionName:    cardos_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1192
      functionLinenumberEnd: 1243
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          265
      EdgeCount:       43
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_max_send_size
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1198,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1225,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1225,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1225,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1228,6'
          Dst:             sc_get_max_send_size
        - Src:             'card-cardos.c:1242,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1242,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1242,2'
          Dst:             sc_do_log
    - functionName:    cardos_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1079
      functionLinenumberEnd: 1186
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         101
      ICount:          567
      EdgeCount:       129
      CyclomaticComplexity: 30
      functionsReached:
        - do_compute_signature
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs1_strip_01_padding
        - sc_pkcs1_strip_digest_info_prefix
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1091,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1101,7'
          Dst:             do_compute_signature
        - Src:             'card-cardos.c:1102,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1102,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1102,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1134,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1140,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1141,7'
          Dst:             do_compute_signature
        - Src:             'card-cardos.c:1143,4'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1143,4'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1143,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1151,4'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1151,4'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1151,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1155,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1158,7'
          Dst:             sc_pkcs1_strip_01_padding
        - Src:             'card-cardos.c:1168,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1169,7'
          Dst:             do_compute_signature
        - Src:             'card-cardos.c:1172,4'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1172,4'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1172,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1174,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1175,7'
          Dst:             sc_pkcs1_strip_digest_info_prefix
        - Src:             'card-cardos.c:1178,4'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1178,4'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1178,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1180,7'
          Dst:             do_compute_signature
        - Src:             'card-cardos.c:1182,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1182,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1182,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1185,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1185,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1185,2'
          Dst:             sc_do_log
    - functionName:    cardos_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 892
      functionLinenumberEnd: 908
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          128
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:896,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:898,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:901,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:902,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:902,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:904,6'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:905,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:905,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:907,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:907,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:907,2'
          Dst:             sc_do_log
    - functionName:    cardos_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 924
      functionLinenumberEnd: 1040
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          475
      EdgeCount:       83
      CyclomaticComplexity: 19
      functionsReached:
        - cardos_restore_security_env
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cardos.c:957,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cardos.c:936,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:950,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:952,3'
          Dst:             cardos_restore_security_env
        - Src:             'card-cardos.c:1012,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:1013,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1013,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1015,6'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:1016,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1016,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1029,5'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1030,5'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1033,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:1039,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:1039,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:1039,2'
          Dst:             sc_do_log
    - functionName:    cardos_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 848
      functionLinenumberEnd: 885
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          196
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached:
        - cardos_construct_fcp
        - cardos_set_file_attributes
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:851,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:855,7'
          Dst:             cardos_set_file_attributes
        - Src:             'card-cardos.c:868,7'
          Dst:             cardos_construct_fcp
        - Src:             'card-cardos.c:870,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:874,3'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:879,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:880,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:880,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:882,10'
          Dst:             sc_check_sw
    - functionName:    cardos_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 634
      functionLinenumberEnd: 641
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          102
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - parse_sec_attr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:637,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:640,3'
          Dst:             parse_sec_attr
        - Src:             'card-cardos.c:641,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:641,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:641,2'
          Dst:             sc_do_log
    - functionName:    cardos_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 377
      functionLinenumberEnd: 392
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          87
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:383,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:391,2'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:391,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:391,2'
          Dst:             sc_do_log
    - functionName:    cardos_init
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 212
      functionLinenumberEnd: 350
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         82
      ICount:          519
      EdgeCount:       108
      CyclomaticComplexity: 28
      functionsReached:
        - calloc
        - cardos_add_algs
        - cardos_have_2048bit_package
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_max_recv_size
        - sc_get_max_send_size
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:220,2'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:222,9'
          Dst:             calloc
        - Src:             'card-cardos.c:224,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:224,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:224,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:255,7'
          Dst:             cardos_have_2048bit_package
        - Src:             'card-cardos.c:276,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:281,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:283,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:283,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:286,6'
          Dst:             sc_check_sw
        - Src:             'card-cardos.c:288,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:288,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:302,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:325,25'
          Dst:             sc_get_max_send_size
        - Src:             'card-cardos.c:327,25'
          Dst:             sc_get_max_recv_size
        - Src:             'card-cardos.c:340,7'
          Dst:             cardos_add_algs
    - functionName:    cardos_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 76
      functionLinenumberEnd: 137
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         61
      ICount:          358
      EdgeCount:       83
      CyclomaticComplexity: 24
      functionsReached:
        - _sc_match_atr
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:80,6'
          Dst:             _sc_match_atr
        - Src:             'card-cardos.c:106,3'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:107,3'
          Dst:             sc_format_apdu
        - Src:             'card-cardos.c:112,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos.c:113,3'
          Dst:             sc_strerror
        - Src:             'card-cardos.c:113,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos.c:121,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:124,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:127,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:130,4'
          Dst:             sc_do_log
        - Src:             'card-cardos.c:133,4'
          Dst:             sc_do_log
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1541
      functionLinenumberEnd: 1561
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1543,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_cardos_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1566
      functionLinenumberEnd: 1567
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos.c:1567,9'
          Dst:             sc_get_driver
    - functionName:    tcos_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 696
      functionLinenumberEnd: 719
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          79
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - sc_parse_ef_gdo
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:709,6'
          Dst:             sc_parse_ef_gdo
    - functionName:    tcos_setperm
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 678
      functionLinenumberEnd: 692
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          75
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:682,2'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:683,2'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:689,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-tcos.c:690,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:690,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:691,9'
          Dst:             sc_check_sw
    - functionName:    map_operations
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 236
      functionLinenumberEnd: 261
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         23
      ICount:          118
      EdgeCount:       44
      CyclomaticComplexity: 23
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-tcos.c:239,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    parse_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 271
      functionLinenumberEnd: 330
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          182
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - map_operations
        - memcmp
        - sc_do_log
        - sc_file_add_acl_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:275,2'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:278,2'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:282,8'
          Dst:             memcmp
        - Src:             'card-tcos.c:283,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:285,15'
          Dst:             memcmp
        - Src:             'card-tcos.c:286,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:288,15'
          Dst:             memcmp
        - Src:             'card-tcos.c:289,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:291,15'
          Dst:             memcmp
        - Src:             'card-tcos.c:292,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:294,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:296,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:298,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:305,9'
          Dst:             map_operations
        - Src:             'card-tcos.c:307,5'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:313,5'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:317,5'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:321,5'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-tcos.c:325,5'
          Dst:             sc_file_add_acl_entry
    - functionName:    tcos_construct_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 209
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          326
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - sc_asn1_put_tag
        - snprintf
        - strlen
        - time
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-tcos.c:142,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-tcos.c:137,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-tcos.c:157,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-tcos.c:162,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-tcos.c:167,4'
          Dst:             sc_asn1_put_tag
        - Src:             'card-tcos.c:172,51'
          Dst:             time
        - Src:             'card-tcos.c:171,4'
          Dst:             snprintf
        - Src:             'card-tcos.c:173,31'
          Dst:             strlen
        - Src:             'card-tcos.c:173,4'
          Dst:             sc_asn1_put_tag
        - Src:             'card-tcos.c:187,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-tcos.c:201,2'
          Dst:             sc_asn1_put_tag
    - functionName:    time
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    tcos_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 723
      functionLinenumberEnd: 731
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          47
      EdgeCount:       13
      CyclomaticComplexity: 8
      functionsReached:
        - tcos_get_serialnr
        - tcos_setperm
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-tcos.c:724,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-tcos.c:726,10'
          Dst:             tcos_setperm
        - Src:             'card-tcos.c:728,10'
          Dst:             tcos_get_serialnr
    - functionName:    tcos_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 531
      functionLinenumberEnd: 532
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    tcos_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 621
      functionLinenumberEnd: 671
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          416
      EdgeCount:       82
      CyclomaticComplexity: 22
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:636,2'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:637,2'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:640,2'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:652,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-tcos.c:653,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:653,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:668,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:668,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:668,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:670,2'
          Dst:             sc_check_sw
        - Src:             'card-tcos.c:670,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:670,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:670,2'
          Dst:             sc_do_log
    - functionName:    tcos_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 537
      functionLinenumberEnd: 617
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         80
      ICount:          583
      EdgeCount:       103
      CyclomaticComplexity: 25
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:552,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:552,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:552,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:557,4'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:558,4'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:558,4'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:558,4'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:560,3'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:567,4'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:567,4'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:567,4'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:570,3'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:585,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-tcos.c:586,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:586,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:591,4'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:591,4'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:591,4'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:594,3'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:608,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-tcos.c:609,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:609,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:614,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:614,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:614,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:616,2'
          Dst:             sc_check_sw
        - Src:             'card-tcos.c:616,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:616,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:616,2'
          Dst:             sc_do_log
    - functionName:    tcos_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 449
      functionLinenumberEnd: 470
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          152
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:454,2'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:456,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:457,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:457,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:457,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:461,2'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:467,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-tcos.c:468,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:468,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:469,9'
          Dst:             sc_check_sw
    - functionName:    tcos_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 415
      functionLinenumberEnd: 445
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          199
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:426,3'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:431,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-tcos.c:432,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:432,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:434,7'
          Dst:             sc_check_sw
        - Src:             'card-tcos.c:435,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:435,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:437,3'
          Dst:             sc_do_log
    - functionName:    tcos_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 336
      functionLinenumberEnd: 411
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         72
      ICount:          453
      EdgeCount:       89
      CyclomaticComplexity: 19
      functionsReached:
        - memcmp
        - parse_sec_attr
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-tcos.c:352,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-tcos.c:350,2'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:364,23'
          Dst:             memcmp
        - Src:             'card-tcos.c:372,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:372,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:372,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:391,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-tcos.c:392,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:392,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:393,6'
          Dst:             sc_check_sw
        - Src:             'card-tcos.c:394,29'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:394,29'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:394,29'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:397,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:398,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:398,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:398,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:401,9'
          Dst:             sc_file_new
        - Src:             'card-tcos.c:402,20'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:402,20'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:402,20'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:408,2'
          Dst:             parse_sec_attr
    - functionName:    tcos_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 474
      functionLinenumberEnd: 527
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          402
      EdgeCount:       70
      CyclomaticComplexity: 19
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:488,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:488,3'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:488,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:491,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:494,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:497,2'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:504,2'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:515,4'
          Dst:             sc_transmit_apdu
        - Src:             'card-tcos.c:517,3'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:517,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:522,3'
          Dst:             sc_do_log
        - Src:             'card-tcos.c:526,2'
          Dst:             sc_check_sw
        - Src:             'card-tcos.c:526,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:526,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:526,2'
          Dst:             sc_do_log
    - functionName:    tcos_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 213
      functionLinenumberEnd: 232
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          101
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - tcos_construct_fci
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:220,6'
          Dst:             tcos_construct_fci
        - Src:             'card-tcos.c:221,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:221,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:223,2'
          Dst:             sc_format_apdu
        - Src:             'card-tcos.c:229,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-tcos.c:230,2'
          Dst:             sc_strerror
        - Src:             'card-tcos.c:230,2'
          Dst:             sc_do_log_color
        - Src:             'card-tcos.c:231,9'
          Dst:             sc_check_sw
    - functionName:    tcos_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 72
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    tcos_init
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 88
      functionLinenumberEnd: 115
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          86
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_card_add_rsa_alg
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:102,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-tcos.c:103,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-tcos.c:104,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-tcos.c:108,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-tcos.c:109,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-tcos.c:110,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-tcos.c:111,3'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    tcos_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 77
      functionLinenumberEnd: 84
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:80,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_tcos_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 735
      functionLinenumberEnd: 754
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-tcos.c:736,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    default_init
      functionSourceFile: '/src/opensc/src/libopensc/card-default.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 52
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          62
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-default.c:47,2'
          Dst:             sc_do_log
        - Src:             'card-default.c:52,2'
          Dst:             sc_strerror
        - Src:             'card-default.c:52,2'
          Dst:             sc_do_log_color
        - Src:             'card-default.c:52,2'
          Dst:             sc_do_log
    - functionName:    default_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-default.c'
      linkageType:     InternalLinkage
      functionLinenumber: 40
      functionLinenumberEnd: 41
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-default.c'
      linkageType:     InternalLinkage
      functionLinenumber: 56
      functionLinenumberEnd: 63
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-default.c:57,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_default_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-default.c'
      linkageType:     InternalLinkage
      functionLinenumber: 67
      functionLinenumberEnd: 68
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-default.c:68,9'
          Dst:             sc_get_driver
    - functionName:    mcrd_delete_ref_to_signkey
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 178
      functionLinenumberEnd: 188
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          95
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:184,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-mcrd.c:185,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-mcrd.c:186,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:186,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:187,2'
          Dst:             sc_check_sw
        - Src:             'card-mcrd.c:187,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:187,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:187,2'
          Dst:             sc_do_log
    - functionName:    mcrd_delete_ref_to_authkey
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 175
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          95
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:171,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-mcrd.c:172,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-mcrd.c:173,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:173,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:174,2'
          Dst:             sc_check_sw
        - Src:             'card-mcrd.c:174,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:174,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:174,2'
          Dst:             sc_do_log
    - functionName:    select_down
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 644
      functionLinenumberEnd: 676
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          212
      EdgeCount:       49
      CyclomaticComplexity: 13
      functionsReached:
        - load_special_files
        - sc_do_log_color
        - sc_strerror
        - select_part
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:654,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:654,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:660,8'
          Dst:             select_part
        - Src:             'card-mcrd.c:665,8'
          Dst:             select_part
        - Src:             'card-mcrd.c:667,3'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:667,3'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:673,3'
          Dst:             load_special_files
    - functionName:    select_part
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 615
      functionLinenumberEnd: 633
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - short
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          67
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - do_select
        - sc_do_log
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:620,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:631,6'
          Dst:             do_select
    - functionName:    load_special_files
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 248
      functionLinenumberEnd: 324
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         69
      ICount:          424
      EdgeCount:       86
      CyclomaticComplexity: 19
      functionsReached:
        - clear_special_files
        - get_df_info
        - sc_do_log
        - sc_do_log_color
        - sc_read_record
        - sc_strerror
        - select_part
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:257,8'
          Dst:             get_df_info
        - Src:             'card-mcrd.c:260,2'
          Dst:             clear_special_files
        - Src:             'card-mcrd.c:262,3'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:262,3'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:262,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:265,6'
          Dst:             select_part
        - Src:             'card-mcrd.c:266,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:266,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:270,7'
          Dst:             sc_read_record
        - Src:             'card-mcrd.c:276,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:276,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:276,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:280,5'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:280,5'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:280,5'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:289,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:292,6'
          Dst:             select_part
        - Src:             'card-mcrd.c:294,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:297,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:297,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:301,7'
          Dst:             sc_read_record
        - Src:             'card-mcrd.c:307,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:307,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:307,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:311,5'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:311,5'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:311,5'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:320,2'
          Dst:             sc_do_log
    - functionName:    get_df_info
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 111
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          149
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - calloc
        - memcmp
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:120,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:126,8'
          Dst:             memcmp
        - Src:             'card-mcrd.c:131,8'
          Dst:             calloc
        - Src:             'card-mcrd.c:133,3'
          Dst:             sc_do_log
    - functionName:    clear_special_files
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 144
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          74
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    do_select
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 556
      functionLinenumberEnd: 608
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         97
      ICount:          590
      EdgeCount:       124
      CyclomaticComplexity: 29
      functionsReached:
        - process_fcp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:565,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-mcrd.c:566,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-mcrd.c:567,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:567,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:570,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:570,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:570,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:571,7'
          Dst:             sc_check_sw
        - Src:             'card-mcrd.c:572,3'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:572,3'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:572,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:574,6'
          Dst:             sc_check_sw
        - Src:             'card-mcrd.c:576,3'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:576,3'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:576,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:580,12'
          Dst:             sc_file_new
        - Src:             'card-mcrd.c:582,5'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:582,5'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:582,5'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:590,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:590,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:590,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:591,11'
          Dst:             sc_file_new
        - Src:             'card-mcrd.c:593,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:593,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:593,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:594,3'
          Dst:             process_fcp
        - Src:             'card-mcrd.c:600,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:600,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:600,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:601,11'
          Dst:             sc_file_new
        - Src:             'card-mcrd.c:603,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:603,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:603,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:604,3'
          Dst:             process_fcp
    - functionName:    process_fcp
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 420
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         89
      ICount:          617
      EdgeCount:       118
      CyclomaticComplexity: 31
      functionsReached:
        - __ctype_b_loc
        - process_arr
        - sc_asn1_find_tag
        - sc_do_log
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-mcrd.c:474,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-mcrd.c:426,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:429,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:432,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:436,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:442,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:447,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:452,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:455,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:462,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:470,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:491,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:493,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:499,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:508,8'
          Dst:             __ctype_b_loc
        - Src:             'card-mcrd.c:508,27'
          Dst:             __ctype_b_loc
        - Src:             'card-mcrd.c:508,46'
          Dst:             __ctype_b_loc
        - Src:             'card-mcrd.c:514,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:518,25'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:520,3'
          Dst:             sc_file_set_prop_attr
        - Src:             'card-mcrd.c:525,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:527,3'
          Dst:             sc_file_set_prop_attr
        - Src:             'card-mcrd.c:531,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:533,3'
          Dst:             sc_file_set_sec_attr
        - Src:             'card-mcrd.c:537,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:539,3'
          Dst:             process_arr
        - Src:             'card-mcrd.c:540,20'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:544,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-mcrd.c:546,4'
          Dst:             process_arr
    - functionName:    process_arr
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 328
      functionLinenumberEnd: 416
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         57
      ICount:          341
      EdgeCount:       70
      CyclomaticComplexity: 15
      functionsReached:
        - _sc_debug_hex
        - get_df_info
        - sc_asn1_read_tag
        - sc_do_log
        - sc_hex_dump
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-mcrd.c:383,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-mcrd.c:340,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:344,8'
          Dst:             get_df_info
        - Src:             'card-mcrd.c:348,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:352,2'
          Dst:             sc_hex_dump
        - Src:             'card-mcrd.c:353,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:361,7'
          Dst:             sc_asn1_read_tag
        - Src:             'card-mcrd.c:370,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:373,4'
          Dst:             sc_hex_dump
        - Src:             'card-mcrd.c:374,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:385,5'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:388,5'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:391,5'
          Dst:             _sc_debug_hex
        - Src:             'card-mcrd.c:397,5'
          Dst:             _sc_debug_hex
        - Src:             'card-mcrd.c:401,5'
          Dst:             _sc_debug_hex
        - Src:             'card-mcrd.c:405,5'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:408,5'
          Dst:             sc_do_log
    - functionName:    select_file_by_fid
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 781
      functionLinenumberEnd: 844
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          310
      EdgeCount:       67
      CyclomaticComplexity: 18
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
        - select_down
        - select_part
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:785,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:808,8'
          Dst:             select_down
        - Src:             'card-mcrd.c:813,7'
          Dst:             select_part
        - Src:             'card-mcrd.c:814,3'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:814,3'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:823,8'
          Dst:             select_part
        - Src:             'card-mcrd.c:824,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:824,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:837,4'
          Dst:             sc_file_free
        - Src:             'card-mcrd.c:840,7'
          Dst:             select_down
    - functionName:    select_file_by_path
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 688
      functionLinenumberEnd: 776
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         82
      ICount:          494
      EdgeCount:       108
      CyclomaticComplexity: 28
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
        - select_down
        - select_part
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:693,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:708,7'
          Dst:             select_part
        - Src:             'card-mcrd.c:709,3'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:709,3'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:722,8'
          Dst:             select_down
        - Src:             'card-mcrd.c:728,8'
          Dst:             select_down
        - Src:             'card-mcrd.c:741,9'
          Dst:             select_down
        - Src:             'card-mcrd.c:749,8'
          Dst:             select_down
        - Src:             'card-mcrd.c:756,8'
          Dst:             select_part
        - Src:             'card-mcrd.c:757,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:757,4'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:770,4'
          Dst:             sc_file_free
        - Src:             'card-mcrd.c:773,7'
          Dst:             select_down
    - functionName:    mcrd_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1041
      functionLinenumberEnd: 1042
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mcrd_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1027
      functionLinenumberEnd: 1037
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          110
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:1028,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:1033,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:1037,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:1037,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:1037,2'
          Dst:             sc_do_log
    - functionName:    mcrd_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 994
      functionLinenumberEnd: 1023
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          270
      EdgeCount:       53
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:1004,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:1008,3'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:1008,3'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:1008,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:1010,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:1014,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-mcrd.c:1016,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-mcrd.c:1017,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-mcrd.c:1018,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:1018,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:1019,6'
          Dst:             sc_check_sw
        - Src:             'card-mcrd.c:1020,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:1020,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:1022,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:1022,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:1022,2'
          Dst:             sc_do_log
    - functionName:    mcrd_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 914
      functionLinenumberEnd: 988
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          326
      EdgeCount:       65
      CyclomaticComplexity: 14
      functionsReached:
        - mcrd_delete_ref_to_authkey
        - mcrd_delete_ref_to_signkey
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_lock
        - sc_strerror
        - sc_transmit_apdu
        - sc_unlock
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-mcrd.c:934,2'
          Branch Sides:    []
        - Branch String:   'card-mcrd.c:949,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-mcrd.c:922,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:936,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:937,3'
          Dst:             mcrd_delete_ref_to_authkey
        - Src:             'card-mcrd.c:938,3'
          Dst:             mcrd_delete_ref_to_signkey
        - Src:             'card-mcrd.c:941,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:951,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-mcrd.c:954,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-mcrd.c:961,7'
          Dst:             sc_lock
        - Src:             'card-mcrd.c:962,3'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:962,3'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:966,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-mcrd.c:968,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:968,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:972,7'
          Dst:             sc_check_sw
        - Src:             'card-mcrd.c:974,4'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:974,4'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:981,2'
          Dst:             sc_unlock
        - Src:             'card-mcrd.c:982,2'
          Dst:             sc_strerror
        - Src:             'card-mcrd.c:982,2'
          Dst:             sc_do_log_color
        - Src:             'card-mcrd.c:983,9'
          Dst:             sc_check_sw
        - Src:             'card-mcrd.c:986,3'
          Dst:             sc_unlock
    - functionName:    mcrd_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 849
      functionLinenumberEnd: 904
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          336
      EdgeCount:       73
      CyclomaticComplexity: 19
      functionsReached:
        - do_select
        - sc_do_log
        - select_file_by_fid
        - select_file_by_path
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:853,2'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:858,7'
          Dst:             do_select
        - Src:             'card-mcrd.c:896,9'
          Dst:             select_file_by_path
        - Src:             'card-mcrd.c:898,9'
          Dst:             select_file_by_fid
    - functionName:    mcrd_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 229
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          64
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - clear_special_files
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:237,3'
          Dst:             clear_special_files
    - functionName:    mcrd_init
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 226
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          76
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_card_add_rsa_alg
        - calloc
        - load_special_files
        - sc_do_log
        - sc_get_mf_path
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:206,32'
          Dst:             calloc
        - Src:             'card-mcrd.c:216,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-mcrd.c:217,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-mcrd.c:218,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-mcrd.c:220,42'
          Dst:             sc_get_mf_path
        - Src:             'card-mcrd.c:220,20'
          Dst:             sc_select_file
        - Src:             'card-mcrd.c:221,3'
          Dst:             sc_do_log
        - Src:             'card-mcrd.c:223,2'
          Dst:             load_special_files
    - functionName:    mcrd_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 201
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:194,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1047
      functionLinenumberEnd: 1062
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:1048,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_mcrd_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-mcrd.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1066
      functionLinenumberEnd: 1067
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-mcrd.c:1067,9'
          Dst:             sc_get_driver
    - functionName:    starcos_logout_v3_x
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2047
      functionLinenumberEnd: 2048
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    starcos_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1970
      functionLinenumberEnd: 2013
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         35
      ICount:          230
      EdgeCount:       47
      CyclomaticComplexity: 14
      functionsReached:
        - sc_do_log_color
        - sc_format_apdu
        - sc_parse_ef_gdo
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1986,7'
          Dst:             sc_parse_ef_gdo
        - Src:             'card-starcos.c:1993,3'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:2000,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:2001,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:2001,3'
          Dst:             sc_do_log_color
    - functionName:    starcos_erase_card
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1361
      functionLinenumberEnd: 1380
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          94
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1368,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1374,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1375,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1375,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1379,14'
          Dst:             sc_check_sw
    - functionName:    starcos_gen_key
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1466
      functionLinenumberEnd: 1520
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          283
      EdgeCount:       48
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1473,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1476,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1484,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1485,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1485,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1487,10'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:1489,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1498,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1499,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1499,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1501,10'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:1504,3'
          Dst:             sc_do_log
    - functionName:    starcos_write_key
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1395
      functionLinenumberEnd: 1454
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         39
      ICount:          319
      EdgeCount:       51
      CyclomaticComplexity: 14
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1402,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1409,3'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1416,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1417,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1417,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1419,11'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:1439,3'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1445,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1446,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1446,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1448,11'
          Dst:             sc_check_sw
    - functionName:    starcos_create_end
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1290
      functionLinenumberEnd: 1310
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          114
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1298,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1302,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1307,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1308,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1308,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1309,9'
          Dst:             sc_check_sw
    - functionName:    process_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1016
      functionLinenumberEnd: 1034
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          125
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - sc_file_get_acl_entry
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1018,32'
          Dst:             sc_file_get_acl_entry
    - functionName:    starcos_create_ef
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1260
      functionLinenumberEnd: 1278
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          97
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1265,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1267,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1269,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1275,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1276,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1276,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1277,9'
          Dst:             sc_check_sw
    - functionName:    starcos_create_df
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1214
      functionLinenumberEnd: 1248
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          164
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1220,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1222,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1224,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1226,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1234,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1235,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1235,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1237,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1239,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1245,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1246,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1246,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1247,9'
          Dst:             sc_check_sw
    - functionName:    starcos_create_mf
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1184
      functionLinenumberEnd: 1201
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          95
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1189,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1191,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1192,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1198,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1199,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1199,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1200,9'
          Dst:             sc_check_sw
    - functionName:    starcos_process_acl
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1048
      functionLinenumberEnd: 1171
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          612
      EdgeCount:       64
      CyclomaticComplexity: 16
      functionsReached:
        - process_acl_entry
        - sc_file_get_acl_entry
      functionUses:    3
      BranchProfiles:
        - Branch String:   'card-starcos.c:1146,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-starcos.c:1062,10'
          Dst:             process_acl_entry
        - Src:             'card-starcos.c:1064,10'
          Dst:             process_acl_entry
        - Src:             'card-starcos.c:1066,10'
          Dst:             process_acl_entry
        - Src:             'card-starcos.c:1070,38'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-starcos.c:1102,10'
          Dst:             process_acl_entry
        - Src:             'card-starcos.c:1104,10'
          Dst:             process_acl_entry
        - Src:             'card-starcos.c:1107,8'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-starcos.c:1125,10'
          Dst:             process_acl_entry
        - Src:             'card-starcos.c:1127,10'
          Dst:             process_acl_entry
        - Src:             'card-starcos.c:1129,10'
          Dst:             process_acl_entry
        - Src:             'card-starcos.c:1137,39'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-starcos.c:1138,39'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-starcos.c:1139,39'
          Dst:             sc_file_get_acl_entry
    - functionName:    process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 478
      functionLinenumberEnd: 566
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          294
      EdgeCount:       51
      CyclomaticComplexity: 13
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-starcos.c:536,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-starcos.c:488,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:506,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:509,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:514,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:558,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:560,3'
          Dst:             sc_do_log
    - functionName:    process_fci_v3_4
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 570
      functionLinenumberEnd: 601
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          173
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:574,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:587,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:587,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:587,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:593,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:597,3'
          Dst:             sc_dump_hex
        - Src:             'card-starcos.c:597,3'
          Dst:             sc_do_log
    - functionName:    process_fcp_v3_4
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 605
      functionLinenumberEnd: 740
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         76
      ICount:          553
      EdgeCount:       96
      CyclomaticComplexity: 22
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-starcos.c:651,4'
          Branch Sides:    []
        - Branch String:   'card-starcos.c:718,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-starcos.c:609,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:620,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:623,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:628,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:631,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:636,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:685,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:687,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:691,5'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:691,5'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:691,5'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:696,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:700,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:703,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:707,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:711,3'
          Dst:             sc_dump_hex
        - Src:             'card-starcos.c:711,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:715,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:735,3'
          Dst:             sc_do_log
    - functionName:    starcos_select_fid
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 786
      functionLinenumberEnd: 908
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         132
      ICount:          788
      EdgeCount:       176
      CyclomaticComplexity: 46
      functionsReached:
        - process_fci
        - process_fci_v3_4
        - process_fcp_v3_4
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:795,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:824,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:825,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:825,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:834,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:835,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:835,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:845,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:846,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:846,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:852,3'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:857,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:858,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:858,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:868,3'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:868,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:868,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:868,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:871,21'
          Dst:             sc_file_new
        - Src:             'card-starcos.c:873,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:873,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:873,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:888,10'
          Dst:             process_fcp_v3_4
        - Src:             'card-starcos.c:891,10'
          Dst:             process_fci_v3_4
        - Src:             'card-starcos.c:895,9'
          Dst:             process_fci
        - Src:             'card-starcos.c:899,5'
          Dst:             sc_file_free
        - Src:             'card-starcos.c:907,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:907,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:907,2'
          Dst:             sc_do_log
    - functionName:    starcos_select_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 745
      functionLinenumberEnd: 781
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          283
      EdgeCount:       50
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:750,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:756,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:757,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:757,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:761,3'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:761,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:761,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:761,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:764,21'
          Dst:             sc_file_new
        - Src:             'card-starcos.c:766,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:766,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:766,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:780,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:780,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:780,2'
          Dst:             sc_do_log
    - functionName:    starcos_select_mf
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 318
      functionLinenumberEnd: 329
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          31
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:322,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:329,9'
          Dst:             sc_transmit_apdu
    - functionName:    starcos_parse_supported_sec_mechanisms
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 186
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          183
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:163,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:165,33'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:172,27'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:178,16'
          Dst:             sc_asn1_find_tag
        - Src:             'card-starcos.c:181,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:181,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:181,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:185,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:185,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:185,2'
          Dst:             sc_do_log
    - functionName:    starcos_determine_pin_format35
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 225
      functionLinenumberEnd: 260
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          155
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_read_record
        - sc_select_file
        - sc_strerror
        - starcos_parse_supported_sec_mechanisms
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:235,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:237,2'
          Dst:             sc_format_path
        - Src:             'card-starcos.c:238,7'
          Dst:             sc_select_file
        - Src:             'card-starcos.c:239,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:239,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:241,16'
          Dst:             sc_read_record
        - Src:             'card-starcos.c:245,8'
          Dst:             starcos_parse_supported_sec_mechanisms
        - Src:             'card-starcos.c:248,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:253,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:258,2'
          Dst:             sc_file_free
        - Src:             'card-starcos.c:259,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:259,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:259,2'
          Dst:             sc_do_log
    - functionName:    starcos_determine_pin_format34
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 189
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          146
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_read_record
        - sc_select_file
        - sc_strerror
        - starcos_parse_supported_sec_mechanisms
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:198,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:200,2'
          Dst:             sc_format_path
        - Src:             'card-starcos.c:201,7'
          Dst:             sc_select_file
        - Src:             'card-starcos.c:202,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:202,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:204,13'
          Dst:             sc_read_record
        - Src:             'card-starcos.c:207,8'
          Dst:             starcos_parse_supported_sec_mechanisms
        - Src:             'card-starcos.c:210,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:212,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:216,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:220,2'
          Dst:             sc_file_free
        - Src:             'card-starcos.c:221,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:221,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:221,2'
          Dst:             sc_do_log
    - functionName:    starcos_has_esign_app
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 339
      functionLinenumberEnd: 356
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          82
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log_color
        - sc_hex_to_bin
        - sc_strerror
        - starcos_select_aid
        - starcos_select_mf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:343,7'
          Dst:             starcos_select_mf
        - Src:             'card-starcos.c:348,8'
          Dst:             sc_hex_to_bin
        - Src:             'card-starcos.c:349,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:349,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:350,8'
          Dst:             starcos_select_aid
        - Src:             'card-starcos.c:352,4'
          Dst:             starcos_select_mf
    - functionName:    starcos_determine_pin_encoding
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 294
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          107
      EdgeCount:       27
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - starcos_determine_pin_format34
        - starcos_determine_pin_format35
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-starcos.c:279,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-starcos.c:274,3'
          Dst:             starcos_determine_pin_format34
        - Src:             'card-starcos.c:276,3'
          Dst:             starcos_determine_pin_format35
        - Src:             'card-starcos.c:293,2'
          Dst:             sc_do_log
    - functionName:    starcos_probe_reader_for_ext_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 301
      functionLinenumberEnd: 316
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          77
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:308,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:313,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:314,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:314,2'
          Dst:             sc_do_log_color
    - functionName:    starcos_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2081
      functionLinenumberEnd: 2091
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          131
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:2084,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:2091,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:2091,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:2091,2'
          Dst:             sc_do_log
    - functionName:    starcos_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2052
      functionLinenumberEnd: 2078
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         22
      ICount:          132
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - starcos_logout_v3_x
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:2058,10'
          Dst:             starcos_logout_v3_x
        - Src:             'card-starcos.c:2061,2'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:2068,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:2069,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:2069,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:2077,9'
          Dst:             sc_check_sw
    - functionName:    starcos_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2016
      functionLinenumberEnd: 2044
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          116
      EdgeCount:       19
      CyclomaticComplexity: 4
      functionsReached:
        - starcos_create_df
        - starcos_create_ef
        - starcos_create_end
        - starcos_create_mf
        - starcos_erase_card
        - starcos_gen_key
        - starcos_get_serialnr
        - starcos_write_key
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-starcos.c:2019,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-starcos.c:2024,11'
          Dst:             starcos_create_mf
        - Src:             'card-starcos.c:2026,11'
          Dst:             starcos_create_df
        - Src:             'card-starcos.c:2028,11'
          Dst:             starcos_create_ef
        - Src:             'card-starcos.c:2032,10'
          Dst:             starcos_create_end
        - Src:             'card-starcos.c:2034,10'
          Dst:             starcos_write_key
        - Src:             'card-starcos.c:2036,10'
          Dst:             starcos_gen_key
        - Src:             'card-starcos.c:2038,10'
          Dst:             starcos_erase_card
        - Src:             'card-starcos.c:2040,10'
          Dst:             starcos_get_serialnr
    - functionName:    starcos_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1869
      functionLinenumberEnd: 1938
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          350
      EdgeCount:       55
      CyclomaticComplexity: 15
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_max_recv_size
        - sc_get_max_send_size
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1876,6'
          Dst:             sc_get_max_send_size
        - Src:             'card-starcos.c:1884,6'
          Dst:             sc_get_max_recv_size
        - Src:             'card-starcos.c:1905,3'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1916,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1917,3'
          Dst:             sc_mem_clear
        - Src:             'card-starcos.c:1921,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1921,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1926,8'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:1937,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1937,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1937,2'
          Dst:             sc_do_log
    - functionName:    starcos_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1741
      functionLinenumberEnd: 1864
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         118
      ICount:          816
      EdgeCount:       152
      CyclomaticComplexity: 36
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_pkcs1_encode
        - sc_pkcs1_strip_digest_info_prefix
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1749,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1749,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1749,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1757,4'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1770,10'
          Dst:             sc_pkcs1_strip_digest_info_prefix
        - Src:             'card-starcos.c:1772,10'
          Dst:             sc_pkcs1_encode
        - Src:             'card-starcos.c:1774,5'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1774,5'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1784,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1785,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1785,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1788,4'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1797,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1798,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1798,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1800,5'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:1800,5'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1800,5'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1800,5'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1804,4'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1812,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1813,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1813,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1820,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1820,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1820,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1824,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1826,3'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1834,8'
          Dst:             sc_pkcs1_encode
        - Src:             'card-starcos.c:1848,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1849,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1849,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1854,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1854,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1854,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1857,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1857,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1857,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1863,2'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:1863,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1863,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1863,2'
          Dst:             sc_do_log
    - functionName:    starcos_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1538
      functionLinenumberEnd: 1736
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         165
      ICount:          1134
      EdgeCount:       215
      CyclomaticComplexity: 52
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-starcos.c:1564,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-starcos.c:1552,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1552,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1552,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1566,5'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1586,5'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1602,5'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1611,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1612,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1612,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1614,4'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:1614,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1614,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1614,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1645,3'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1651,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1652,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1652,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1654,4'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:1654,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1654,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1654,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1694,3'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1701,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1702,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1702,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1720,3'
          Dst:             sc_format_apdu
        - Src:             'card-starcos.c:1726,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-starcos.c:1727,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1727,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1729,4'
          Dst:             sc_check_sw
        - Src:             'card-starcos.c:1729,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1729,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1729,4'
          Dst:             sc_do_log
    - functionName:    starcos_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1321
      functionLinenumberEnd: 1351
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          128
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - starcos_create_df
        - starcos_create_ef
        - starcos_create_mf
        - starcos_process_acl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1325,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1327,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1332,8'
          Dst:             starcos_process_acl
        - Src:             'card-starcos.c:1335,11'
          Dst:             starcos_create_mf
        - Src:             'card-starcos.c:1338,8'
          Dst:             starcos_process_acl
        - Src:             'card-starcos.c:1341,11'
          Dst:             starcos_create_df
        - Src:             'card-starcos.c:1345,7'
          Dst:             starcos_process_acl
        - Src:             'card-starcos.c:1348,10'
          Dst:             starcos_create_ef
    - functionName:    starcos_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1941
      functionLinenumberEnd: 1967
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          136
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1945,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1952,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1961,4'
          Dst:             sc_do_log
    - functionName:    starcos_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1001
      functionLinenumberEnd: 1008
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          82
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:1002,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:1008,2'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:1008,2'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:1008,2'
          Dst:             sc_do_log
    - functionName:    starcos_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 913
      functionLinenumberEnd: 998
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         127
      ICount:          769
      EdgeCount:       162
      CyclomaticComplexity: 37
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - starcos_select_aid
        - starcos_select_fid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:918,2'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:921,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:921,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:921,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:930,5'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:930,5'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:930,5'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:936,8'
          Dst:             starcos_select_aid
        - Src:             'card-starcos.c:937,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:937,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:949,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:949,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:949,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:950,7'
          Dst:             starcos_select_fid
        - Src:             'card-starcos.c:952,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:952,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:952,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:957,7'
          Dst:             starcos_select_aid
        - Src:             'card-starcos.c:958,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:958,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:958,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:971,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:971,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:971,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:974,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:974,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:974,4'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:990,8'
          Dst:             starcos_select_fid
        - Src:             'card-starcos.c:991,4'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:991,4'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:993,7'
          Dst:             starcos_select_fid
        - Src:             'card-starcos.c:994,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:994,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:994,3'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:997,3'
          Dst:             sc_strerror
        - Src:             'card-starcos.c:997,3'
          Dst:             sc_do_log_color
        - Src:             'card-starcos.c:997,3'
          Dst:             sc_do_log
    - functionName:    starcos_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 470
      functionLinenumberEnd: 473
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    starcos_init
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 359
      functionLinenumberEnd: 467
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         50
      ICount:          409
      EdgeCount:       67
      CyclomaticComplexity: 19
      functionsReached:
        - _sc_card_add_rsa_alg
        - bebytes2ushort
        - calloc
        - sc_do_log
        - sc_parse_ef_atr
        - starcos_determine_pin_encoding
        - starcos_has_esign_app
        - starcos_probe_reader_for_ext_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:363,12'
          Dst:             calloc
        - Src:             'card-starcos.c:392,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:393,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:394,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:395,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:396,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:397,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:403,4'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:408,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:409,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:410,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-starcos.c:417,6'
          Dst:             sc_parse_ef_atr
        - Src:             'card-starcos.c:423,20'
          Dst:             bebytes2ushort
        - Src:             'card-starcos.c:424,20'
          Dst:             bebytes2ushort
        - Src:             'card-starcos.c:444,9'
          Dst:             starcos_probe_reader_for_ext_apdu
        - Src:             'card-starcos.c:445,5'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:451,5'
          Dst:             sc_do_log
        - Src:             'card-starcos.c:458,27'
          Dst:             starcos_determine_pin_encoding
        - Src:             'card-starcos.c:461,50'
          Dst:             starcos_has_esign_app
        - Src:             'card-starcos.c:463,3'
          Dst:             sc_do_log
    - functionName:    starcos_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 125
      functionLinenumberEnd: 132
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:128,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2095
      functionLinenumberEnd: 2116
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:2096,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_starcos_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2120
      functionLinenumberEnd: 2121
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-starcos.c:2121,9'
          Dst:             sc_get_driver
    - functionName:    gnuk_delete_key
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4048
      functionLinenumberEnd: 4081
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          211
      EdgeCount:       46
      CyclomaticComplexity: 11
      functionsReached:
        - pgp_put_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - ushort2bebytes
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:4053,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4056,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4056,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4060,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4061,6'
          Dst:             pgp_put_data
        - Src:             'card-openpgp.c:4062,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4062,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4064,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4065,6'
          Dst:             pgp_put_data
        - Src:             'card-openpgp.c:4066,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4066,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4069,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4072,3'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:4074,3'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:4076,3'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:4078,6'
          Dst:             pgp_put_data
        - Src:             'card-openpgp.c:4080,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4080,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4080,2'
          Dst:             sc_do_log
    - functionName:    pgp_put_data
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2141
      functionLinenumberEnd: 2202
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          372
      EdgeCount:       73
      CyclomaticComplexity: 17
      functionsReached:
        - gnuk_write_certificate
        - pgp_find_blob
        - pgp_get_info_by_tag
        - pgp_put_data_plain
        - pgp_set_blob
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:2147,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2150,18'
          Dst:             pgp_find_blob
        - Src:             'card-openpgp.c:2154,11'
          Dst:             pgp_get_info_by_tag
        - Src:             'card-openpgp.c:2160,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2161,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2161,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2161,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2164,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2165,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2165,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2165,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2174,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2175,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2175,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2175,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2180,7'
          Dst:             gnuk_write_certificate
        - Src:             'card-openpgp.c:2183,7'
          Dst:             pgp_put_data_plain
        - Src:             'card-openpgp.c:2188,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2190,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2190,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2194,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2195,7'
          Dst:             pgp_set_blob
        - Src:             'card-openpgp.c:2197,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2201,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2201,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2201,2'
          Dst:             sc_do_log
    - functionName:    pgp_find_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1552
      functionLinenumberEnd: 1568
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          70
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - pgp_seek_blob
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1562,6'
          Dst:             pgp_seek_blob
        - Src:             'card-openpgp.c:1564,3'
          Dst:             sc_do_log
    - functionName:    pgp_get_info_by_tag
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1576
      functionLinenumberEnd: 1585
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          65
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    gnuk_write_certificate
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2033
      functionLinenumberEnd: 2081
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          328
      EdgeCount:       60
      CyclomaticComplexity: 14
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:2038,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2042,3'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:2043,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:2044,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2044,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2046,3'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:2046,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2046,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2046,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2057,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2060,3'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:2074,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:2075,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2075,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2077,3'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:2077,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2077,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2080,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2080,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2080,2'
          Dst:             sc_do_log
    - functionName:    pgp_put_data_plain
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2089
      functionLinenumberEnd: 2133
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          236
      EdgeCount:       40
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:2099,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2110,3'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:2122,3'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:2126,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:2127,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2127,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2129,6'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:2130,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2130,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2132,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2132,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2132,2'
          Dst:             sc_do_log
    - functionName:    pgp_set_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1140
      functionLinenumberEnd: 1163
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          113
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1148,15'
          Dst:             calloc
    - functionName:    pgp_seek_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1524
      functionLinenumberEnd: 1544
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          112
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - pgp_get_blob
        - pgp_seek_blob
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1528,11'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1538,7'
          Dst:             pgp_seek_blob
    - functionName:    pgp_get_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1480
      functionLinenumberEnd: 1515
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          148
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - pgp_enumerate_blob
        - pgp_new_blob
        - pgp_read_blob
        - pgp_set_blob
        - sc_do_log
        - sc_file_new
      functionUses:    22
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1484,11'
          Dst:             pgp_enumerate_blob
        - Src:             'card-openpgp.c:1489,11'
          Dst:             pgp_read_blob
        - Src:             'card-openpgp.c:1501,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1502,40'
          Dst:             sc_file_new
        - Src:             'card-openpgp.c:1502,11'
          Dst:             pgp_new_blob
        - Src:             'card-openpgp.c:1504,4'
          Dst:             pgp_set_blob
        - Src:             'card-openpgp.c:1509,4'
          Dst:             sc_do_log
    - functionName:    pgp_enumerate_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1398
      functionLinenumberEnd: 1471
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         44
      ICount:          274
      EdgeCount:       60
      CyclomaticComplexity: 18
      functionsReached:
        - pgp_new_blob
        - pgp_read_blob
        - pgp_set_blob
        - sc_asn1_read_tag
        - sc_do_log
        - sc_file_free
        - sc_file_new
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1406,11'
          Dst:             pgp_read_blob
        - Src:             'card-openpgp.c:1420,7'
          Dst:             sc_asn1_read_tag
        - Src:             'card-openpgp.c:1423,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1429,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1443,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1458,10'
          Dst:             sc_file_new
        - Src:             'card-openpgp.c:1459,14'
          Dst:             pgp_new_blob
        - Src:             'card-openpgp.c:1460,4'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:1463,7'
          Dst:             pgp_set_blob
        - Src:             'card-openpgp.c:1464,4'
          Dst:             sc_file_free
    - functionName:    pgp_read_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1348
      functionLinenumberEnd: 1389
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          217
      EdgeCount:       50
      CyclomaticComplexity: 16
      functionsReached:
        - pgp_set_blob
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1384,10'
          Dst:             pgp_set_blob
    - functionName:    pgp_new_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1240
      functionLinenumberEnd: 1295
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          212
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - calloc
        - pgp_attach_acl
        - sc_append_file_id
        - sc_format_path
        - snprintf
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1246,14'
          Dst:             calloc
        - Src:             'card-openpgp.c:1264,4'
          Dst:             sc_append_file_id
        - Src:             'card-openpgp.c:1275,13'
          Dst:             snprintf
        - Src:             'card-openpgp.c:1280,4'
          Dst:             sc_format_path
        - Src:             'card-openpgp.c:1288,5'
          Dst:             pgp_attach_acl
    - functionName:    pgp_attach_acl
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1172
      functionLinenumberEnd: 1231
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          157
      EdgeCount:       29
      CyclomaticComplexity: 4
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:1177,2'
          Branch Sides:    []
        - Branch String:   'card-openpgp.c:1210,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:1196,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-openpgp.c:1197,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-openpgp.c:1198,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-openpgp.c:1199,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-openpgp.c:1204,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-openpgp.c:1229,3'
          Dst:             sc_file_add_acl_entry
    - functionName:    pgp_build_tlv
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3533
      functionLinenumberEnd: 3553
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          115
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - sc_asn1_write_element
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:3537,6'
          Dst:             sc_asn1_write_element
        - Src:             'card-openpgp.c:3538,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3538,2'
          Dst:             sc_do_log_color
    - functionName:    set_taglength_tlv
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3567
      functionLinenumberEnd: 3587
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          110
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pgp_build_extended_header_list
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3597
      functionLinenumberEnd: 3791
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         122
      ICount:          910
      EdgeCount:       152
      CyclomaticComplexity: 32
      functionsReached:
        - calloc
        - pgp_build_tlv
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - set_taglength_tlv
        - ushort2bebytes
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:3759,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:3628,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3662,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3663,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3663,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3663,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3678,8'
          Dst:             calloc
        - Src:             'card-openpgp.c:3680,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3680,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3680,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3709,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3710,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3710,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3710,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3717,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3717,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3717,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3723,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3725,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3725,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3725,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3727,9'
          Dst:             set_taglength_tlv
        - Src:             'card-openpgp.c:3731,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3731,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3731,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3746,6'
          Dst:             pgp_build_tlv
        - Src:             'card-openpgp.c:3747,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3747,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3749,6'
          Dst:             pgp_build_tlv
        - Src:             'card-openpgp.c:3750,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3750,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3755,9'
          Dst:             calloc
        - Src:             'card-openpgp.c:3757,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3757,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3761,4'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:3764,4'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:3767,4'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:3770,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3770,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3775,6'
          Dst:             pgp_build_tlv
        - Src:             'card-openpgp.c:3776,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3776,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3790,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3790,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3790,2'
          Dst:             sc_do_log
    - functionName:    pgp_update_pubkey_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3186
      functionLinenumberEnd: 3247
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         51
      ICount:          381
      EdgeCount:       64
      CyclomaticComplexity: 15
      functionsReached:
        - pgp_get_blob
        - pgp_set_blob
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_encode_pubkey_as_spki
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:3195,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3204,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3204,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3208,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3209,6'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:3210,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3210,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3231,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3231,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3231,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3233,6'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'card-openpgp.c:3240,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3240,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3242,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3243,6'
          Dst:             pgp_set_blob
        - Src:             'card-openpgp.c:3245,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3245,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3246,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3246,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3246,2'
          Dst:             sc_do_log
    - functionName:    pgp_calculate_and_store_fingerprint
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3000
      functionLinenumberEnd: 3177
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         114
      ICount:          894
      EdgeCount:       146
      CyclomaticComplexity: 34
      functionsReached:
        - SHA1
        - calloc
        - pgp_find_blob
        - pgp_put_data
        - pgp_set_blob
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - ulong2bebytes
        - ushort2bebytes
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:3011,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3022,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3023,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3023,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3023,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3041,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3042,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3042,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3042,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3063,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3063,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3063,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3064,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3067,18'
          Dst:             calloc
        - Src:             'card-openpgp.c:3069,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3069,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3069,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3073,2'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:3077,2'
          Dst:             ulong2bebytes
        - Src:             'card-openpgp.c:3089,3'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:3096,3'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:3134,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3134,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3134,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3139,2'
          Dst:             SHA1
        - Src:             'card-openpgp.c:3143,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3144,6'
          Dst:             pgp_put_data
        - Src:             'card-openpgp.c:3145,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3145,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3148,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3149,15'
          Dst:             pgp_find_blob
        - Src:             'card-openpgp.c:3152,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3152,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3156,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3156,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3163,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3163,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3172,2'
          Dst:             pgp_set_blob
        - Src:             'card-openpgp.c:3176,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3176,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3176,2'
          Dst:             sc_do_log
    - functionName:    pgp_store_creationtime
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2956
      functionLinenumberEnd: 2990
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          237
      EdgeCount:       51
      CyclomaticComplexity: 12
      functionsReached:
        - gmtime_r
        - pgp_put_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strftime
        - time
        - ulong2bebytes
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:2964,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2967,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2967,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2974,27'
          Dst:             time
        - Src:             'card-openpgp.c:2980,14'
          Dst:             gmtime_r
        - Src:             'card-openpgp.c:2981,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2981,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2981,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2983,2'
          Dst:             strftime
        - Src:             'card-openpgp.c:2984,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2986,2'
          Dst:             ulong2bebytes
        - Src:             'card-openpgp.c:2987,6'
          Dst:             pgp_put_data
        - Src:             'card-openpgp.c:2988,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2988,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2989,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2989,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2989,2'
          Dst:             sc_do_log
    - functionName:    pgp_update_card_algorithms
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3384
      functionLinenumberEnd: 3419
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          311
      EdgeCount:       58
      CyclomaticComplexity: 14
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:3389,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3395,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3395,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3395,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3398,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3401,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3401,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3401,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3416,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3416,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3416,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3418,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3418,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3418,2'
          Dst:             sc_do_log
    - functionName:    pgp_parse_and_set_pubkey_output
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3256
      functionLinenumberEnd: 3376
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         126
      ICount:          784
      EdgeCount:       157
      CyclomaticComplexity: 33
      functionsReached:
        - pgp_calculate_and_store_fingerprint
        - pgp_store_creationtime
        - pgp_update_pubkey_blob
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:3345,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:3260,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3263,6'
          Dst:             pgp_store_creationtime
        - Src:             'card-openpgp.c:3266,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3276,7'
          Dst:             sc_asn1_read_tag
        - Src:             'card-openpgp.c:3279,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3279,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3289,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3289,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3289,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3297,6'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3297,6'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3297,6'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3307,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3307,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3307,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3315,6'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3315,6'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3315,6'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3328,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3328,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3328,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3343,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3343,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3343,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3351,6'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3351,6'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3351,6'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3356,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3356,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3356,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3366,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3367,6'
          Dst:             pgp_calculate_and_store_fingerprint
        - Src:             'card-openpgp.c:3368,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3368,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3372,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3373,6'
          Dst:             pgp_update_pubkey_blob
        - Src:             'card-openpgp.c:3375,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3375,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3375,2'
          Dst:             sc_do_log
    - functionName:    pgp_update_new_algo_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2850
      functionLinenumberEnd: 2945
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         102
      ICount:          683
      EdgeCount:       129
      CyclomaticComplexity: 29
      functionsReached:
        - pgp_parse_algo_attr_blob
        - pgp_put_data
        - pgp_seek_blob
        - sc_compare_oid
        - sc_do_log
        - sc_do_log_color
        - sc_encode_oid
        - sc_strerror
        - ushort2bebytes
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:2857,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2859,6'
          Dst:             pgp_seek_blob
        - Src:             'card-openpgp.c:2860,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2860,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2878,9'
          Dst:             sc_compare_oid
        - Src:             'card-openpgp.c:2884,8'
          Dst:             sc_encode_oid
        - Src:             'card-openpgp.c:2885,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2885,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2888,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2888,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2888,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2895,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2895,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2895,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2910,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2910,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2910,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2915,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2915,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2915,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2918,4'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:2922,4'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:2927,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2928,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2928,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2928,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2931,7'
          Dst:             pgp_put_data
        - Src:             'card-openpgp.c:2933,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2933,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2937,7'
          Dst:             pgp_parse_algo_attr_blob
        - Src:             'card-openpgp.c:2939,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2939,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2944,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2944,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2944,2'
          Dst:             sc_do_log
    - functionName:    pgp_parse_algo_attr_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 634
      functionLinenumberEnd: 716
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         79
      ICount:          577
      EdgeCount:       99
      CyclomaticComplexity: 22
      functionsReached:
        - bebytes2ushort
        - sc_asn1_decode_object_id
        - sc_compare_oid
        - sc_do_log
        - sc_do_log_color
        - sc_dump_oid
        - sc_init_oid
        - sc_strerror
      functionUses:    4
      BranchProfiles:
        - Branch String:   'card-openpgp.c:648,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:639,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:643,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:643,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:643,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:651,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:651,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:651,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:655,34'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:656,35'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:689,4'
          Dst:             sc_init_oid
        - Src:             'card-openpgp.c:690,8'
          Dst:             sc_asn1_decode_object_id
        - Src:             'card-openpgp.c:698,9'
          Dst:             sc_compare_oid
        - Src:             'card-openpgp.c:699,6'
          Dst:             sc_dump_oid
        - Src:             'card-openpgp.c:699,6'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:708,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:708,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:708,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:712,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:712,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:712,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:715,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:715,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:715,2'
          Dst:             sc_do_log
    - functionName:    pgp_erase_card
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3919
      functionLinenumberEnd: 4001
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         61
      ICount:          382
      EdgeCount:       74
      CyclomaticComplexity: 15
      functionsReached:
        - pgp_free_blobs
        - pgp_new_blob
        - populate_blobs_to_mf
        - sc_bytes2apdu
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_hex_to_bin
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:3951,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:3944,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3947,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3947,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3960,9'
          Dst:             sc_hex_to_bin
        - Src:             'card-openpgp.c:3961,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3961,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3964,9'
          Dst:             sc_bytes2apdu
        - Src:             'card-openpgp.c:3966,6'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3966,6'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3973,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3974,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:3975,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3975,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3979,4'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:3980,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:3981,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3981,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3984,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3984,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3989,24'
          Dst:             pgp_new_blob
        - Src:             'card-openpgp.c:3991,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3991,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3995,3'
          Dst:             pgp_free_blobs
        - Src:             'card-openpgp.c:3997,3'
          Dst:             populate_blobs_to_mf
        - Src:             'card-openpgp.c:4000,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4000,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4000,2'
          Dst:             sc_do_log
    - functionName:    pgp_free_blobs
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1328
      functionLinenumberEnd: 1340
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          48
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - pgp_free_blob
        - pgp_free_blobs
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1335,4'
          Dst:             pgp_free_blobs
        - Src:             'card-openpgp.c:1338,3'
          Dst:             pgp_free_blob
    - functionName:    populate_blobs_to_mf
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 381
      functionLinenumberEnd: 402
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          175
      EdgeCount:       38
      CyclomaticComplexity: 10
      functionsReached:
        - pgp_new_blob
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:390,22'
          Dst:             sc_file_new
        - Src:             'card-openpgp.c:392,12'
          Dst:             pgp_new_blob
        - Src:             'card-openpgp.c:396,5'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:397,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:397,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:397,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:401,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:401,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:401,2'
          Dst:             sc_do_log
    - functionName:    pgp_free_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1303
      functionLinenumberEnd: 1320
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         22
      ICount:          106
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - sc_file_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1315,3'
          Dst:             sc_file_free
    - functionName:    pgp_store_key
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3799
      functionLinenumberEnd: 3909
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         142
      ICount:          845
      EdgeCount:       180
      CyclomaticComplexity: 40
      functionsReached:
        - pgp_build_extended_header_list
        - pgp_calculate_and_store_fingerprint
        - pgp_put_data
        - pgp_store_creationtime
        - pgp_update_card_algorithms
        - pgp_update_new_algo_attr
        - pgp_update_pubkey_blob
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:3842,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:3806,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3821,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3821,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3821,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3825,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3825,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3838,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3838,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3838,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3849,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3849,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3849,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3852,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3852,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3852,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3858,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3860,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3860,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3860,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3871,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3871,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3871,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3873,7'
          Dst:             pgp_update_new_algo_attr
        - Src:             'card-openpgp.c:3875,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3875,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3880,7'
          Dst:             pgp_build_extended_header_list
        - Src:             'card-openpgp.c:3881,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3881,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3884,7'
          Dst:             pgp_put_data
        - Src:             'card-openpgp.c:3885,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3885,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3888,7'
          Dst:             pgp_store_creationtime
        - Src:             'card-openpgp.c:3889,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3889,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3894,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3895,7'
          Dst:             pgp_calculate_and_store_fingerprint
        - Src:             'card-openpgp.c:3896,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3896,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3899,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3900,7'
          Dst:             pgp_update_pubkey_blob
        - Src:             'card-openpgp.c:3902,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3903,3'
          Dst:             pgp_update_card_algorithms
        - Src:             'card-openpgp.c:3908,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3908,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3908,2'
          Dst:             sc_do_log
    - functionName:    pgp_gen_key
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3427
      functionLinenumberEnd: 3518
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         76
      ICount:          484
      EdgeCount:       97
      CyclomaticComplexity: 23
      functionsReached:
        - calloc
        - pgp_parse_and_set_pubkey_output
        - pgp_update_card_algorithms
        - pgp_update_new_algo_attr
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - ushort2bebytes
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:3437,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3443,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3443,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3443,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3447,3'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:3449,3'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:3451,3'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:3453,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3453,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3458,6'
          Dst:             pgp_update_new_algo_attr
        - Src:             'card-openpgp.c:3459,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3459,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3482,2'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:3490,14'
          Dst:             calloc
        - Src:             'card-openpgp.c:3492,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3492,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3492,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3496,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3497,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:3498,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3499,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3499,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3502,6'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:3505,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:3508,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3508,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3511,6'
          Dst:             pgp_parse_and_set_pubkey_output
        - Src:             'card-openpgp.c:3512,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3512,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3513,6'
          Dst:             pgp_update_card_algorithms
        - Src:             'card-openpgp.c:3517,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:3517,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:3517,2'
          Dst:             sc_do_log
    - functionName:    pgp_select_data
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1956
      functionLinenumberEnd: 1986
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          188
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1962,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1965,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1965,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1965,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1967,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1978,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-openpgp.c:1981,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:1982,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1982,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1983,6'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:1984,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1984,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1985,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1985,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1985,2'
          Dst:             sc_do_log
    - functionName:    pgp_set_MSE
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2604
      functionLinenumberEnd: 2634
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          192
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:2611,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2615,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2615,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2615,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2618,2'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:2627,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:2628,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2628,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2630,6'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:2631,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2631,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2633,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2633,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2633,2'
          Dst:             sc_do_log
    - functionName:    sc_evp_md_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 125
      functionLinenumberEnd: 126
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_evp_md
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_digestbyname
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:121,19'
          Dst:             EVP_get_digestbyname
    - functionName:    EVP_get_digestbyname
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kdf_itersalted_s2k
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2212
      functionLinenumberEnd: 2299
      functionDepth:   0
      returnType:      int
      argCount:        9
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          357
      EdgeCount:       89
      CyclomaticComplexity: 27
      functionsReached:
        - EVP_DigestFinal
        - EVP_DigestInit
        - EVP_DigestUpdate
        - EVP_MD_CTX_free
        - EVP_MD_CTX_new
        - EVP_MD_size
        - sc_evp_md
        - sc_evp_md_free
        - sc_mem_clear
        - sc_mem_secure_alloc
        - sc_mem_secure_free
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:2226,7'
          Dst:             sc_evp_md
        - Src:             'card-openpgp.c:2232,9'
          Dst:             EVP_MD_CTX_new
        - Src:             'card-openpgp.c:2237,7'
          Dst:             EVP_DigestInit
        - Src:             'card-openpgp.c:2241,12'
          Dst:             EVP_MD_size
        - Src:             'card-openpgp.c:2246,22'
          Dst:             sc_mem_secure_alloc
        - Src:             'card-openpgp.c:2258,9'
          Dst:             EVP_DigestUpdate
        - Src:             'card-openpgp.c:2262,9'
          Dst:             EVP_DigestUpdate
        - Src:             'card-openpgp.c:2270,9'
          Dst:             EVP_DigestUpdate
        - Src:             'card-openpgp.c:2272,9'
          Dst:             EVP_DigestUpdate
        - Src:             'card-openpgp.c:2277,9'
          Dst:             EVP_DigestUpdate
        - Src:             'card-openpgp.c:2284,8'
          Dst:             EVP_DigestFinal
        - Src:             'card-openpgp.c:2290,3'
          Dst:             sc_mem_clear
        - Src:             'card-openpgp.c:2290,3'
          Dst:             sc_mem_secure_free
        - Src:             'card-openpgp.c:2292,2'
          Dst:             EVP_MD_CTX_free
        - Src:             'card-openpgp.c:2293,2'
          Dst:             sc_evp_md_free
    - functionName:    EVP_MD_CTX_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_DigestInit
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_MD_size
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_DigestUpdate
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    17
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_DigestFinal
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_MD_CTX_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pgp_kdf_do_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2303
      functionLinenumberEnd: 2380
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         54
      ICount:          424
      EdgeCount:       60
      CyclomaticComplexity: 8
      functionsReached:
        - kdf_itersalted_s2k
        - sc_do_log
        - sc_do_log_color
        - sc_mem_clear
        - sc_mem_secure_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:2318,2'
          Branch Sides:    []
        - Branch String:   'card-openpgp.c:2330,2'
          Branch Sides:    []
        - Branch String:   'card-openpgp.c:2342,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:2324,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2324,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2324,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2345,7'
          Dst:             kdf_itersalted_s2k
        - Src:             'card-openpgp.c:2357,7'
          Dst:             kdf_itersalted_s2k
        - Src:             'card-openpgp.c:2372,3'
          Dst:             sc_mem_clear
        - Src:             'card-openpgp.c:2372,3'
          Dst:             sc_mem_secure_free
        - Src:             'card-openpgp.c:2377,3'
          Dst:             sc_mem_clear
        - Src:             'card-openpgp.c:2377,3'
          Dst:             sc_mem_secure_free
        - Src:             'card-openpgp.c:2379,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2379,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2379,2'
          Dst:             sc_do_log
    - functionName:    pgp_strip_path
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1595
      functionLinenumberEnd: 1606
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1602,17'
          Dst:             memcmp
        - Src:             'card-openpgp.c:1604,18'
          Dst:             memcmp
    - functionName:    pgp_decode_kdf_do
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 805
      functionLinenumberEnd: 901
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          299
      EdgeCount:       49
      CyclomaticComplexity: 14
      functionsReached:
        - bebytes2ulong
        - calloc
        - pgp_get_blob
        - sc_asn1_find_tag
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:858,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:806,59'
          Dst:             calloc
        - Src:             'card-openpgp.c:821,7'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:822,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:828,6'
          Dst:             sc_asn1_find_tag
        - Src:             'card-openpgp.c:830,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:834,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:841,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:843,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:848,6'
          Dst:             sc_asn1_find_tag
        - Src:             'card-openpgp.c:850,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:854,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:866,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:870,6'
          Dst:             sc_asn1_find_tag
        - Src:             'card-openpgp.c:872,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:876,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:879,39'
          Dst:             bebytes2ulong
        - Src:             'card-openpgp.c:881,6'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:883,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:888,6'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:890,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:895,2'
          Dst:             sc_do_log
    - functionName:    pgp_parse_hist_bytes
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 604
      functionLinenumberEnd: 625
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          105
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - sc_compacttlv_find_tag
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:609,13'
          Dst:             sc_compacttlv_find_tag
        - Src:             'card-openpgp.c:622,14'
          Dst:             sc_compacttlv_find_tag
    - functionName:    pgp_get_pubkey_pem
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1822
      functionLinenumberEnd: 1944
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         84
      ICount:          612
      EdgeCount:       106
      CyclomaticComplexity: 24
      functionsReached:
        - pgp_get_blob
        - pgp_parse_algo_attr_blob
        - pgp_read_blob
        - sc_compare_oid
        - sc_do_log
        - sc_do_log_color
        - sc_encode_oid
        - sc_pkcs15_encode_pubkey
        - sc_pkcs15_encode_pubkey_as_spki
        - sc_pkcs15_erase_pubkey
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'card-openpgp.c:1856,3'
          Branch Sides:    []
        - Branch String:   'card-openpgp.c:1869,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:1832,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1835,11'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1836,11'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1837,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1837,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1840,11'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1841,11'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1842,11'
          Dst:             pgp_read_blob
        - Src:             'card-openpgp.c:1843,11'
          Dst:             pgp_read_blob
        - Src:             'card-openpgp.c:1850,7'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             'card-openpgp.c:1853,16'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1854,11'
          Dst:             pgp_read_blob
        - Src:             'card-openpgp.c:1865,23'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1866,11'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1867,11'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1868,11'
          Dst:             pgp_parse_algo_attr_blob
        - Src:             'card-openpgp.c:1879,9'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'card-openpgp.c:1883,9'
          Dst:             sc_compare_oid
        - Src:             'card-openpgp.c:1893,10'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'card-openpgp.c:1898,14'
          Dst:             sc_encode_oid
        - Src:             'card-openpgp.c:1905,10'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'card-openpgp.c:1907,6'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1911,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1915,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1918,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1918,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1934,2'
          Dst:             sc_pkcs15_erase_pubkey
        - Src:             'card-openpgp.c:1936,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1936,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1943,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1943,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1943,2'
          Dst:             sc_do_log
    - functionName:    pgp_get_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1790
      functionLinenumberEnd: 1814
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          179
      EdgeCount:       27
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - ushort2bebytes
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1797,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1799,2'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:1801,14'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:1807,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:1808,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1808,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1810,6'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:1811,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1811,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1813,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1813,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1813,2'
          Dst:             sc_do_log
    - functionName:    pgp_get_card_features
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 909
      functionLinenumberEnd: 1107
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         181
      ICount:          1110
      EdgeCount:       241
      CyclomaticComplexity: 62
      functionsReached:
        - _pgp_add_algo
        - bebytes2ushort
        - pgp_decode_kdf_do
        - pgp_enumerate_blob
        - pgp_get_blob
        - pgp_parse_algo_attr_blob
        - pgp_parse_hist_bytes
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:922,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:917,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:925,6'
          Dst:             pgp_parse_hist_bytes
        - Src:             'card-openpgp.c:930,6'
          Dst:             pgp_parse_hist_bytes
        - Src:             'card-openpgp.c:935,6'
          Dst:             pgp_parse_hist_bytes
        - Src:             'card-openpgp.c:946,8'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:950,5'
          Dst:             pgp_parse_hist_bytes
        - Src:             'card-openpgp.c:970,7'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:972,4'
          Dst:             pgp_enumerate_blob
        - Src:             'card-openpgp.c:979,9'
          Dst:             pgp_parse_algo_attr_blob
        - Src:             'card-openpgp.c:980,23'
          Dst:             _pgp_add_algo
        - Src:             'card-openpgp.c:988,7'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:989,7'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:992,8'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1022,32'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:1024,27'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:1033,28'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:1034,28'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:1043,33'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:1054,8'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1062,9'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1065,27'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:1066,27'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:1072,12'
          Dst:             pgp_decode_kdf_do
        - Src:             'card-openpgp.c:1074,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1074,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1081,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1082,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1082,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1082,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1094,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1097,9'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1098,9'
          Dst:             pgp_parse_algo_attr_blob
        - Src:             'card-openpgp.c:1099,10'
          Dst:             _pgp_add_algo
        - Src:             'card-openpgp.c:1100,6'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1100,6'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1106,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1106,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1106,2'
          Dst:             sc_do_log
    - functionName:    _pgp_add_algo
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 740
      functionLinenumberEnd: 800
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          175
      EdgeCount:       23
      CyclomaticComplexity: 5
      functionsReached:
        - _pgp_handle_curve25519
        - _sc_card_add_ec_alg
        - _sc_card_add_eddsa_alg
        - _sc_card_add_rsa_alg
        - sc_do_log
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-openpgp.c:747,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:755,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-openpgp.c:756,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:762,7'
          Dst:             _pgp_handle_curve25519
        - Src:             'card-openpgp.c:776,3'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-openpgp.c:778,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:784,7'
          Dst:             _pgp_handle_curve25519
        - Src:             'card-openpgp.c:786,3'
          Dst:             _sc_card_add_eddsa_alg
        - Src:             'card-openpgp.c:789,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:793,3'
          Dst:             sc_do_log
    - functionName:    _pgp_handle_curve25519
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 721
      functionLinenumberEnd: 736
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          82
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - _sc_card_add_xeddsa_alg
        - sc_compare_oid
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:724,7'
          Dst:             sc_compare_oid
        - Src:             'card-openpgp.c:725,5'
          Dst:             sc_compare_oid
        - Src:             'card-openpgp.c:731,2'
          Dst:             _sc_card_add_xeddsa_alg
        - Src:             'card-openpgp.c:733,2'
          Dst:             sc_do_log
    - functionName:    get_full_pgp_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 307
      functionLinenumberEnd: 316
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_get_data
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:312,7'
          Dst:             sc_get_data
    - functionName:    pgp_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4169
      functionLinenumberEnd: 4200
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          187
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_get_data
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:4173,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4181,7'
          Dst:             sc_get_data
        - Src:             'card-openpgp.c:4183,13'
          Dst:             memcmp
        - Src:             'card-openpgp.c:4194,3'
          Dst:             sc_format_path
        - Src:             'card-openpgp.c:4197,3'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:4200,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4200,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4200,2'
          Dst:             sc_do_log
    - functionName:    pgp_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4143
      functionLinenumberEnd: 4162
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          140
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - pgp_put_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:4148,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4153,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4153,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4153,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4158,7'
          Dst:             pgp_put_data
        - Src:             'card-openpgp.c:4161,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4161,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4161,2'
          Dst:             sc_do_log
    - functionName:    pgp_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4089
      functionLinenumberEnd: 4134
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         51
      ICount:          290
      EdgeCount:       65
      CyclomaticComplexity: 16
      functionsReached:
        - gnuk_delete_key
        - pgp_put_data
        - pgp_select_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:4095,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4098,6'
          Dst:             pgp_select_file
        - Src:             'card-openpgp.c:4099,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4099,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4106,3'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:4107,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4107,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4107,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4116,7'
          Dst:             gnuk_delete_key
        - Src:             'card-openpgp.c:4119,7'
          Dst:             gnuk_delete_key
        - Src:             'card-openpgp.c:4122,7'
          Dst:             gnuk_delete_key
        - Src:             'card-openpgp.c:4126,7'
          Dst:             pgp_put_data
        - Src:             'card-openpgp.c:4128,2'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:4133,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4133,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4133,2'
          Dst:             sc_do_log
    - functionName:    pgp_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1614
      functionLinenumberEnd: 1686
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         82
      ICount:          504
      EdgeCount:       103
      CyclomaticComplexity: 23
      functionsReached:
        - bebytes2ushort
        - pgp_get_blob
        - pgp_strip_path
        - sc_compare_path
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_new
        - sc_format_path
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1621,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1624,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1624,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1624,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1627,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1627,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1631,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1631,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1640,2'
          Dst:             sc_format_path
        - Src:             'card-openpgp.c:1641,6'
          Dst:             sc_compare_path
        - Src:             'card-openpgp.c:1643,11'
          Dst:             sc_file_new
        - Src:             'card-openpgp.c:1648,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1648,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1648,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1652,15'
          Dst:             pgp_strip_path
        - Src:             'card-openpgp.c:1658,21'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:1659,12'
          Dst:             pgp_get_blob
        - Src:             'card-openpgp.c:1666,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1666,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1666,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1669,11'
          Dst:             sc_file_new
        - Src:             'card-openpgp.c:1671,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1671,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1671,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1675,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1675,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1675,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1683,3'
          Dst:             sc_file_dup
        - Src:             'card-openpgp.c:1685,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1685,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1685,2'
          Dst:             sc_do_log
    - functionName:    pgp_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4009
      functionLinenumberEnd: 4040
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          284
      EdgeCount:       47
      CyclomaticComplexity: 7
      functionsReached:
        - pgp_erase_card
        - pgp_gen_key
        - pgp_select_data
        - pgp_store_key
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:4014,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:4012,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4017,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4017,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4017,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4020,7'
          Dst:             pgp_select_data
        - Src:             'card-openpgp.c:4021,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4021,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4021,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4025,7'
          Dst:             pgp_gen_key
        - Src:             'card-openpgp.c:4026,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4026,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4026,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4029,7'
          Dst:             pgp_store_key
        - Src:             'card-openpgp.c:4030,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4030,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4030,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4034,7'
          Dst:             pgp_erase_card
        - Src:             'card-openpgp.c:4035,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4035,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4035,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:4039,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:4039,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:4039,2'
          Dst:             sc_do_log
    - functionName:    pgp_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2702
      functionLinenumberEnd: 2841
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         123
      ICount:          810
      EdgeCount:       150
      CyclomaticComplexity: 29
      functionsReached:
        - pgp_set_MSE
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:2720,2'
          Branch Sides:    []
        - Branch String:   'card-openpgp.c:2793,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:2711,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2717,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2717,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2717,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2733,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-openpgp.c:2736,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2736,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2736,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2741,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-openpgp.c:2744,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2744,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2744,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2750,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-openpgp.c:2753,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2753,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2753,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2757,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-openpgp.c:2760,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2760,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2760,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2764,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-openpgp.c:2767,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2767,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2767,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2781,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2781,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2781,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2789,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2789,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2797,3'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:2802,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2802,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2825,3'
          Dst:             pgp_set_MSE
        - Src:             'card-openpgp.c:2828,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:2830,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2830,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2832,6'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:2833,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2833,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2837,3'
          Dst:             pgp_set_MSE
        - Src:             'card-openpgp.c:2840,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2840,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2840,2'
          Dst:             sc_do_log
    - functionName:    pgp_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2643
      functionLinenumberEnd: 2693
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          307
      EdgeCount:       55
      CyclomaticComplexity: 11
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:2657,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:2651,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2654,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2654,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2660,3'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:2664,3'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:2671,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2671,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2686,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:2687,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2687,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2689,6'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:2690,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2690,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2692,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2692,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2692,2'
          Dst:             sc_do_log
    - functionName:    pgp_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2538
      functionLinenumberEnd: 2589
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          377
      EdgeCount:       84
      CyclomaticComplexity: 19
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:2560,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:2541,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2548,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2548,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2552,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2552,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2556,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2556,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2559,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2562,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2564,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2564,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2570,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2573,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2573,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2579,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2582,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2582,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2588,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2588,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2588,2'
          Dst:             sc_do_log
    - functionName:    pgp_get_data
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1994
      functionLinenumberEnd: 2026
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          230
      EdgeCount:       53
      CyclomaticComplexity: 14
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1998,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2000,2'
          Dst:             sc_format_apdu
        - Src:             'card-openpgp.c:2005,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-openpgp.c:2006,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2006,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2008,6'
          Dst:             sc_check_sw
        - Src:             'card-openpgp.c:2023,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2023,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2025,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2025,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2025,2'
          Dst:             sc_do_log
    - functionName:    pgp_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2388
      functionLinenumberEnd: 2495
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         94
      ICount:          590
      EdgeCount:       122
      CyclomaticComplexity: 30
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_data
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:2392,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2395,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2395,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2433,6'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2433,6'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2440,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2442,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2453,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2453,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2458,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2458,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2466,7'
          Dst:             sc_get_data
        - Src:             'card-openpgp.c:2467,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2467,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2470,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2470,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2485,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2485,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2485,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2494,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2494,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2494,2'
          Dst:             sc_do_log
    - functionName:    pgp_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1755
      functionLinenumberEnd: 1782
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          298
      EdgeCount:       55
      CyclomaticComplexity: 12
      functionsReached:
        - pgp_read_blob
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1760,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1766,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1766,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1766,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1769,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1769,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1769,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1771,11'
          Dst:             pgp_read_blob
        - Src:             'card-openpgp.c:1772,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1772,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1772,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1775,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1775,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1775,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1781,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1781,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1781,2'
          Dst:             sc_do_log
    - functionName:    pgp_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1731
      functionLinenumberEnd: 1746
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          150
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1734,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1738,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1738,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1738,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1745,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1745,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1745,2'
          Dst:             sc_do_log
    - functionName:    pgp_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1694
      functionLinenumberEnd: 1723
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          258
      EdgeCount:       52
      CyclomaticComplexity: 12
      functionsReached:
        - pgp_enumerate_blob
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - ushort2bebytes
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1700,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1706,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1706,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1709,11'
          Dst:             pgp_enumerate_blob
        - Src:             'card-openpgp.c:1710,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1710,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1710,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1715,5'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1715,5'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1715,5'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:1717,4'
          Dst:             ushort2bebytes
        - Src:             'card-openpgp.c:1722,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:1722,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:1722,2'
          Dst:             sc_do_log
    - functionName:    pgp_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1115
      functionLinenumberEnd: 1131
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - pgp_free_blobs
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:1121,4'
          Dst:             pgp_free_blobs
    - functionName:    pgp_init
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 409
      functionLinenumberEnd: 596
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         138
      ICount:          970
      EdgeCount:       170
      CyclomaticComplexity: 34
      functionsReached:
        - _sc_card_add_ec_alg
        - _sc_card_add_eddsa_alg
        - _sc_card_add_rsa_alg
        - _sc_card_add_xeddsa_alg
        - bebytes2ulong
        - bebytes2ushort
        - calloc
        - get_full_pgp_aid
        - pgp_finish
        - pgp_get_card_features
        - pgp_new_blob
        - populate_blobs_to_mf
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:483,3'
          Branch Sides:    []
        - Branch String:   'card-openpgp.c:562,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:415,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:417,9'
          Dst:             calloc
        - Src:             'card-openpgp.c:419,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:419,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:419,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:425,2'
          Dst:             sc_format_path
        - Src:             'card-openpgp.c:428,3'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:429,3'
          Dst:             pgp_finish
        - Src:             'card-openpgp.c:430,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:430,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:430,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:435,3'
          Dst:             pgp_finish
        - Src:             'card-openpgp.c:436,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:436,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:436,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:441,7'
          Dst:             get_full_pgp_aid
        - Src:             'card-openpgp.c:443,4'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:444,4'
          Dst:             pgp_finish
        - Src:             'card-openpgp.c:445,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:445,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:445,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:454,23'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:465,6'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:466,6'
          Dst:             bebytes2ulong
        - Src:             'card-openpgp.c:462,4'
          Dst:             snprintf
        - Src:             'card-openpgp.c:473,6'
          Dst:             bebytes2ushort
        - Src:             'card-openpgp.c:474,6'
          Dst:             bebytes2ulong
        - Src:             'card-openpgp.c:470,4'
          Dst:             snprintf
        - Src:             'card-openpgp.c:515,2'
          Dst:             sc_format_path
        - Src:             'card-openpgp.c:519,13'
          Dst:             pgp_new_blob
        - Src:             'card-openpgp.c:521,3'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:522,3'
          Dst:             pgp_finish
        - Src:             'card-openpgp.c:523,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:523,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:523,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:529,6'
          Dst:             populate_blobs_to_mf
        - Src:             'card-openpgp.c:531,3'
          Dst:             pgp_finish
        - Src:             'card-openpgp.c:532,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:532,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:532,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:536,6'
          Dst:             pgp_get_card_features
        - Src:             'card-openpgp.c:537,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:537,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:537,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:565,5'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-openpgp.c:566,5'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-openpgp.c:569,5'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-openpgp.c:573,7'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-openpgp.c:576,7'
          Dst:             _sc_card_add_eddsa_alg
        - Src:             'card-openpgp.c:579,7'
          Dst:             _sc_card_add_xeddsa_alg
        - Src:             'card-openpgp.c:582,7'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:582,7'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:582,7'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:587,5'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-openpgp.c:588,5'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-openpgp.c:589,5'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-openpgp.c:590,5'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-openpgp.c:595,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:595,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:595,2'
          Dst:             sc_do_log
    - functionName:    pgp_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 326
      functionLinenumberEnd: 376
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         37
      ICount:          265
      EdgeCount:       43
      CyclomaticComplexity: 8
      functionsReached:
        - _sc_match_atr
        - get_full_pgp_aid
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-openpgp.c:354,5'
          Branch Sides:    []
      Callsites:
        - Src:             'card-openpgp.c:329,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:331,6'
          Dst:             _sc_match_atr
        - Src:             'card-openpgp.c:334,3'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:334,3'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:334,3'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:341,3'
          Dst:             sc_format_path
        - Src:             'card-openpgp.c:350,12'
          Dst:             get_full_pgp_aid
        - Src:             'card-openpgp.c:371,4'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:372,4'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:372,4'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:372,4'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:375,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:375,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:375,2'
          Dst:             sc_do_log
    - functionName:    sc_get_openpgp_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4209
      functionLinenumberEnd: 4235
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          39
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:4210,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    pgp_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2502
      functionLinenumberEnd: 2527
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          129
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - iso7816_logout
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-openpgp.c:2506,2'
          Dst:             sc_do_log
        - Src:             'card-openpgp.c:2511,14'
          Dst:             iso7816_logout
        - Src:             'card-openpgp.c:2521,3'
          Dst:             sc_format_path
        - Src:             'card-openpgp.c:2524,3'
          Dst:             sc_file_free
        - Src:             'card-openpgp.c:2527,2'
          Dst:             sc_strerror
        - Src:             'card-openpgp.c:2527,2'
          Dst:             sc_do_log_color
        - Src:             'card-openpgp.c:2527,2'
          Dst:             sc_do_log
    - functionName:    auth_get_pin_reference
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1495
      functionLinenumberEnd: 1515
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          248
      EdgeCount:       55
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-oberthur.c:1499,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-oberthur.c:1497,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1497,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1497,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1502,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1502,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1502,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1511,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1511,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1511,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1514,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1514,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1514,2'
          Dst:             sc_do_log
    - functionName:    auth_pin_reset_oberthur_style
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1753
      functionLinenumberEnd: 1854
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          517
      EdgeCount:       87
      CyclomaticComplexity: 20
      functionsReached:
        - auth_init_pin_info
        - auth_pin_reset
        - auth_pin_verify
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_apdu
        - sc_format_path
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1754,35'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-oberthur.c:1763,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1768,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1768,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1778,7'
          Dst:             auth_pin_verify
        - Src:             'card-oberthur.c:1779,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1779,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1781,2'
          Dst:             sc_format_path
        - Src:             'card-oberthur.c:1784,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1784,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1787,3'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:1788,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1788,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1790,2'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:1793,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1793,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1795,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1795,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1804,2'
          Dst:             auth_init_pin_info
        - Src:             'card-oberthur.c:1810,8'
          Dst:             auth_pin_reset
        - Src:             'card-oberthur.c:1811,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1811,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1811,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1814,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1836,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1836,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1844,4'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:1847,4'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:1853,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1853,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1853,2'
          Dst:             sc_do_log
    - functionName:    auth_pin_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1595
      functionLinenumberEnd: 1631
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          327
      EdgeCount:       65
      CyclomaticComplexity: 16
      functionsReached:
        - auth_init_pin_info
        - auth_pin_is_verified
        - auth_pin_verify_pinpad
        - sc_do_log
        - sc_do_log_color
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1596,35'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-oberthur.c:1599,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1602,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1602,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1606,2'
          Dst:             auth_init_pin_info
        - Src:             'card-oberthur.c:1613,14'
          Dst:             auth_pin_is_verified
        - Src:             'card-oberthur.c:1614,6'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1618,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1618,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1618,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1623,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1623,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1623,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1626,8'
          Dst:             auth_pin_verify_pinpad
        - Src:             'card-oberthur.c:1630,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1630,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1630,2'
          Dst:             sc_do_log
    - functionName:    auth_init_pin_info
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1521
      functionLinenumberEnd: 1533
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          43
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    auth_pin_reset
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1860
      functionLinenumberEnd: 1870
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          88
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - auth_pin_reset_oberthur_style
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1863,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1866,7'
          Dst:             auth_pin_reset_oberthur_style
        - Src:             'card-oberthur.c:1867,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1867,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1869,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1869,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1869,2'
          Dst:             sc_do_log
    - functionName:    auth_pin_is_verified
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1636
      functionLinenumberEnd: 1657
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          120
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1640,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1642,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1643,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1643,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1654,7'
          Dst:             sc_check_sw
    - functionName:    auth_pin_verify_pinpad
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1538
      functionLinenumberEnd: 1589
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          221
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - auth_pin_is_verified
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1539,35'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-oberthur.c:1545,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1550,7'
          Dst:             auth_pin_is_verified
        - Src:             'card-oberthur.c:1551,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1556,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1556,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1556,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1566,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1586,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1586,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1588,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1588,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1588,2'
          Dst:             sc_do_log
    - functionName:    auth_pin_change_pinpad
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1662
      functionLinenumberEnd: 1713
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          254
      EdgeCount:       36
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1663,35'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-oberthur.c:1670,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1679,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1679,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1686,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1710,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1710,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1712,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1712,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1712,2'
          Dst:             sc_do_log
    - functionName:    auth_pin_change
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1719
      functionLinenumberEnd: 1747
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          229
      EdgeCount:       42
      CyclomaticComplexity: 10
      functionsReached:
        - auth_init_pin_info
        - auth_pin_change_pinpad
        - sc_do_log
        - sc_do_log_color
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1720,35'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-oberthur.c:1723,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1733,3'
          Dst:             auth_init_pin_info
        - Src:             'card-oberthur.c:1734,3'
          Dst:             auth_init_pin_info
        - Src:             'card-oberthur.c:1737,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1737,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1740,8'
          Dst:             auth_pin_change_pinpad
        - Src:             'card-oberthur.c:1741,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1741,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1743,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1743,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1746,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1746,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1746,2'
          Dst:             sc_do_log
    - functionName:    add_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 291
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          111
      EdgeCount:       19
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_file_add_acl_entry
      functionUses:    30
      BranchProfiles:
        - Branch String:   'card-oberthur.c:267,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-oberthur.c:262,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:263,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-oberthur.c:269,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-oberthur.c:274,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-oberthur.c:280,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-oberthur.c:282,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-oberthur.c:285,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-oberthur.c:288,3'
          Dst:             sc_file_add_acl_entry
    - functionName:    auth_encode_exponent
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1195
      functionLinenumberEnd: 1209
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          90
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    auth_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2249
      functionLinenumberEnd: 2259
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          146
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:2251,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2251,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2251,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2254,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2254,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2254,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2258,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2258,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2258,2'
          Dst:             sc_do_log
    - functionName:    auth_create_reference_data
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1909
      functionLinenumberEnd: 1964
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         58
      ICount:          462
      EdgeCount:       75
      CyclomaticComplexity: 19
      functionsReached:
        - auth_init_pin_info
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1915,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1916,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1919,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1919,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1922,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1922,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1925,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1925,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1927,2'
          Dst:             auth_init_pin_info
        - Src:             'card-oberthur.c:1928,2'
          Dst:             auth_init_pin_info
        - Src:             'card-oberthur.c:1931,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1931,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1934,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1937,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1941,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1946,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1951,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1952,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1957,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1958,2'
          Dst:             sc_mem_clear
        - Src:             'card-oberthur.c:1959,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1959,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1961,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:1963,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1963,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1963,2'
          Dst:             sc_do_log
    - functionName:    auth_update_key
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1393
      functionLinenumberEnd: 1430
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         35
      ICount:          239
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - auth_update_component
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1396,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1399,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1399,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1399,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1405,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1420,9'
          Dst:             auth_update_component
        - Src:             'card-oberthur.c:1421,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1421,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1429,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1429,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1429,2'
          Dst:             sc_do_log
    - functionName:    auth_update_component
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1292
      functionLinenumberEnd: 1388
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         72
      ICount:          631
      EdgeCount:       90
      CyclomaticComplexity: 20
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_EncryptInit_ex
        - EVP_EncryptUpdate
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
        - sc_format_apdu
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1298,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1300,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1300,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1300,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1302,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1321,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1321,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1321,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1323,9'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-oberthur.c:1325,7'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1325,7'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1325,7'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1329,10'
          Dst:             sc_evp_cipher
        - Src:             'card-oberthur.c:1331,10'
          Dst:             sc_evp_cipher
        - Src:             'card-oberthur.c:1332,8'
          Dst:             EVP_EncryptInit_ex
        - Src:             'card-oberthur.c:1334,4'
          Dst:             sc_evp_cipher_free
        - Src:             'card-oberthur.c:1335,4'
          Dst:             sc_do_log_openssl
        - Src:             'card-oberthur.c:1336,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1337,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1337,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1337,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1339,8'
          Dst:             EVP_EncryptUpdate
        - Src:             'card-oberthur.c:1340,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-oberthur.c:1341,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-oberthur.c:1343,4'
          Dst:             sc_do_log_openssl
        - Src:             'card-oberthur.c:1344,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1345,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1345,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1345,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1355,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1369,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1371,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1371,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1382,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1383,2'
          Dst:             sc_mem_clear
        - Src:             'card-oberthur.c:1384,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1384,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1386,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:1387,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1387,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1387,2'
          Dst:             sc_do_log
    - functionName:    EVP_CIPHER_CTX_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    17
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_evp_cipher
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_cipherbyname
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:136,23'
          Dst:             EVP_get_cipherbyname
    - functionName:    EVP_EncryptInit_ex
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_evp_cipher_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_EncryptUpdate
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    14
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_CIPHER_CTX_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    31
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_get_cipherbyname
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    auth_generate_key
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1216
      functionLinenumberEnd: 1287
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          478
      EdgeCount:       81
      CyclomaticComplexity: 18
      functionsReached:
        - auth_encode_exponent
        - auth_read_component
        - auth_select_file
        - calloc
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1222,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1225,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1225,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1233,8'
          Dst:             auth_encode_exponent
        - Src:             'card-oberthur.c:1234,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1234,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1240,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1241,14'
          Dst:             calloc
        - Src:             'card-oberthur.c:1243,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1243,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1243,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1251,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1252,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1252,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1253,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:1254,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1254,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1261,7'
          Dst:             auth_select_file
        - Src:             'card-oberthur.c:1262,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1262,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1264,7'
          Dst:             auth_read_component
        - Src:             'card-oberthur.c:1266,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1266,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1273,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1273,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1282,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1283,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1283,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1283,2'
          Dst:             sc_do_log
    - functionName:    auth_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 443
      functionLinenumberEnd: 571
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         118
      ICount:          707
      EdgeCount:       154
      CyclomaticComplexity: 38
      functionsReached:
        - auth_select_file
        - sc_compare_path
        - sc_concatenate_path
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_free
        - sc_print_path
        - sc_strerror
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:452,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:459,2'
          Dst:             sc_print_path
        - Src:             'card-oberthur.c:459,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:461,2'
          Dst:             sc_print_path
        - Src:             'card-oberthur.c:461,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:464,3'
          Dst:             sc_print_path
        - Src:             'card-oberthur.c:464,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:468,3'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:472,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:472,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:481,4'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:483,4'
          Dst:             sc_file_dup
        - Src:             'card-oberthur.c:486,5'
          Dst:             sc_concatenate_path
        - Src:             'card-oberthur.c:488,5'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:490,5'
          Dst:             sc_file_dup
        - Src:             'card-oberthur.c:492,5'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:495,5'
          Dst:             sc_file_dup
        - Src:             'card-oberthur.c:496,5'
          Dst:             sc_concatenate_path
        - Src:             'card-oberthur.c:500,4'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:501,4'
          Dst:             sc_file_dup
        - Src:             'card-oberthur.c:504,3'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:508,4'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:511,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:511,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:518,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:522,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:530,6'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:534,10'
          Dst:             auth_select_file
        - Src:             'card-oberthur.c:535,5'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:535,5'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:550,6'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:554,10'
          Dst:             auth_select_file
        - Src:             'card-oberthur.c:555,5'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:555,5'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:558,8'
          Dst:             sc_compare_path
        - Src:             'card-oberthur.c:559,5'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:560,5'
          Dst:             sc_file_dup
        - Src:             'card-oberthur.c:562,5'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:563,5'
          Dst:             sc_file_dup
        - Src:             'card-oberthur.c:565,5'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:565,5'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:570,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:570,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:570,2'
          Dst:             sc_do_log
    - functionName:    auth_read_component
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1463
      functionLinenumberEnd: 1490
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          256
      EdgeCount:       45
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1468,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1469,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1472,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1472,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1472,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1474,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1479,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1480,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1480,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1482,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:1483,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1483,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1486,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1486,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1486,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1489,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1489,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1489,2'
          Dst:             sc_do_log
    - functionName:    auth_get_default_key
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1188
      functionLinenumberEnd: 1189
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          52
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1189,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1189,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1189,2'
          Dst:             sc_do_log
    - functionName:    write_publickey
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1992
      functionLinenumberEnd: 2058
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          473
      EdgeCount:       87
      CyclomaticComplexity: 20
      functionsReached:
        - _sc_debug_hex
        - auth_update_component
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_decode_pubkey_rsa
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1998,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2000,2'
          Dst:             _sc_debug_hex
        - Src:             'card-oberthur.c:2003,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2003,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2018,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2020,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2020,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2020,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2022,7'
          Dst:             sc_pkcs15_decode_pubkey_rsa
        - Src:             'card-oberthur.c:2025,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2025,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2033,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2033,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2041,7'
          Dst:             auth_update_component
        - Src:             'card-oberthur.c:2045,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2045,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2053,7'
          Dst:             auth_update_component
        - Src:             'card-oberthur.c:2055,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2055,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2057,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2057,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2057,2'
          Dst:             sc_do_log
    - functionName:    acl_to_ac_byte
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 694
      functionLinenumberEnd: 723
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         55
      ICount:          299
      EdgeCount:       65
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-oberthur.c:702,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-oberthur.c:704,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:704,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:704,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:708,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:708,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:708,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:710,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:710,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:710,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:714,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:714,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:714,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:716,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:716,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:716,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:722,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:722,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:722,2'
          Dst:             sc_do_log
    - functionName:    encode_file_structure_V5
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 729
      functionLinenumberEnd: 897
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         138
      ICount:          892
      EdgeCount:       174
      CyclomaticComplexity: 38
      functionsReached:
        - acl_to_ac_byte
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-oberthur.c:751,3'
          Branch Sides:    []
        - Branch String:   'card-oberthur.c:765,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-oberthur.c:736,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:737,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:741,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:741,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:741,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:786,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:787,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:787,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:787,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:804,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:812,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:813,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:813,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:813,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:824,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:825,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:825,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:825,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:845,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:851,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:859,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:868,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:874,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:888,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-oberthur.c:889,8'
          Dst:             acl_to_ac_byte
        - Src:             'card-oberthur.c:890,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:890,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:896,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:896,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:896,2'
          Dst:             sc_do_log
    - functionName:    auth_select_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 199
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         35
      ICount:          303
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - gp_select_card_manager
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_free
        - sc_format_apdu
        - sc_format_path
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:153,7'
          Dst:             gp_select_card_manager
        - Src:             'card-oberthur.c:154,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:154,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:157,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:163,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:164,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:164,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:166,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:166,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:174,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:182,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:182,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:184,2'
          Dst:             sc_format_path
        - Src:             'card-oberthur.c:185,2'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:188,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:188,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:190,2'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:192,2'
          Dst:             sc_file_dup
        - Src:             'card-oberthur.c:198,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:198,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:198,2'
          Dst:             sc_do_log
    - functionName:    auth_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2272
      functionLinenumberEnd: 2283
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          83
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:2277,4'
          Dst:             sc_do_log
    - functionName:    auth_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1969
      functionLinenumberEnd: 1986
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          134
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - auth_get_pin_reference
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1975,8'
          Dst:             auth_get_pin_reference
        - Src:             'card-oberthur.c:1976,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1976,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1978,3'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1981,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1982,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1982,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1985,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1985,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1985,2'
          Dst:             sc_do_log
    - functionName:    auth_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1875
      functionLinenumberEnd: 1903
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         38
      ICount:          243
      EdgeCount:       44
      CyclomaticComplexity: 8
      functionsReached:
        - auth_pin_change
        - auth_pin_reset
        - auth_pin_verify
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-oberthur.c:1885,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-oberthur.c:1878,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1880,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1880,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1882,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1887,8'
          Dst:             auth_pin_verify
        - Src:             'card-oberthur.c:1888,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1888,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1891,8'
          Dst:             auth_pin_change
        - Src:             'card-oberthur.c:1892,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1892,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1895,8'
          Dst:             auth_pin_reset
        - Src:             'card-oberthur.c:1896,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1896,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1899,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1899,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1902,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1902,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1902,2'
          Dst:             sc_do_log
    - functionName:    auth_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 297
      functionLinenumberEnd: 437
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         170
      ICount:          1237
      EdgeCount:       207
      CyclomaticComplexity: 39
      functionsReached:
        - add_acl_entry
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_file_set_type_attr
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-oberthur.c:314,2'
          Branch Sides:    []
        - Branch String:   'card-oberthur.c:393,3'
          Branch Sides:    []
        - Branch String:   'card-oberthur.c:417,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-oberthur.c:302,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:303,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-oberthur.c:305,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:305,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:305,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:308,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-oberthur.c:310,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:310,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:310,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:313,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-oberthur.c:317,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:317,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:317,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:324,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:324,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:324,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:328,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-oberthur.c:330,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:330,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:330,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:336,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:336,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:336,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:344,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:344,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:344,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:356,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:357,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:357,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:357,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:362,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:362,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:362,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:369,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:369,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:369,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:372,21'
          Dst:             sc_file_set_type_attr
        - Src:             'card-oberthur.c:373,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:373,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:373,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:376,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:376,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:376,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:379,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-oberthur.c:381,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:381,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:381,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:384,3'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:385,3'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:386,3'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:387,3'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:388,3'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:389,3'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:390,3'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:391,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:395,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:396,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:397,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:398,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:399,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:400,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:401,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:404,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:405,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:406,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:407,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:410,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:411,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:412,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:413,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:419,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:420,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:421,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:422,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:425,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:426,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:427,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:428,4'
          Dst:             add_acl_entry
        - Src:             'card-oberthur.c:436,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:436,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:436,2'
          Dst:             sc_do_log
    - functionName:    auth_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1119
      functionLinenumberEnd: 1182
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          368
      EdgeCount:       60
      CyclomaticComplexity: 14
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1125,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1126,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1128,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1128,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1128,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1130,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1132,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1148,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1149,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1150,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1150,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1151,8'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:1152,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1152,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1167,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1168,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1169,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1169,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1170,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:1171,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1172,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1172,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1181,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1181,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1181,2'
          Dst:             sc_do_log
    - functionName:    auth_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1077
      functionLinenumberEnd: 1113
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          282
      EdgeCount:       55
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:1085,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1086,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1086,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1089,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1090,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1092,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1100,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1101,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1101,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1102,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:1103,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1103,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1106,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1107,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1107,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1107,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1112,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1112,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1112,2'
          Dst:             sc_do_log
    - functionName:    auth_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1069
      functionLinenumberEnd: 1070
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    auth_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 978
      functionLinenumberEnd: 1064
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          468
      EdgeCount:       81
      CyclomaticComplexity: 16
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_print_path
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-oberthur.c:1003,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-oberthur.c:992,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:993,2'
          Dst:             sc_print_path
        - Src:             'card-oberthur.c:993,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1001,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1001,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1006,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1011,4'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1016,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1017,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1017,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1022,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1024,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1024,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1028,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1029,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1029,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1035,4'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1042,4'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:1047,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1048,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1048,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1048,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:1053,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1053,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1056,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:1057,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1057,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1058,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:1059,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1059,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1063,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1063,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1063,2'
          Dst:             sc_do_log
    - functionName:    auth_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1435
      functionLinenumberEnd: 1457
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          111
      EdgeCount:       18
      CyclomaticComplexity: 2
      functionsReached:
        - auth_create_reference_data
        - auth_generate_key
        - auth_get_default_key
        - auth_get_serialnr
        - auth_update_key
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-oberthur.c:1436,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-oberthur.c:1438,10'
          Dst:             auth_get_default_key
        - Src:             'card-oberthur.c:1441,10'
          Dst:             auth_generate_key
        - Src:             'card-oberthur.c:1444,10'
          Dst:             auth_update_key
        - Src:             'card-oberthur.c:1447,10'
          Dst:             auth_create_reference_data
        - Src:             'card-oberthur.c:1450,10'
          Dst:             auth_get_serialnr
        - Src:             'card-oberthur.c:1455,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:1455,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:1455,3'
          Dst:             sc_do_log
    - functionName:    auth_delete_record
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2229
      functionLinenumberEnd: 2244
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          104
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:2233,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2234,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2236,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:2239,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:2240,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2240,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2242,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:2243,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2243,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2243,2'
          Dst:             sc_do_log
    - functionName:    auth_read_record
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2193
      functionLinenumberEnd: 2224
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          334
      EdgeCount:       61
      CyclomaticComplexity: 14
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:2198,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2201,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2201,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2201,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2203,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:2212,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:2213,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2213,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2215,3'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:2215,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2215,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2215,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2217,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2217,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2217,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2220,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:2221,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2221,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2223,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2223,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2223,2'
          Dst:             sc_do_log
    - functionName:    auth_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2064
      functionLinenumberEnd: 2096
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          229
      EdgeCount:       45
      CyclomaticComplexity: 11
      functionsReached:
        - auth_update_component
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - write_publickey
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:2067,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2070,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2070,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2072,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2073,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2077,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2077,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2081,8'
          Dst:             write_publickey
        - Src:             'card-oberthur.c:2090,8'
          Dst:             auth_update_component
        - Src:             'card-oberthur.c:2095,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2095,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2095,2'
          Dst:             sc_do_log
    - functionName:    auth_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2102
      functionLinenumberEnd: 2187
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          472
      EdgeCount:       86
      CyclomaticComplexity: 21
      functionsReached:
        - _sc_debug_hex
        - auth_read_component
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_encode_pubkey_rsa
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:2110,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2113,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2113,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2115,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2116,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:2120,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2120,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2130,8'
          Dst:             auth_read_component
        - Src:             'card-oberthur.c:2132,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2132,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2139,16'
          Dst:             calloc
        - Src:             'card-oberthur.c:2147,8'
          Dst:             auth_read_component
        - Src:             'card-oberthur.c:2149,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2149,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2151,16'
          Dst:             calloc
        - Src:             'card-oberthur.c:2162,7'
          Dst:             sc_pkcs15_encode_pubkey_rsa
        - Src:             'card-oberthur.c:2164,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2164,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2174,4'
          Dst:             _sc_debug_hex
        - Src:             'card-oberthur.c:2186,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:2186,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:2186,2'
          Dst:             sc_do_log
    - functionName:    auth_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 902
      functionLinenumberEnd: 972
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         61
      ICount:          435
      EdgeCount:       77
      CyclomaticComplexity: 18
      functionsReached:
        - auth_select_file
        - encode_file_structure_V5
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_free
        - sc_format_apdu
        - sc_path_print
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:910,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:912,7'
          Dst:             sc_path_print
        - Src:             'card-oberthur.c:915,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:917,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:921,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:921,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:921,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:928,7'
          Dst:             auth_select_file
        - Src:             'card-oberthur.c:929,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:930,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:930,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:930,4'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:934,7'
          Dst:             encode_file_structure_V5
        - Src:             'card-oberthur.c:935,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:935,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:942,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:947,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:948,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:948,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:949,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:950,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:950,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:962,8'
          Dst:             auth_select_file
        - Src:             'card-oberthur.c:963,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:964,3'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:967,2'
          Dst:             sc_file_free
        - Src:             'card-oberthur.c:969,2'
          Dst:             sc_file_dup
        - Src:             'card-oberthur.c:971,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:971,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:971,2'
          Dst:             sc_do_log
    - functionName:    auth_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 606
      functionLinenumberEnd: 689
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         74
      ICount:          521
      EdgeCount:       93
      CyclomaticComplexity: 21
      functionsReached:
        - auth_delete_file
        - auth_list_files
        - auth_select_file
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_path_print
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:612,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:614,7'
          Dst:             sc_path_print
        - Src:             'card-oberthur.c:618,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:621,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:622,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:622,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:622,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:630,8'
          Dst:             auth_select_file
        - Src:             'card-oberthur.c:631,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:631,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:637,6'
          Dst:             memcmp
        - Src:             'card-oberthur.c:637,39'
          Dst:             memcmp
        - Src:             'card-oberthur.c:638,4'
          Dst:             memcmp
        - Src:             'card-oberthur.c:639,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:639,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:639,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:641,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:646,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:647,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:647,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:658,8'
          Dst:             auth_select_file
        - Src:             'card-oberthur.c:659,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:659,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:661,9'
          Dst:             auth_list_files
        - Src:             'card-oberthur.c:662,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:662,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:673,9'
          Dst:             auth_delete_file
        - Src:             'card-oberthur.c:674,4'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:674,4'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:678,8'
          Dst:             auth_select_file
        - Src:             'card-oberthur.c:679,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:679,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:682,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:685,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:685,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:686,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:688,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:688,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:688,2'
          Dst:             sc_do_log
    - functionName:    auth_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 576
      functionLinenumberEnd: 601
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          221
      EdgeCount:       41
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:581,2'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:582,2'
          Dst:             sc_format_apdu
        - Src:             'card-oberthur.c:588,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-oberthur.c:589,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:589,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:591,7'
          Dst:             sc_check_sw
        - Src:             'card-oberthur.c:592,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:592,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:595,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:595,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:595,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:600,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:600,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:600,2'
          Dst:             sc_do_log
    - functionName:    auth_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 137
      functionLinenumberEnd: 139
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    auth_init
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 254
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          198
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - _sc_card_add_rsa_alg
        - auth_select_aid
        - auth_select_file
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:220,9'
          Dst:             calloc
        - Src:             'card-oberthur.c:222,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:222,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:222,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:230,6'
          Dst:             auth_select_aid
        - Src:             'card-oberthur.c:231,3'
          Dst:             sc_do_log
        - Src:             'card-oberthur.c:233,3'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:233,3'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:236,2'
          Dst:             sc_format_path
        - Src:             'card-oberthur.c:237,7'
          Dst:             auth_select_file
        - Src:             'card-oberthur.c:245,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-oberthur.c:246,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-oberthur.c:247,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-oberthur.c:253,2'
          Dst:             sc_strerror
        - Src:             'card-oberthur.c:253,2'
          Dst:             sc_do_log_color
        - Src:             'card-oberthur.c:253,2'
          Dst:             sc_do_log
    - functionName:    auth_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 209
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:205,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2288
      functionLinenumberEnd: 2313
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:2290,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_oberthur_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2319
      functionLinenumberEnd: 2320
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-oberthur.c:2320,9'
          Dst:             sc_get_driver
    - functionName:    get_carddata
      functionSourceFile: '/src/opensc/src/libopensc/card-belpic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 205
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          124
      EdgeCount:       19
      CyclomaticComplexity: 7
      functionsReached:
        - sc_bytes2apdu
        - sc_check_sw
        - sc_do_log
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-belpic.c:178,6'
          Dst:             sc_bytes2apdu
        - Src:             'card-belpic.c:180,3'
          Dst:             sc_do_log
        - Src:             'card-belpic.c:187,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-belpic.c:189,3'
          Dst:             sc_do_log
        - Src:             'card-belpic.c:193,6'
          Dst:             sc_check_sw
        - Src:             'card-belpic.c:195,3'
          Dst:             sc_do_log
        - Src:             'card-belpic.c:199,3'
          Dst:             sc_do_log
    - functionName:    belpic_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-belpic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 349
      functionLinenumberEnd: 420
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          277
      EdgeCount:       54
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-belpic.c:361,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-belpic.c:357,2'
          Dst:             sc_do_log
        - Src:             'card-belpic.c:360,2'
          Dst:             sc_format_apdu
        - Src:             'card-belpic.c:382,4'
          Dst:             sc_do_log
        - Src:             'card-belpic.c:398,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-belpic.c:399,2'
          Dst:             sc_strerror
        - Src:             'card-belpic.c:399,2'
          Dst:             sc_do_log_color
        - Src:             'card-belpic.c:401,6'
          Dst:             sc_check_sw
        - Src:             'card-belpic.c:402,2'
          Dst:             sc_strerror
        - Src:             'card-belpic.c:402,2'
          Dst:             sc_do_log_color
        - Src:             'card-belpic.c:415,3'
          Dst:             sc_do_log
    - functionName:    belpic_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-belpic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 337
      functionLinenumberEnd: 344
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          58
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    belpic_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-belpic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 311
      functionLinenumberEnd: 334
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          104
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - clock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-belpic.c:317,7'
          Dst:             clock
        - Src:             'card-belpic.c:319,7'
          Dst:             clock
    - functionName:    clock
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    belpic_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-belpic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 307
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          238
      EdgeCount:       42
      CyclomaticComplexity: 11
      functionsReached:
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-belpic.c:272,2'
          Dst:             sc_format_apdu
        - Src:             'card-belpic.c:281,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-belpic.c:283,2'
          Dst:             sc_strerror
        - Src:             'card-belpic.c:283,2'
          Dst:             sc_do_log_color
        - Src:             'card-belpic.c:285,6'
          Dst:             sc_check_sw
        - Src:             'card-belpic.c:287,3'
          Dst:             sc_strerror
        - Src:             'card-belpic.c:287,3'
          Dst:             sc_do_log_color
        - Src:             'card-belpic.c:287,3'
          Dst:             sc_do_log
        - Src:             'card-belpic.c:292,10'
          Dst:             sc_file_new
        - Src:             'card-belpic.c:299,23'
          Dst:             memcmp
    - functionName:    belpic_init
      functionSourceFile: '/src/opensc/src/libopensc/card-belpic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 218
      functionLinenumberEnd: 256
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          121
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - _sc_card_add_ec_alg
        - _sc_card_add_rsa_alg
        - get_carddata
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-belpic.c:222,2'
          Dst:             sc_do_log
        - Src:             'card-belpic.c:232,6'
          Dst:             get_carddata
        - Src:             'card-belpic.c:237,4'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-belpic.c:238,4'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-belpic.c:239,4'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-belpic.c:240,4'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-belpic.c:245,4'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    belpic_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-belpic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 208
      functionLinenumberEnd: 215
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-belpic.c:211,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-belpic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 423
      functionLinenumberEnd: 441
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          52
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-belpic.c:425,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_belpic_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-belpic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 446
      functionLinenumberEnd: 447
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-belpic.c:447,9'
          Dst:             sc_get_driver
    - functionName:    acos_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 713
      functionLinenumberEnd: 743
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          157
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:726,2'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:733,13'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:734,2'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:734,2'
          Dst:             sc_do_log_color
    - functionName:    process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 233
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          294
      EdgeCount:       51
      CyclomaticComplexity: 13
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-atrust-acos.c:205,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-atrust-acos.c:156,2'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:175,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-atrust-acos.c:178,3'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:183,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-atrust-acos.c:227,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:228,3'
          Dst:             sc_do_log
    - functionName:    atrust_acos_select_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 275
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          283
      EdgeCount:       50
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:245,2'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:251,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:252,2'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:252,2'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:256,7'
          Dst:             sc_check_sw
        - Src:             'card-atrust-acos.c:256,7'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:256,7'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:256,7'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:259,21'
          Dst:             sc_file_new
        - Src:             'card-atrust-acos.c:261,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:261,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:261,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:274,2'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:274,2'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:274,2'
          Dst:             sc_do_log
    - functionName:    atrust_acos_select_fid
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 282
      functionLinenumberEnd: 357
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         70
      ICount:          464
      EdgeCount:       91
      CyclomaticComplexity: 23
      functionsReached:
        - process_fci
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:289,2'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:297,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:298,2'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:298,2'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:307,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:308,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:308,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:314,3'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:319,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:320,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:320,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:327,3'
          Dst:             sc_check_sw
        - Src:             'card-atrust-acos.c:327,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:327,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:327,3'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:330,21'
          Dst:             sc_file_new
        - Src:             'card-atrust-acos.c:332,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:332,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:332,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:345,8'
          Dst:             process_fci
        - Src:             'card-atrust-acos.c:348,5'
          Dst:             sc_file_free
        - Src:             'card-atrust-acos.c:356,2'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:356,2'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:356,2'
          Dst:             sc_do_log
    - functionName:    atrust_acos_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 762
      functionLinenumberEnd: 784
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          88
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:767,2'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:774,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:775,2'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:775,2'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:783,9'
          Dst:             sc_check_sw
    - functionName:    atrust_acos_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 748
      functionLinenumberEnd: 757
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       11
      CyclomaticComplexity: 7
      functionsReached:
        - acos_get_serialnr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-atrust-acos.c:750,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-atrust-acos.c:753,10'
          Dst:             acos_get_serialnr
    - functionName:    atrust_acos_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 652
      functionLinenumberEnd: 687
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          277
      EdgeCount:       53
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:660,2'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:662,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:662,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:662,3'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:667,2'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:677,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:678,2'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:678,2'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:683,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:683,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:683,3'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:686,2'
          Dst:             sc_check_sw
        - Src:             'card-atrust-acos.c:686,2'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:686,2'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:686,2'
          Dst:             sc_do_log
    - functionName:    atrust_acos_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 557
      functionLinenumberEnd: 645
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         90
      ICount:          638
      EdgeCount:       114
      CyclomaticComplexity: 26
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_pkcs1_encode
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:565,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:565,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:565,3'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:571,3'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:580,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:581,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:581,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:583,4'
          Dst:             sc_check_sw
        - Src:             'card-atrust-acos.c:583,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:583,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:583,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:587,3'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:595,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:596,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:596,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:600,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:600,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:600,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:605,3'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:613,8'
          Dst:             sc_pkcs1_encode
        - Src:             'card-atrust-acos.c:627,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:628,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:628,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:630,4'
          Dst:             sc_check_sw
        - Src:             'card-atrust-acos.c:630,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:630,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:630,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:635,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:635,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:635,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:638,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:638,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:638,3'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:644,2'
          Dst:             sc_check_sw
        - Src:             'card-atrust-acos.c:644,2'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:644,2'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:644,2'
          Dst:             sc_do_log
    - functionName:    atrust_acos_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 432
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         97
      ICount:          678
      EdgeCount:       127
      CyclomaticComplexity: 32
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:459,3'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:465,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:466,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:466,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:468,4'
          Dst:             sc_check_sw
        - Src:             'card-atrust-acos.c:468,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:468,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:468,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:508,3'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:515,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:516,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:516,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:535,3'
          Dst:             sc_format_apdu
        - Src:             'card-atrust-acos.c:540,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-atrust-acos.c:541,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:541,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:543,4'
          Dst:             sc_check_sw
        - Src:             'card-atrust-acos.c:543,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:543,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:543,4'
          Dst:             sc_do_log
    - functionName:    atrust_acos_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 693
      functionLinenumberEnd: 708
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          85
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:695,2'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:701,3'
          Dst:             sc_do_log
    - functionName:    atrust_acos_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 364
      functionLinenumberEnd: 414
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          416
      EdgeCount:       83
      CyclomaticComplexity: 20
      functionsReached:
        - atrust_acos_select_aid
        - atrust_acos_select_fid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:376,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:376,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:376,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:377,10'
          Dst:             atrust_acos_select_fid
        - Src:             'card-atrust-acos.c:381,10'
          Dst:             atrust_acos_select_aid
        - Src:             'card-atrust-acos.c:392,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:392,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:392,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:395,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:395,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:395,4'
          Dst:             sc_do_log
        - Src:             'card-atrust-acos.c:408,8'
          Dst:             atrust_acos_select_fid
        - Src:             'card-atrust-acos.c:409,4'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:409,4'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:411,10'
          Dst:             atrust_acos_select_fid
        - Src:             'card-atrust-acos.c:413,3'
          Dst:             sc_strerror
        - Src:             'card-atrust-acos.c:413,3'
          Dst:             sc_do_log_color
        - Src:             'card-atrust-acos.c:413,3'
          Dst:             sc_do_log
    - functionName:    atrust_acos_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    atrust_acos_init
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 106
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          74
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_card_add_rsa_alg
        - calloc
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:110,12'
          Dst:             calloc
        - Src:             'card-atrust-acos.c:126,29'
          Dst:             strcmp
        - Src:             'card-atrust-acos.c:129,2'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    atrust_acos_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 76
      functionLinenumberEnd: 100
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          90
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - memcmp
        - sc_hex_to_bin
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:86,7'
          Dst:             sc_hex_to_bin
        - Src:             'card-atrust-acos.c:92,7'
          Dst:             memcmp
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 789
      functionLinenumberEnd: 808
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:790,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_atrust_acos_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 814
      functionLinenumberEnd: 815
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-atrust-acos.c:815,9'
          Dst:             sc_get_driver
    - functionName:    entersafe_write_rsa_key_factor
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1077
      functionLinenumberEnd: 1139
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - char
        - char
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          327
      EdgeCount:       61
      CyclomaticComplexity: 12
      functionsReached:
        - entersafe_reverse_buffer
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    6
      BranchProfiles:
        - Branch String:   'card-entersafe.c:1111,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-entersafe.c:1081,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1090,3'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1094,7'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1095,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1095,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1096,3'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1096,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1096,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1102,3'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1105,3'
          Dst:             entersafe_reverse_buffer
        - Src:             'card-entersafe.c:1134,7'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1135,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1135,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1136,3'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1136,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1136,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1138,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1138,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1138,2'
          Dst:             sc_do_log
    - functionName:    entersafe_transmit_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 370
      functionLinenumberEnd: 422
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          320
      EdgeCount:       71
      CyclomaticComplexity: 19
      functionsReached:
        - _sc_debug_hex
        - entersafe_cipher_apdu
        - entersafe_mac_apdu
        - sc_apdu_get_octets
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    28
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:380,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:383,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:383,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:383,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:385,6'
          Dst:             sc_apdu_get_octets
        - Src:             'card-entersafe.c:387,3'
          Dst:             _sc_debug_hex
        - Src:             'card-entersafe.c:400,12'
          Dst:             entersafe_cipher_apdu
        - Src:             'card-entersafe.c:410,7'
          Dst:             entersafe_mac_apdu
        - Src:             'card-entersafe.c:415,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-entersafe.c:421,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:421,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:421,2'
          Dst:             sc_do_log
    - functionName:    entersafe_reverse_buffer
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 116
      functionLinenumberEnd: 127
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          43
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    entersafe_cipher_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 197
      functionLinenumberEnd: 261
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          441
      EdgeCount:       78
      CyclomaticComplexity: 18
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_EncryptInit_ex
        - EVP_EncryptUpdate
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:207,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:215,8'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-entersafe.c:217,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-entersafe.c:218,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:218,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:218,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:220,2'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-entersafe.c:223,9'
          Dst:             sc_evp_cipher
        - Src:             'card-entersafe.c:225,9'
          Dst:             sc_evp_cipher
        - Src:             'card-entersafe.c:227,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-entersafe.c:228,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:228,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:228,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:231,6'
          Dst:             EVP_EncryptInit_ex
        - Src:             'card-entersafe.c:232,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-entersafe.c:233,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-entersafe.c:234,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-entersafe.c:235,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:236,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:236,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:236,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:240,7'
          Dst:             EVP_EncryptUpdate
        - Src:             'card-entersafe.c:241,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-entersafe.c:242,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-entersafe.c:243,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-entersafe.c:244,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:245,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:245,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:245,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:249,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-entersafe.c:250,2'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-entersafe.c:253,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:254,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:254,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:254,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:260,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:260,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:260,2'
          Dst:             sc_do_log
    - functionName:    entersafe_mac_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 365
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          426
      EdgeCount:       80
      CyclomaticComplexity: 23
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_EncryptInit_ex
        - EVP_EncryptUpdate
        - EVP_des_ede_cbc
        - entersafe_gen_random
        - sc_apdu_get_octets
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:278,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:285,6'
          Dst:             entersafe_gen_random
        - Src:             'card-entersafe.c:286,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:286,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:289,11'
          Dst:             sc_apdu_get_octets
        - Src:             'card-entersafe.c:308,8'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-entersafe.c:311,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-entersafe.c:314,2'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-entersafe.c:315,8'
          Dst:             sc_evp_cipher
        - Src:             'card-entersafe.c:317,4'
          Dst:             EVP_EncryptInit_ex
        - Src:             'card-entersafe.c:319,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-entersafe.c:324,8'
          Dst:             EVP_EncryptUpdate
        - Src:             'card-entersafe.c:326,4'
          Dst:             sc_do_log_openssl
        - Src:             'card-entersafe.c:332,8'
          Dst:             EVP_EncryptUpdate
        - Src:             'card-entersafe.c:334,4'
          Dst:             sc_do_log_openssl
        - Src:             'card-entersafe.c:338,31'
          Dst:             EVP_des_ede_cbc
        - Src:             'card-entersafe.c:338,7'
          Dst:             EVP_EncryptInit_ex
        - Src:             'card-entersafe.c:339,6'
          Dst:             EVP_EncryptUpdate
        - Src:             'card-entersafe.c:341,4'
          Dst:             sc_do_log_openssl
        - Src:             'card-entersafe.c:361,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-entersafe.c:362,2'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-entersafe.c:364,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:364,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:364,2'
          Dst:             sc_do_log
    - functionName:    entersafe_gen_random
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 192
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          151
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:177,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:179,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:184,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-entersafe.c:185,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:185,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:188,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:188,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:188,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:191,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:191,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:191,2'
          Dst:             sc_do_log
    - functionName:    EVP_CIPHER_CTX_set_padding
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    21
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_evp_cipher
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_cipherbyname
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:136,23'
          Dst:             EVP_get_cipherbyname
    - functionName:    EVP_des_ede_cbc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_evp_cipher_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    entersafe_encode_bignum
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 980
      functionLinenumberEnd: 1021
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - char
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          180
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - entersafe_reverse_buffer
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1015,2'
          Dst:             entersafe_reverse_buffer
    - functionName:    entersafe_write_symmetric_key
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1201
      functionLinenumberEnd: 1224
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - char
        - char
        - char
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          196
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1206,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1209,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1209,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1209,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1215,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1220,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1221,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1221,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1222,2'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1222,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1222,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1223,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1223,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1223,2'
          Dst:             sc_do_log
    - functionName:    entersafe_write_large_rsa_key
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1142
      functionLinenumberEnd: 1195
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          401
      EdgeCount:       61
      CyclomaticComplexity: 13
      functionsReached:
        - entersafe_transmit_apdu
        - entersafe_write_rsa_key_factor
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1145,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1148,7'
          Dst:             entersafe_write_rsa_key_factor
        - Src:             'card-entersafe.c:1149,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1149,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1150,7'
          Dst:             entersafe_write_rsa_key_factor
        - Src:             'card-entersafe.c:1151,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1151,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1152,7'
          Dst:             entersafe_write_rsa_key_factor
        - Src:             'card-entersafe.c:1153,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1153,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1154,7'
          Dst:             entersafe_write_rsa_key_factor
        - Src:             'card-entersafe.c:1155,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1155,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1156,7'
          Dst:             entersafe_write_rsa_key_factor
        - Src:             'card-entersafe.c:1157,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1157,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1173,3'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1177,7'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1178,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1178,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1179,3'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1179,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1179,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1182,3'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1186,7'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1187,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1187,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1188,3'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1188,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1188,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1191,7'
          Dst:             entersafe_write_rsa_key_factor
        - Src:             'card-entersafe.c:1192,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1192,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1194,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1194,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1194,2'
          Dst:             sc_do_log
    - functionName:    entersafe_write_small_rsa_key
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1024
      functionLinenumberEnd: 1071
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          346
      EdgeCount:       51
      CyclomaticComplexity: 11
      functionsReached:
        - entersafe_encode_bignum
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1031,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1036,7'
          Dst:             entersafe_encode_bignum
        - Src:             'card-entersafe.c:1037,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1037,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1038,7'
          Dst:             entersafe_encode_bignum
        - Src:             'card-entersafe.c:1039,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1039,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1041,3'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1046,7'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1047,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1047,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1048,3'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1048,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1048,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1055,7'
          Dst:             entersafe_encode_bignum
        - Src:             'card-entersafe.c:1056,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1056,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1057,7'
          Dst:             entersafe_encode_bignum
        - Src:             'card-entersafe.c:1058,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1058,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1060,3'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1065,7'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1066,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1066,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1067,3'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1067,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1067,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1070,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1070,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1070,2'
          Dst:             sc_do_log
    - functionName:    entersafe_preinstall_rsa_2048
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1376
      functionLinenumberEnd: 1436
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          194
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - entersafe_transmit_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1385,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1403,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1408,8'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1409,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1409,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1427,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1432,8'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1433,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1433,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1435,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1435,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1435,2'
          Dst:             sc_do_log
    - functionName:    entersafe_preinstall_keys
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1439
      functionLinenumberEnd: 1519
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          274
      EdgeCount:       36
      CyclomaticComplexity: 8
      functionsReached:
        - entersafe_transmit_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1444,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1450,4'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1450,4'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1467,3'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1472,7'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1473,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1473,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1488,3'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1493,7'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1494,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1494,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1509,3'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1514,7'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1515,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1515,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1518,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1518,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1518,2'
          Dst:             sc_do_log
    - functionName:    entersafe_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1347
      functionLinenumberEnd: 1373
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          184
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1352,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1356,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1362,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1363,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1363,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1364,2'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1364,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1364,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1366,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1366,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1372,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1372,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1372,2'
          Dst:             sc_do_log
    - functionName:    entersafe_erase_card
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 932
      functionLinenumberEnd: 976
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         30
      ICount:          190
      EdgeCount:       32
      CyclomaticComplexity: 4
      functionsReached:
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-entersafe.c:955,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-entersafe.c:937,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:941,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:946,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:947,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:947,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:949,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:957,8'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:967,8'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:974,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:974,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:975,2'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:975,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:975,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:975,2'
          Dst:             sc_do_log
    - functionName:    entersafe_gen_key
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1254
      functionLinenumberEnd: 1344
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         96
      ICount:          716
      EdgeCount:       119
      CyclomaticComplexity: 25
      functionsReached:
        - entersafe_reverse_buffer
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1262,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1265,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1276,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1277,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1277,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1278,2'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1278,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1278,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1281,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1289,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1290,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1290,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1291,2'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1291,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1291,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1294,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:1299,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:1300,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1300,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1301,2'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:1301,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1301,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1306,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1306,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1306,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1309,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1309,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1309,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1314,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1314,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1314,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1317,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1317,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1317,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1324,4'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1324,4'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1324,4'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1334,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1334,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1334,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1339,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1339,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1339,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1340,2'
          Dst:             entersafe_reverse_buffer
        - Src:             'card-entersafe.c:1343,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1343,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1343,2'
          Dst:             sc_do_log
    - functionName:    entersafe_write_key
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1227
      functionLinenumberEnd: 1251
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          157
      EdgeCount:       23
      CyclomaticComplexity: 4
      functionsReached:
        - entersafe_write_large_rsa_key
        - entersafe_write_small_rsa_key
        - entersafe_write_symmetric_key
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-entersafe.c:1232,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-entersafe.c:1230,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1235,12'
          Dst:             entersafe_write_small_rsa_key
        - Src:             'card-entersafe.c:1237,12'
          Dst:             entersafe_write_large_rsa_key
        - Src:             'card-entersafe.c:1240,4'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1240,4'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1240,4'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1243,11'
          Dst:             entersafe_write_symmetric_key
        - Src:             'card-entersafe.c:1250,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:1250,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:1250,2'
          Dst:             sc_do_log
    - functionName:    entersafe_create_df
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 647
      functionLinenumberEnd: 663
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          78
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:651,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:655,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:660,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:661,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:661,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:662,9'
          Dst:             sc_check_sw
    - functionName:    entersafe_create_mf
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 610
      functionLinenumberEnd: 644
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          129
      EdgeCount:       22
      CyclomaticComplexity: 2
      functionsReached:
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-entersafe.c:623,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-entersafe.c:614,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:618,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:625,8'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:635,8'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:642,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:642,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:643,9'
          Dst:             sc_check_sw
    - functionName:    entersafe_init_pin_info
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 870
      functionLinenumberEnd: 877
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          30
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    entersafe_create_ef
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 666
      functionLinenumberEnd: 680
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          73
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:670,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:672,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:677,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:678,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:678,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:679,9'
          Dst:             sc_check_sw
    - functionName:    process_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 683
      functionLinenumberEnd: 698
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          84
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - sc_file_get_acl_entry
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:685,32'
          Dst:             sc_file_get_acl_entry
    - functionName:    entersafe_internal_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 725
      functionLinenumberEnd: 774
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          271
      EdgeCount:       42
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-entersafe.c:736,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-entersafe.c:734,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:739,4'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:758,6'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:758,6'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:758,6'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:763,4'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:763,4'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:763,4'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:771,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-entersafe.c:772,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:772,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:773,9'
          Dst:             sc_check_sw
    - functionName:    entersafe_compute_with_prkey
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 813
      functionLinenumberEnd: 851
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          339
      EdgeCount:       62
      CyclomaticComplexity: 14
      functionsReached:
        - entersafe_internal_set_security_env
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:821,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:824,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:824,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:824,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:829,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:829,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:829,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:831,6'
          Dst:             entersafe_internal_set_security_env
        - Src:             'card-entersafe.c:832,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:832,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:834,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:842,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:843,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:843,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:848,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:848,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:848,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:850,2'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:850,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:850,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:850,2'
          Dst:             sc_do_log
    - functionName:    entersafe_select_path
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 557
      functionLinenumberEnd: 585
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          284
      EdgeCount:       56
      CyclomaticComplexity: 14
      functionsReached:
        - entersafe_select_fid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:565,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:565,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:565,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:569,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:569,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:569,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:581,7'
          Dst:             entersafe_select_fid
        - Src:             'card-entersafe.c:582,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:582,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:584,9'
          Dst:             entersafe_select_fid
    - functionName:    entersafe_select_fid
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 503
      functionLinenumberEnd: 526
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          135
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:517,3'
          Dst:             sc_file_free
        - Src:             'card-entersafe.c:518,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:518,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:523,3'
          Dst:             sc_file_free
        - Src:             'card-entersafe.c:525,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:525,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:525,2'
          Dst:             sc_do_log
    - functionName:    entersafe_select_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 531
      functionLinenumberEnd: 552
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          143
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:535,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:535,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:551,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:551,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:551,2'
          Dst:             sc_do_log
    - functionName:    entersafe_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 479
      functionLinenumberEnd: 498
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          131
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:484,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:487,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:487,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:497,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:497,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:497,2'
          Dst:             sc_do_log
    - functionName:    entersafe_card_ctl_2048
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1522
      functionLinenumberEnd: 1550
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          121
      EdgeCount:       21
      CyclomaticComplexity: 4
      functionsReached:
        - entersafe_create_df
        - entersafe_create_ef
        - entersafe_create_mf
        - entersafe_erase_card
        - entersafe_gen_key
        - entersafe_get_serialnr
        - entersafe_preinstall_keys
        - entersafe_preinstall_rsa_2048
        - entersafe_write_key
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-entersafe.c:1527,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-entersafe.c:1525,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:1530,12'
          Dst:             entersafe_create_mf
        - Src:             'card-entersafe.c:1532,12'
          Dst:             entersafe_create_df
        - Src:             'card-entersafe.c:1534,12'
          Dst:             entersafe_create_ef
        - Src:             'card-entersafe.c:1538,11'
          Dst:             entersafe_write_key
        - Src:             'card-entersafe.c:1540,11'
          Dst:             entersafe_gen_key
        - Src:             'card-entersafe.c:1542,11'
          Dst:             entersafe_erase_card
        - Src:             'card-entersafe.c:1544,11'
          Dst:             entersafe_get_serialnr
        - Src:             'card-entersafe.c:1546,11'
          Dst:             entersafe_preinstall_keys
        - Src:             'card-entersafe.c:1546,11'
          Dst:             entersafe_preinstall_rsa_2048
    - functionName:    entersafe_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 880
      functionLinenumberEnd: 929
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          232
      EdgeCount:       31
      CyclomaticComplexity: 8
      functionsReached:
        - entersafe_init_pin_info
        - entersafe_transmit_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:882,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:883,2'
          Dst:             entersafe_init_pin_info
        - Src:             'card-entersafe.c:884,2'
          Dst:             entersafe_init_pin_info
        - Src:             'card-entersafe.c:889,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:900,4'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:904,8'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:905,4'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:905,4'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:919,4'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:924,8'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:925,4'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:925,4'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:928,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:928,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:928,2'
          Dst:             sc_do_log
    - functionName:    entersafe_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 701
      functionLinenumberEnd: 720
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          97
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - entersafe_create_ef
        - process_acl_entry
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:702,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:713,24'
          Dst:             process_acl_entry
        - Src:             'card-entersafe.c:714,24'
          Dst:             process_acl_entry
        - Src:             'card-entersafe.c:716,10'
          Dst:             entersafe_create_ef
    - functionName:    entersafe_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 856
      functionLinenumberEnd: 858
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          36
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - entersafe_compute_with_prkey
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:857,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:858,9'
          Dst:             entersafe_compute_with_prkey
    - functionName:    entersafe_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 864
      functionLinenumberEnd: 866
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          36
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - entersafe_compute_with_prkey
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:865,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:866,9'
          Dst:             entersafe_compute_with_prkey
    - functionName:    entersafe_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 784
      functionLinenumberEnd: 801
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          150
      EdgeCount:       32
      CyclomaticComplexity: 8
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:788,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:795,19'
          Dst:             calloc
        - Src:             'card-entersafe.c:797,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:797,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:797,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:800,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:800,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:800,2'
          Dst:             sc_do_log
    - functionName:    entersafe_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 804
      functionLinenumberEnd: 806
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         5
      ICount:          24
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:805,2'
          Dst:             sc_do_log
    - functionName:    entersafe_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 590
      functionLinenumberEnd: 607
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          170
      EdgeCount:       32
      CyclomaticComplexity: 6
      functionsReached:
        - entersafe_select_aid
        - entersafe_select_fid
        - entersafe_select_path
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-entersafe.c:595,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-entersafe.c:593,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:598,5'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:598,5'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:598,5'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:599,11'
          Dst:             entersafe_select_fid
        - Src:             'card-entersafe.c:601,11'
          Dst:             entersafe_select_aid
        - Src:             'card-entersafe.c:603,11'
          Dst:             entersafe_select_path
        - Src:             'card-entersafe.c:605,4'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:605,4'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:605,4'
          Dst:             sc_do_log
    - functionName:    entersafe_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 455
      functionLinenumberEnd: 475
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          156
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:459,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:464,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:470,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:471,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:471,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:472,2'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:472,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:472,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:474,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:474,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:474,2'
          Dst:             sc_do_log
    - functionName:    entersafe_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 427
      functionLinenumberEnd: 450
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          187
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - entersafe_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:432,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:436,2'
          Dst:             sc_format_apdu
        - Src:             'card-entersafe.c:443,6'
          Dst:             entersafe_transmit_apdu
        - Src:             'card-entersafe.c:444,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:444,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:446,3'
          Dst:             sc_check_sw
        - Src:             'card-entersafe.c:446,3'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:446,3'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:446,3'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:449,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:449,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:449,2'
          Dst:             sc_do_log
    - functionName:    entersafe_init
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 147
      functionLinenumberEnd: 168
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          92
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_card_add_rsa_alg
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:150,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:158,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-entersafe.c:159,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-entersafe.c:160,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-entersafe.c:161,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-entersafe.c:168,2'
          Dst:             sc_strerror
        - Src:             'card-entersafe.c:168,2'
          Dst:             sc_do_log_color
        - Src:             'card-entersafe.c:168,2'
          Dst:             sc_do_log
    - functionName:    entersafe_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          41
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:137,2'
          Dst:             sc_do_log
        - Src:             'card-entersafe.c:139,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1553
      functionLinenumberEnd: 1575
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1554,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_entersafe_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1579
      functionLinenumberEnd: 1580
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-entersafe.c:1580,9'
          Dst:             sc_get_driver
    - functionName:    update_secret_key
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3180
      functionLinenumberEnd: 3206
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - char
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          171
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - get_external_key_maxtries
        - hash_data
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3187,6'
          Dst:             hash_data
        - Src:             'card-epass2003.c:3188,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3188,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3190,6'
          Dst:             get_external_key_maxtries
        - Src:             'card-epass2003.c:3191,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3191,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3195,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:3200,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:3201,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3201,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3202,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:3203,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3203,2'
          Dst:             sc_do_log_color
    - functionName:    hash_data
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2731
      functionLinenumberEnd: 2757
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          125
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sha1_digest
        - sha256_digest
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2740,3'
          Dst:             sha1_digest
        - Src:             'card-epass2003.c:2748,3'
          Dst:             sha256_digest
    - functionName:    get_external_key_maxtries
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3071
      functionLinenumberEnd: 3090
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          80
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log_color
        - sc_read_binary
        - sc_select_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3082,8'
          Dst:             sc_select_file
        - Src:             'card-epass2003.c:3083,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3083,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3085,8'
          Dst:             sc_read_binary
        - Src:             'card-epass2003.c:3086,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3086,2'
          Dst:             sc_do_log_color
    - functionName:    sc_transmit_apdu_t
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 268
      functionLinenumberEnd: 277
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          85
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - epass2003_refresh
        - sc_transmit_apdu
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:270,10'
          Dst:             sc_transmit_apdu
        - Src:             'card-epass2003.c:272,3'
          Dst:             epass2003_refresh
        - Src:             'card-epass2003.c:275,7'
          Dst:             sc_transmit_apdu
    - functionName:    epass2003_refresh
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 926
      functionLinenumberEnd: 943
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          83
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - mutual_auth
        - sc_do_log_color
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:937,7'
          Dst:             mutual_auth
        - Src:             'card-epass2003.c:939,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:939,3'
          Dst:             sc_do_log_color
    - functionName:    mutual_auth
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 896
      functionLinenumberEnd: 921
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          157
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - gen_init_key
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - verify_init_key
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:907,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:909,6'
          Dst:             gen_init_key
        - Src:             'card-epass2003.c:910,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:910,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:917,6'
          Dst:             verify_init_key
        - Src:             'card-epass2003.c:918,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:918,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:920,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:920,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:920,2'
          Dst:             sc_do_log
    - functionName:    gen_init_key
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 679
      functionLinenumberEnd: 790
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         90
      ICount:          655
      EdgeCount:       114
      CyclomaticComplexity: 26
      functionsReached:
        - RAND_bytes
        - aes128_encrypt_cbc
        - aes128_encrypt_cmac
        - aes128_encrypt_ecb
        - des3_encrypt_cbc
        - des3_encrypt_ecb
        - epass2003_transmit_apdu
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:696,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:698,11'
          Dst:             RAND_bytes
        - Src:             'card-epass2003.c:701,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:714,6'
          Dst:             epass2003_transmit_apdu
        - Src:             'card-epass2003.c:716,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:716,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:718,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:719,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:719,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:739,8'
          Dst:             aes128_encrypt_cmac
        - Src:             'card-epass2003.c:740,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:740,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:742,8'
          Dst:             aes128_encrypt_cmac
        - Src:             'card-epass2003.c:743,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:743,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:745,8'
          Dst:             aes128_encrypt_ecb
        - Src:             'card-epass2003.c:746,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:746,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:747,8'
          Dst:             aes128_encrypt_ecb
        - Src:             'card-epass2003.c:748,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:748,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:751,7'
          Dst:             des3_encrypt_ecb
        - Src:             'card-epass2003.c:752,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:752,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:753,7'
          Dst:             des3_encrypt_ecb
        - Src:             'card-epass2003.c:754,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:754,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:771,8'
          Dst:             aes128_encrypt_cmac
        - Src:             'card-epass2003.c:773,8'
          Dst:             aes128_encrypt_cbc
        - Src:             'card-epass2003.c:776,7'
          Dst:             des3_encrypt_cbc
        - Src:             'card-epass2003.c:779,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:779,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:783,12'
          Dst:             memcmp
        - Src:             'card-epass2003.c:784,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:784,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:784,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:786,12'
          Dst:             memcmp
        - Src:             'card-epass2003.c:787,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:787,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:787,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:789,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:789,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:789,2'
          Dst:             sc_do_log
    - functionName:    verify_init_key
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 795
      functionLinenumberEnd: 890
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          391
      EdgeCount:       57
      CyclomaticComplexity: 14
      functionsReached:
        - aes128_encrypt_cbc
        - aes128_encrypt_cmac
        - des3_encrypt_cbc
        - epass2003_transmit_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:813,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:833,8'
          Dst:             aes128_encrypt_cmac
        - Src:             'card-epass2003.c:835,8'
          Dst:             aes128_encrypt_cbc
        - Src:             'card-epass2003.c:838,7'
          Dst:             des3_encrypt_cbc
        - Src:             'card-epass2003.c:841,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:841,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:856,8'
          Dst:             aes128_encrypt_cmac
        - Src:             'card-epass2003.c:858,8'
          Dst:             aes128_encrypt_cbc
        - Src:             'card-epass2003.c:862,7'
          Dst:             des3_encrypt_cbc
        - Src:             'card-epass2003.c:866,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:866,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:878,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:884,6'
          Dst:             epass2003_transmit_apdu
        - Src:             'card-epass2003.c:886,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:886,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:887,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:888,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:888,2'
          Dst:             sc_do_log_color
    - functionName:    aes128_encrypt_cmac
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 415
      functionLinenumberEnd: 470
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          85
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - CMAC_CTX_free
        - CMAC_CTX_new
        - CMAC_Final
        - CMAC_Init
        - CMAC_Update
        - EVP_aes_128_cbc
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:419,18'
          Dst:             CMAC_CTX_new
        - Src:             'card-epass2003.c:424,40'
          Dst:             EVP_aes_128_cbc
        - Src:             'card-epass2003.c:424,7'
          Dst:             CMAC_Init
        - Src:             'card-epass2003.c:427,7'
          Dst:             CMAC_Update
        - Src:             'card-epass2003.c:430,7'
          Dst:             CMAC_Final
        - Src:             'card-epass2003.c:435,2'
          Dst:             CMAC_CTX_free
    - functionName:    aes128_encrypt_cbc
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 490
      functionLinenumberEnd: 497
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - openssl_enc
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:491,20'
          Dst:             sc_evp_cipher
        - Src:             'card-epass2003.c:493,6'
          Dst:             openssl_enc
        - Src:             'card-epass2003.c:494,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:496,3'
          Dst:             sc_do_log_openssl
    - functionName:    des3_encrypt_cbc
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 542
      functionLinenumberEnd: 558
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          82
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - EVP_des_ede3_cbc
        - openssl_enc
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:544,20'
          Dst:             sc_evp_cipher
        - Src:             'card-epass2003.c:554,18'
          Dst:             EVP_des_ede3_cbc
        - Src:             'card-epass2003.c:554,6'
          Dst:             openssl_enc
        - Src:             'card-epass2003.c:555,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:557,3'
          Dst:             sc_do_log_openssl
    - functionName:    epass2003_transmit_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1635
      functionLinenumberEnd: 1644
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          56
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1638,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1640,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:1641,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1641,2'
          Dst:             sc_do_log_color
    - functionName:    sc_evp_cipher
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_cipherbyname
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:136,23'
          Dst:             EVP_get_cipherbyname
    - functionName:    EVP_des_ede3_cbc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    openssl_enc
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 283
      functionLinenumberEnd: 307
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          101
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_EncryptFinal_ex
        - EVP_EncryptInit_ex
        - EVP_EncryptUpdate
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:291,8'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-epass2003.c:295,7'
          Dst:             EVP_EncryptInit_ex
        - Src:             'card-epass2003.c:295,62'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-epass2003.c:298,7'
          Dst:             EVP_EncryptUpdate
        - Src:             'card-epass2003.c:301,7'
          Dst:             EVP_EncryptFinal_ex
        - Src:             'card-epass2003.c:306,2'
          Dst:             EVP_CIPHER_CTX_free
    - functionName:    sc_evp_cipher_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_EncryptFinal_ex
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CMAC_CTX_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_aes_128_cbc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CMAC_Init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CMAC_Update
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CMAC_Final
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CMAC_CTX_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    aes128_encrypt_ecb
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 475
      functionLinenumberEnd: 483
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - openssl_enc
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:477,20'
          Dst:             sc_evp_cipher
        - Src:             'card-epass2003.c:479,6'
          Dst:             openssl_enc
        - Src:             'card-epass2003.c:480,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:482,3'
          Dst:             sc_do_log_openssl
    - functionName:    des3_encrypt_ecb
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 518
      functionLinenumberEnd: 535
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          83
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - openssl_enc
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:521,20'
          Dst:             sc_evp_cipher
        - Src:             'card-epass2003.c:531,6'
          Dst:             openssl_enc
        - Src:             'card-epass2003.c:532,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:534,3'
          Dst:             sc_do_log_openssl
    - functionName:    sha1_digest
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 651
      functionLinenumberEnd: 659
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          51
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - openssl_dig
        - sc_do_log_openssl
        - sc_evp_md
        - sc_evp_md_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:652,15'
          Dst:             sc_evp_md
        - Src:             'card-epass2003.c:655,6'
          Dst:             openssl_dig
        - Src:             'card-epass2003.c:656,2'
          Dst:             sc_evp_md_free
        - Src:             'card-epass2003.c:658,3'
          Dst:             sc_do_log_openssl
    - functionName:    sha256_digest
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 664
      functionLinenumberEnd: 672
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          51
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - openssl_dig
        - sc_do_log_openssl
        - sc_evp_md
        - sc_evp_md_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:665,15'
          Dst:             sc_evp_md
        - Src:             'card-epass2003.c:668,6'
          Dst:             openssl_dig
        - Src:             'card-epass2003.c:669,2'
          Dst:             sc_evp_md_free
        - Src:             'card-epass2003.c:671,3'
          Dst:             sc_do_log_openssl
    - functionName:    sc_evp_md
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_digestbyname
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:121,19'
          Dst:             EVP_get_digestbyname
    - functionName:    openssl_dig
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 618
      functionLinenumberEnd: 645
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          90
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - EVP_DigestFinal_ex
        - EVP_DigestInit_ex
        - EVP_DigestUpdate
        - EVP_MD_CTX_free
        - EVP_MD_CTX_new
        - EVP_MD_CTX_reset
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:623,8'
          Dst:             EVP_MD_CTX_new
        - Src:             'card-epass2003.c:629,2'
          Dst:             EVP_MD_CTX_reset
        - Src:             'card-epass2003.c:630,7'
          Dst:             EVP_DigestInit_ex
        - Src:             'card-epass2003.c:631,5'
          Dst:             EVP_DigestUpdate
        - Src:             'card-epass2003.c:636,7'
          Dst:             EVP_DigestFinal_ex
        - Src:             'card-epass2003.c:643,3'
          Dst:             EVP_MD_CTX_free
    - functionName:    sc_evp_md_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 125
      functionLinenumberEnd: 126
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_MD_CTX_reset
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_DigestInit_ex
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_DigestFinal_ex
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    external_key_auth
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3147
      functionLinenumberEnd: 3174
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          186
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - des3_encrypt_cbc
        - hash_data
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_challenge
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3155,6'
          Dst:             sc_get_challenge
        - Src:             'card-epass2003.c:3156,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3156,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3158,6'
          Dst:             hash_data
        - Src:             'card-epass2003.c:3159,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3159,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3161,6'
          Dst:             des3_encrypt_cbc
        - Src:             'card-epass2003.c:3162,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3162,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3164,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:3168,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:3169,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3169,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3170,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:3171,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3171,2'
          Dst:             sc_do_log_color
    - functionName:    get_external_key_retries
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3095
      functionLinenumberEnd: 3119
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          151
      EdgeCount:       30
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_challenge
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3100,6'
          Dst:             sc_get_challenge
        - Src:             'card-epass2003.c:3101,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3101,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3103,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:3107,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:3108,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3108,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3114,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3114,3'
          Dst:             sc_do_log_color
    - functionName:    internal_sanitize_pin_info
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3059
      functionLinenumberEnd: 3066
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          30
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    acl_to_ac_byte
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2234
      functionLinenumberEnd: 2248
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         31
      ICount:          175
      EdgeCount:       35
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-epass2003.c:2238,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-epass2003.c:2240,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2240,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2240,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2242,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2242,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2242,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2244,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2244,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2244,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2247,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2247,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2247,2'
          Dst:             sc_do_log
    - functionName:    install_secret_key
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2764
      functionLinenumberEnd: 2795
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - char
        - char
        - char
        - char
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          175
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2784,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2789,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2790,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2790,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2791,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2792,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2792,2'
          Dst:             sc_do_log_color
    - functionName:    internal_write_rsa_key_factor
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2687
      functionLinenumberEnd: 2710
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - short
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          158
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2692,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2699,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2704,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2705,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2705,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2706,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2707,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2707,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2709,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2709,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2709,2'
          Dst:             sc_do_log
    - functionName:    internal_install_pin
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2823
      functionLinenumberEnd: 2837
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          104
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - hash_data
        - install_secret_key
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2827,6'
          Dst:             hash_data
        - Src:             'card-epass2003.c:2828,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2828,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2830,6'
          Dst:             install_secret_key
        - Src:             'card-epass2003.c:2834,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2834,2'
          Dst:             sc_do_log_color
    - functionName:    internal_install_pre
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2800
      functionLinenumberEnd: 2817
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          72
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - install_secret_key
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2803,6'
          Dst:             install_secret_key
        - Src:             'card-epass2003.c:2807,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2807,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2810,6'
          Dst:             install_secret_key
        - Src:             'card-epass2003.c:2814,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2814,2'
          Dst:             sc_do_log_color
    - functionName:    internal_write_rsa_key
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2715
      functionLinenumberEnd: 2726
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - short
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          125
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - internal_write_rsa_key_factor
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2718,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2720,6'
          Dst:             internal_write_rsa_key_factor
        - Src:             'card-epass2003.c:2721,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2721,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2722,6'
          Dst:             internal_write_rsa_key_factor
        - Src:             'card-epass2003.c:2723,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2723,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2725,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2725,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2725,2'
          Dst:             sc_do_log
    - functionName:    epass2003_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3019
      functionLinenumberEnd: 3033
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          91
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - get_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3023,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:3025,20'
          Dst:             get_data
        - Src:             'card-epass2003.c:3032,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3032,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3032,2'
          Dst:             sc_do_log
    - functionName:    get_data
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1649
      functionLinenumberEnd: 1682
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          153
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - sc_transmit_apdu_t
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1661,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1663,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:1671,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-epass2003.c:1674,7'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:1676,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1676,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1677,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:1678,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1678,2'
          Dst:             sc_do_log_color
    - functionName:    epass2003_erase_card
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2966
      functionLinenumberEnd: 3014
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         34
      ICount:          251
      EdgeCount:       41
      CyclomaticComplexity: 9
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2981,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2984,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2988,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-epass2003.c:2989,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2989,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2990,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2991,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2991,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2994,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2998,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-epass2003.c:2999,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2999,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3000,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:3001,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3001,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3004,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:3008,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-epass2003.c:3009,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3009,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3010,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:3011,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3011,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3013,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3013,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3013,2'
          Dst:             sc_do_log
    - functionName:    epass2003_gen_key
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2868
      functionLinenumberEnd: 2961
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         91
      ICount:          664
      EdgeCount:       113
      CyclomaticComplexity: 24
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2875,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2890,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2894,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2895,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2895,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2896,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2897,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2897,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2900,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2912,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2913,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2913,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2914,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2915,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2915,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2918,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2918,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2918,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2926,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2926,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2926,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2930,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2930,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2930,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2935,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2935,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2935,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2942,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2942,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2942,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2948,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2948,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2948,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2955,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2955,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2955,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2960,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2960,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2960,2'
          Dst:             sc_do_log
    - functionName:    epass2003_write_key
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2842
      functionLinenumberEnd: 2863
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         40
      ICount:          230
      EdgeCount:       49
      CyclomaticComplexity: 11
      functionsReached:
        - internal_install_pin
        - internal_install_pre
        - internal_write_rsa_key
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2843,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2847,11'
          Dst:             internal_write_rsa_key
        - Src:             'card-epass2003.c:2850,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2850,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2850,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2853,11'
          Dst:             internal_install_pre
        - Src:             'card-epass2003.c:2855,11'
          Dst:             internal_install_pin
        - Src:             'card-epass2003.c:2857,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2857,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2857,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2859,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2859,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2859,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2862,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2862,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2862,2'
          Dst:             sc_do_log
    - functionName:    epass2003_hook_file
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1820
      functionLinenumberEnd: 1836
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          86
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - epass2003_hook_path
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1825,7'
          Dst:             epass2003_hook_path
    - functionName:    epass2003_hook_path
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1789
      functionLinenumberEnd: 1815
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          119
      EdgeCount:       20
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:
        - Branch String:   'card-epass2003.c:1798,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    epass2003_select_fid_
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1841
      functionLinenumberEnd: 1930
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         93
      ICount:          641
      EdgeCount:       112
      CyclomaticComplexity: 21
      functionsReached:
        - epass2003_hook_file
        - epass2003_hook_path
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-epass2003.c:1857,2'
          Branch Sides:    []
        - Branch String:   'card-epass2003.c:1907,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-epass2003.c:1849,6'
          Dst:             epass2003_hook_path
        - Src:             'card-epass2003.c:1850,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1850,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1855,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:1864,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1864,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1864,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1891,7'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:1892,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1892,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1897,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1897,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1897,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1898,3'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:1898,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1898,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1898,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1901,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:1903,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1903,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1903,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1905,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1905,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1905,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1909,10'
          Dst:             sc_file_new
        - Src:             'card-epass2003.c:1911,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1911,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1911,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1914,4'
          Dst:             sc_file_free
        - Src:             'card-epass2003.c:1915,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1915,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1915,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1920,3'
          Dst:             epass2003_hook_file
        - Src:             'card-epass2003.c:1924,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1924,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1924,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1927,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1927,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1927,3'
          Dst:             sc_do_log
    - functionName:    epass2003_select_path
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1988
      functionLinenumberEnd: 2017
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          284
      EdgeCount:       56
      CyclomaticComplexity: 14
      functionsReached:
        - epass2003_select_fid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1996,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1996,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1996,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2000,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2000,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2000,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2012,7'
          Dst:             epass2003_select_fid
        - Src:             'card-epass2003.c:2013,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2013,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2016,9'
          Dst:             epass2003_select_fid
    - functionName:    epass2003_select_fid
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1936
      functionLinenumberEnd: 1957
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          116
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - epass2003_select_fid_
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1947,6'
          Dst:             epass2003_select_fid_
        - Src:             'card-epass2003.c:1948,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1948,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1953,3'
          Dst:             sc_file_free
        - Src:             'card-epass2003.c:1956,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1956,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1956,2'
          Dst:             sc_do_log
    - functionName:    epass2003_select_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1962
      functionLinenumberEnd: 1982
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          136
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1966,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1966,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1981,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1981,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1981,2'
          Dst:             sc_do_log
    - functionName:    des3_decrypt_cbc
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 565
      functionLinenumberEnd: 581
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          82
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - openssl_dec
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:567,20'
          Dst:             sc_evp_cipher
        - Src:             'card-epass2003.c:577,6'
          Dst:             openssl_dec
        - Src:             'card-epass2003.c:578,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:580,3'
          Dst:             sc_do_log_openssl
    - functionName:    openssl_dec
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 313
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          101
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_DecryptFinal_ex
        - EVP_DecryptInit_ex
        - EVP_DecryptUpdate
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:321,8'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-epass2003.c:325,7'
          Dst:             EVP_DecryptInit_ex
        - Src:             'card-epass2003.c:326,5'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-epass2003.c:329,7'
          Dst:             EVP_DecryptUpdate
        - Src:             'card-epass2003.c:332,7'
          Dst:             EVP_DecryptFinal_ex
        - Src:             'card-epass2003.c:337,2'
          Dst:             EVP_CIPHER_CTX_free
    - functionName:    EVP_DecryptInit_ex
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_DecryptUpdate
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_DecryptFinal_ex
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    aes128_decrypt_cbc
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 504
      functionLinenumberEnd: 511
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - openssl_dec
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:505,20'
          Dst:             sc_evp_cipher
        - Src:             'card-epass2003.c:507,6'
          Dst:             openssl_dec
        - Src:             'card-epass2003.c:508,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:510,3'
          Dst:             sc_do_log_openssl
    - functionName:    decrypt_response
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1462
      functionLinenumberEnd: 1504
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          211
      EdgeCount:       46
      CyclomaticComplexity: 14
      functionsReached:
        - aes128_decrypt_cbc
        - des3_decrypt_cbc
        - sc_asn1_read_tag
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1475,20'
          Dst:             sc_asn1_read_tag
        - Src:             'card-epass2003.c:1490,3'
          Dst:             aes128_decrypt_cbc
        - Src:             'card-epass2003.c:1492,3'
          Dst:             des3_decrypt_cbc
    - functionName:    epass2003_check_response_mac_and_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1346
      functionLinenumberEnd: 1447
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         68
      ICount:          462
      EdgeCount:       93
      CyclomaticComplexity: 27
      functionsReached:
        - aes128_encrypt_cbc
        - calloc
        - des_decrypt_cbc
        - des_encrypt_cbc
        - memcmp
        - sc_asn1_find_tag
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1368,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:1377,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1383,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:1395,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1398,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:1408,22'
          Dst:             calloc
        - Src:             'card-epass2003.c:1424,7'
          Dst:             aes128_encrypt_cbc
        - Src:             'card-epass2003.c:1429,7'
          Dst:             des_encrypt_cbc
        - Src:             'card-epass2003.c:1432,7'
          Dst:             des_decrypt_cbc
        - Src:             'card-epass2003.c:1435,7'
          Dst:             des_encrypt_cbc
        - Src:             'card-epass2003.c:1439,7'
          Dst:             memcmp
    - functionName:    des_encrypt_cbc
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 588
      functionLinenumberEnd: 596
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - openssl_enc
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:589,20'
          Dst:             sc_evp_cipher
        - Src:             'card-epass2003.c:592,6'
          Dst:             openssl_enc
        - Src:             'card-epass2003.c:593,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:595,3'
          Dst:             sc_do_log_openssl
    - functionName:    des_decrypt_cbc
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 603
      functionLinenumberEnd: 611
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - openssl_dec
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:604,20'
          Dst:             sc_evp_cipher
        - Src:             'card-epass2003.c:607,6'
          Dst:             openssl_dec
        - Src:             'card-epass2003.c:608,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:610,3'
          Dst:             sc_do_log_openssl
    - functionName:    epass2003_sm_unwrap_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1509
      functionLinenumberEnd: 1546
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          206
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - decrypt_response
        - epass2003_check_response_mac_and_sw
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1519,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1523,7'
          Dst:             epass2003_check_response_mac_and_sw
        - Src:             'card-epass2003.c:1524,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1528,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:1532,13'
          Dst:             decrypt_response
        - Src:             'card-epass2003.c:1544,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1545,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1545,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1545,2'
          Dst:             sc_do_log
    - functionName:    aes128_encrypt_cmac_ft
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 344
      functionLinenumberEnd: 410
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          251
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - BN_bin2bn
        - BN_bn2bin
        - BN_free
        - BN_lshift1
        - BN_new
        - openssl_enc
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:359,20'
          Dst:             sc_evp_cipher
        - Src:             'card-epass2003.c:360,6'
          Dst:             openssl_enc
        - Src:             'card-epass2003.c:362,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-epass2003.c:363,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:368,9'
          Dst:             BN_new
        - Src:             'card-epass2003.c:369,10'
          Dst:             BN_new
        - Src:             'card-epass2003.c:370,2'
          Dst:             BN_bin2bn
        - Src:             'card-epass2003.c:371,2'
          Dst:             BN_lshift1
        - Src:             'card-epass2003.c:372,2'
          Dst:             BN_bn2bin
        - Src:             'card-epass2003.c:377,2'
          Dst:             BN_free
        - Src:             'card-epass2003.c:378,2'
          Dst:             BN_free
        - Src:             'card-epass2003.c:381,9'
          Dst:             BN_new
        - Src:             'card-epass2003.c:382,10'
          Dst:             BN_new
        - Src:             'card-epass2003.c:384,2'
          Dst:             BN_bin2bn
        - Src:             'card-epass2003.c:387,2'
          Dst:             BN_lshift1
        - Src:             'card-epass2003.c:388,2'
          Dst:             BN_bn2bin
        - Src:             'card-epass2003.c:393,2'
          Dst:             BN_free
        - Src:             'card-epass2003.c:394,2'
          Dst:             BN_free
        - Src:             'card-epass2003.c:405,6'
          Dst:             openssl_enc
        - Src:             'card-epass2003.c:406,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-epass2003.c:408,3'
          Dst:             sc_do_log_openssl
    - functionName:    BN_lshift1
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    construct_mac_tlv
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1037
      functionLinenumberEnd: 1113
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          489
      EdgeCount:       75
      CyclomaticComplexity: 18
      functionsReached:
        - aes128_encrypt_cbc
        - aes128_encrypt_cmac
        - des_decrypt_cbc
        - des_encrypt_cbc
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1088,8'
          Dst:             aes128_encrypt_cmac
        - Src:             'card-epass2003.c:1089,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1089,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1095,8'
          Dst:             aes128_encrypt_cbc
        - Src:             'card-epass2003.c:1096,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1096,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1102,7'
          Dst:             des_encrypt_cbc
        - Src:             'card-epass2003.c:1103,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1103,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1104,7'
          Dst:             des_decrypt_cbc
        - Src:             'card-epass2003.c:1105,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1105,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1107,7'
          Dst:             des_encrypt_cbc
        - Src:             'card-epass2003.c:1108,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1108,3'
          Dst:             sc_do_log_color
    - functionName:    construct_mac_tlv_case1
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1119
      functionLinenumberEnd: 1190
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          468
      EdgeCount:       83
      CyclomaticComplexity: 20
      functionsReached:
        - aes128_encrypt_cbc
        - aes128_encrypt_cmac_ft
        - des_decrypt_cbc
        - des_encrypt_cbc
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1164,8'
          Dst:             aes128_encrypt_cmac_ft
        - Src:             'card-epass2003.c:1165,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1165,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1169,5'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1169,5'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1170,8'
          Dst:             aes128_encrypt_cbc
        - Src:             'card-epass2003.c:1171,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1171,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1178,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1178,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1179,7'
          Dst:             des_encrypt_cbc
        - Src:             'card-epass2003.c:1180,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1180,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1181,7'
          Dst:             des_decrypt_cbc
        - Src:             'card-epass2003.c:1182,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1182,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1184,7'
          Dst:             des_encrypt_cbc
        - Src:             'card-epass2003.c:1185,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1185,3'
          Dst:             sc_do_log_color
    - functionName:    construct_le_tlv
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1012
      functionLinenumberEnd: 1029
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          112
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    construct_data_tlv
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 950
      functionLinenumberEnd: 1005
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          310
      EdgeCount:       38
      CyclomaticComplexity: 10
      functionsReached:
        - aes128_encrypt_cbc
        - des3_encrypt_cbc
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:966,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:966,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:995,7'
          Dst:             aes128_encrypt_cbc
        - Src:             'card-epass2003.c:996,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:996,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:998,7'
          Dst:             des3_encrypt_cbc
        - Src:             'card-epass2003.c:999,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:999,3'
          Dst:             sc_do_log_color
    - functionName:    encode_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1202
      functionLinenumberEnd: 1294
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          540
      EdgeCount:       77
      CyclomaticComplexity: 23
      functionsReached:
        - construct_data_tlv
        - construct_le_tlv
        - construct_mac_tlv
        - construct_mac_tlv_case1
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1239,12'
          Dst:             construct_data_tlv
        - Src:             'card-epass2003.c:1243,12'
          Dst:             construct_le_tlv
        - Src:             'card-epass2003.c:1248,12'
          Dst:             construct_mac_tlv_case1
        - Src:             'card-epass2003.c:1251,12'
          Dst:             construct_mac_tlv
    - functionName:    epass2003_sm_wrap_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1299
      functionLinenumberEnd: 1342
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          195
      EdgeCount:       21
      CyclomaticComplexity: 4
      functionsReached:
        - encode_apdu
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-epass2003.c:1324,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-epass2003.c:1309,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1334,12'
          Dst:             encode_apdu
    - functionName:    epass2003_sm_free_wrapped_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1552
      functionLinenumberEnd: 1578
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          204
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - epass2003_sm_unwrap_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1556,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1558,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1558,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1558,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1560,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1560,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1560,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1564,8'
          Dst:             epass2003_sm_unwrap_apdu
        - Src:             'card-epass2003.c:1577,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1577,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1577,2'
          Dst:             sc_do_log
    - functionName:    epass2003_sm_get_wrapped_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1584
      functionLinenumberEnd: 1630
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          214
      EdgeCount:       46
      CyclomaticComplexity: 12
      functionsReached:
        - calloc
        - epass2003_sm_free_wrapped_apdu
        - epass2003_sm_wrap_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1589,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1591,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1591,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1591,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1595,9'
          Dst:             calloc
        - Src:             'card-epass2003.c:1600,15'
          Dst:             calloc
        - Src:             'card-epass2003.c:1605,15'
          Dst:             calloc
        - Src:             'card-epass2003.c:1613,7'
          Dst:             epass2003_sm_wrap_apdu
        - Src:             'card-epass2003.c:1615,8'
          Dst:             epass2003_sm_free_wrapped_apdu
        - Src:             'card-epass2003.c:1629,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1629,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1629,2'
          Dst:             sc_do_log
    - functionName:    epass2003_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3273
      functionLinenumberEnd: 3286
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          51
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - epass2003_refresh
        - sc_sm_stop
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3281,3'
          Dst:             sc_sm_stop
        - Src:             'card-epass2003.c:3282,10'
          Dst:             epass2003_refresh
    - functionName:    epass2003_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3123
      functionLinenumberEnd: 3141
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          119
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3128,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:3131,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3131,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3140,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3140,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3140,2'
          Dst:             sc_do_log
    - functionName:    epass2003_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 245
      functionLinenumberEnd: 264
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          92
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:251,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:257,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:262,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3211
      functionLinenumberEnd: 3269
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         66
      ICount:          444
      EdgeCount:       83
      CyclomaticComplexity: 19
      functionsReached:
        - external_key_auth
        - get_external_key_maxtries
        - get_external_key_retries
        - internal_sanitize_pin_info
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - update_secret_key
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3218,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:3220,2'
          Dst:             internal_sanitize_pin_info
        - Src:             'card-epass2003.c:3221,2'
          Dst:             internal_sanitize_pin_info
        - Src:             'card-epass2003.c:3226,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3226,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3226,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:3231,7'
          Dst:             get_external_key_retries
        - Src:             'card-epass2003.c:3235,8'
          Dst:             get_external_key_maxtries
        - Src:             'card-epass2003.c:3236,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3236,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3240,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3240,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3242,7'
          Dst:             external_key_auth
        - Src:             'card-epass2003.c:3244,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3244,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3246,7'
          Dst:             external_key_auth
        - Src:             'card-epass2003.c:3248,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3248,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3250,7'
          Dst:             update_secret_key
        - Src:             'card-epass2003.c:3252,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3252,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3254,7'
          Dst:             external_key_auth
        - Src:             'card-epass2003.c:3256,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3256,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:3258,7'
          Dst:             get_external_key_retries
        - Src:             'card-epass2003.c:3260,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:3262,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:3262,3'
          Dst:             sc_do_log_color
    - functionName:    epass2003_construct_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2422
      functionLinenumberEnd: 2589
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         130
      ICount:          912
      EdgeCount:       173
      CyclomaticComplexity: 45
      functionsReached:
        - acl_to_ac_byte
        - sc_asn1_put_tag
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2438,4'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2444,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2450,4'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2457,4'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2475,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2479,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2484,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2487,4'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2495,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2498,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2506,4'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2514,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2517,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2562,12'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-epass2003.c:2564,9'
          Dst:             acl_to_ac_byte
        - Src:             'card-epass2003.c:2565,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2565,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2569,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-epass2003.c:2579,3'
          Dst:             sc_asn1_put_tag
    - functionName:    epass2003_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2297
      functionLinenumberEnd: 2415
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         109
      ICount:          635
      EdgeCount:       142
      CyclomaticComplexity: 35
      functionsReached:
        - _sc_debug_hex
        - sc_asn1_find_tag
        - sc_do_log
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
        - sec_attr_to_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-epass2003.c:2339,5'
          Branch Sides:    []
        - Branch String:   'card-epass2003.c:2359,5'
          Branch Sides:    []
      Callsites:
        - Src:             'card-epass2003.c:2302,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2303,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:2306,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2309,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:2314,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2318,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:2322,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2327,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:2371,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2375,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:2380,3'
          Dst:             _sc_debug_hex
        - Src:             'card-epass2003.c:2385,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:2387,3'
          Dst:             sc_file_set_prop_attr
        - Src:             'card-epass2003.c:2391,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:2393,3'
          Dst:             sc_file_set_prop_attr
        - Src:             'card-epass2003.c:2395,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-epass2003.c:2398,3'
          Dst:             sc_file_set_sec_attr
        - Src:             'card-epass2003.c:2401,5'
          Dst:             sec_attr_to_entry
        - Src:             'card-epass2003.c:2404,8'
          Dst:             sc_asn1_find_tag
    - functionName:    sec_attr_to_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2253
      functionLinenumberEnd: 2292
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          157
      EdgeCount:       27
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_file_add_acl_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-epass2003.c:2262,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-epass2003.c:2260,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2272,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2284,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-epass2003.c:2289,3'
          Dst:             sc_do_log
    - functionName:    epass2003_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3038
      functionLinenumberEnd: 3054
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          69
      EdgeCount:       21
      CyclomaticComplexity: 12
      functionsReached:
        - epass2003_erase_card
        - epass2003_gen_key
        - epass2003_get_serialnr
        - epass2003_write_key
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-epass2003.c:3042,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-epass2003.c:3039,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:3041,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:3044,10'
          Dst:             epass2003_write_key
        - Src:             'card-epass2003.c:3046,10'
          Dst:             epass2003_gen_key
        - Src:             'card-epass2003.c:3048,10'
          Dst:             epass2003_erase_card
        - Src:             'card-epass2003.c:3050,10'
          Dst:             epass2003_get_serialnr
    - functionName:    epass2003_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2656
      functionLinenumberEnd: 2681
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          222
      EdgeCount:       41
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2661,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2662,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2668,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2669,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2669,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2671,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2672,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2672,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2675,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2675,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2675,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2680,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2680,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2680,2'
          Dst:             sc_do_log
    - functionName:    epass2003_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2627
      functionLinenumberEnd: 2652
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          196
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - epass2003_hook_path
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_select_file
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2632,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2634,6'
          Dst:             sc_select_file
        - Src:             'card-epass2003.c:2635,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2635,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2636,6'
          Dst:             epass2003_hook_path
        - Src:             'card-epass2003.c:2637,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2637,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2641,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2646,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2647,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2647,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2648,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2649,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2649,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2651,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2651,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2651,2'
          Dst:             sc_do_log
    - functionName:    epass2003_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2594
      functionLinenumberEnd: 2622
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          172
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - epass2003_construct_fci
        - epass2003_hook_file
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2602,2'
          Dst:             epass2003_hook_file
        - Src:             'card-epass2003.c:2605,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2605,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2605,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2607,6'
          Dst:             epass2003_construct_fci
        - Src:             'card-epass2003.c:2608,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2608,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2610,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2615,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2616,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2616,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2617,6'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2618,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2618,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2620,2'
          Dst:             epass2003_hook_file
    - functionName:    epass2003_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2140
      functionLinenumberEnd: 2229
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         90
      ICount:          636
      EdgeCount:       114
      CyclomaticComplexity: 26
      functionsReached:
        - hash_data
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu_t
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2147,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2156,8'
          Dst:             hash_data
        - Src:             'card-epass2003.c:2157,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2157,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2158,4'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2163,8'
          Dst:             hash_data
        - Src:             'card-epass2003.c:2164,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2164,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2165,4'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2170,4'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2181,7'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2182,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2182,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2186,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2186,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2186,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2188,3'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2188,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2188,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2188,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2190,3'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2196,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2196,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2196,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2204,3'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2210,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2210,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2210,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2219,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2220,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2220,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2225,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2225,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2225,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2228,2'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2228,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2228,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2228,2'
          Dst:             sc_do_log
    - functionName:    epass2003_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2042
      functionLinenumberEnd: 2127
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          361
      EdgeCount:       55
      CyclomaticComplexity: 15
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_lock
        - sc_strerror
        - sc_transmit_apdu_t
        - sc_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2055,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2090,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2092,3'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2096,7'
          Dst:             sc_lock
        - Src:             'card-epass2003.c:2097,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2097,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2101,7'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2103,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2103,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2107,7'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2109,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2109,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2116,2'
          Dst:             sc_format_apdu
        - Src:             'card-epass2003.c:2117,6'
          Dst:             sc_transmit_apdu_t
        - Src:             'card-epass2003.c:2118,2'
          Dst:             sc_unlock
        - Src:             'card-epass2003.c:2120,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2120,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2121,9'
          Dst:             sc_check_sw
        - Src:             'card-epass2003.c:2125,3'
          Dst:             sc_unlock
    - functionName:    epass2003_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2132
      functionLinenumberEnd: 2134
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          58
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:2133,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2134,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2134,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2134,2'
          Dst:             sc_do_log
    - functionName:    epass2003_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2023
      functionLinenumberEnd: 2038
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          154
      EdgeCount:       25
      CyclomaticComplexity: 4
      functionsReached:
        - epass2003_select_aid
        - epass2003_select_fid
        - epass2003_select_path
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-epass2003.c:2026,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-epass2003.c:2024,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2029,4'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2029,4'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2029,4'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:2030,10'
          Dst:             epass2003_select_fid
        - Src:             'card-epass2003.c:2032,10'
          Dst:             epass2003_select_aid
        - Src:             'card-epass2003.c:2034,10'
          Dst:             epass2003_select_path
        - Src:             'card-epass2003.c:2036,3'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:2036,3'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:2036,3'
          Dst:             sc_do_log
    - functionName:    epass2003_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1777
      functionLinenumberEnd: 1782
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          31
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    epass2003_init
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1701
      functionLinenumberEnd: 1773
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         29
      ICount:          242
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - _sc_card_add_ec_alg
        - _sc_card_add_rsa_alg
        - calloc
        - epass2003_refresh
        - get_data
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1709,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1713,31'
          Dst:             calloc
        - Src:             'card-epass2003.c:1722,20'
          Dst:             get_data
        - Src:             'card-epass2003.c:1728,6'
          Dst:             memcmp
        - Src:             'card-epass2003.c:1728,51'
          Dst:             memcmp
        - Src:             'card-epass2003.c:1754,2'
          Dst:             epass2003_refresh
        - Src:             'card-epass2003.c:1760,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-epass2003.c:1761,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-epass2003.c:1762,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-epass2003.c:1763,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-epass2003.c:1768,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-epass2003.c:1772,2'
          Dst:             sc_strerror
        - Src:             'card-epass2003.c:1772,2'
          Dst:             sc_do_log_color
        - Src:             'card-epass2003.c:1772,2'
          Dst:             sc_do_log
    - functionName:    epass2003_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1687
      functionLinenumberEnd: 1696
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          41
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:1690,2'
          Dst:             sc_do_log
        - Src:             'card-epass2003.c:1691,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3289
      functionLinenumberEnd: 3318
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          52
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3290,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_epass2003_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3322
      functionLinenumberEnd: 3323
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-epass2003.c:3323,9'
          Dst:             sc_get_driver
    - functionName:    coolkey_cuid_to_string
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1272
      functionLinenumberEnd: 1281
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_bin_to_hex
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1279,2'
          Dst:             sc_bin_to_hex
    - functionName:    coolkey_get_manufacturer
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1297
      functionLinenumberEnd: 1322
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          106
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - bebytes2ushort
        - snprintf
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1298,30'
          Dst:             bebytes2ushort
        - Src:             'card-coolkey.c:1311,8'
          Dst:             strlen
        - Src:             'card-coolkey.c:1316,6'
          Dst:             snprintf
    - functionName:    coolkey_final_iterator
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1266
      functionLinenumberEnd: 1268
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_iterator_stop
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1267,2'
          Dst:             list_iterator_stop
    - functionName:    coolkey_fetch_object
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1253
      functionLinenumberEnd: 1262
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_iterator_hasnext
        - list_iterator_next
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1255,7'
          Dst:             list_iterator_hasnext
        - Src:             'card-coolkey.c:1259,8'
          Dst:             list_iterator_next
    - functionName:    coolkey_get_init_and_get_count
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1245
      functionLinenumberEnd: 1248
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_iterator_start
        - list_size
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1246,12'
          Dst:             list_size
        - Src:             'card-coolkey.c:1247,2'
          Dst:             list_iterator_start
    - functionName:    coolkey_find_object
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1552
      functionLinenumberEnd: 1578
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          100
      EdgeCount:       17
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_fill_object
        - coolkey_find_object_by_id
        - coolkey_find_object_by_template
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-coolkey.c:1557,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-coolkey.c:1559,9'
          Dst:             coolkey_find_object_by_id
        - Src:             'card-coolkey.c:1562,9'
          Dst:             coolkey_find_object_by_template
        - Src:             'card-coolkey.c:1571,7'
          Dst:             coolkey_fill_object
    - functionName:    coolkey_find_object_by_id
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 825
      functionLinenumberEnd: 837
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_get_at
        - list_locate
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:833,13'
          Dst:             list_locate
        - Src:             'card-coolkey.c:836,9'
          Dst:             list_get_at
    - functionName:    coolkey_find_object_by_template
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1496
      functionLinenumberEnd: 1547
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          219
      EdgeCount:       45
      CyclomaticComplexity: 13
      functionsReached:
        - coolkey_find_attribute
        - list_iterator_hasnext
        - list_iterator_next
        - list_iterator_start
        - list_iterator_stop
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1507,3'
          Dst:             list_iterator_stop
        - Src:             'card-coolkey.c:1510,2'
          Dst:             list_iterator_start
        - Src:             'card-coolkey.c:1511,9'
          Dst:             list_iterator_hasnext
        - Src:             'card-coolkey.c:1513,13'
          Dst:             list_iterator_next
        - Src:             'card-coolkey.c:1518,8'
          Dst:             coolkey_find_attribute
        - Src:             'card-coolkey.c:1528,8'
          Dst:             memcmp
        - Src:             'card-coolkey.c:1540,2'
          Dst:             list_iterator_stop
        - Src:             'card-coolkey.c:1543,3'
          Dst:             list_iterator_start
        - Src:             'card-coolkey.c:1544,10'
          Dst:             list_iterator_hasnext
        - Src:             'card-coolkey.c:1545,11'
          Dst:             list_iterator_next
    - functionName:    coolkey_fill_object
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1364
      functionLinenumberEnd: 1407
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          250
      EdgeCount:       46
      CyclomaticComplexity: 12
      functionsReached:
        - coolkey_find_object_by_id
        - coolkey_read_object
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1371,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1380,6'
          Dst:             coolkey_read_object
        - Src:             'card-coolkey.c:1385,4'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1385,4'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1385,4'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1387,3'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1387,3'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1387,3'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1389,14'
          Dst:             coolkey_find_object_by_id
        - Src:             'card-coolkey.c:1406,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1406,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1406,2'
          Dst:             sc_do_log
    - functionName:    coolkey_read_object
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1096
      functionLinenumberEnd: 1132
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          166
      EdgeCount:       31
      CyclomaticComplexity: 8
      functionsReached:
        - coolkey_apdu_io
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - ulong2bebytes
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1103,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1105,2'
          Dst:             ulong2bebytes
        - Src:             'card-coolkey.c:1110,3'
          Dst:             ulong2bebytes
        - Src:             'card-coolkey.c:1113,7'
          Dst:             coolkey_apdu_io
        - Src:             'card-coolkey.c:1131,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1131,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1131,2'
          Dst:             sc_do_log
    - functionName:    coolkey_apdu_io
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 912
      functionLinenumberEnd: 1020
      functionDepth:   0
      returnType:      int
      argCount:        11
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          410
      EdgeCount:       81
      CyclomaticComplexity: 22
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:922,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:924,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:967,2'
          Dst:             sc_format_apdu
        - Src:             'card-coolkey.c:987,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:991,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-coolkey.c:993,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:997,3'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1000,6'
          Dst:             sc_check_sw
        - Src:             'card-coolkey.c:1002,3'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1020,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1020,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1020,2'
          Dst:             sc_do_log
    - functionName:    coolkey_find_attribute
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1416
      functionLinenumberEnd: 1488
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         39
      ICount:          284
      EdgeCount:       52
      CyclomaticComplexity: 15
      functionsReached:
        - bebytes2ulong
        - coolkey_attribute_start
        - coolkey_fill_object
        - coolkey_get_attribute_count
        - coolkey_get_attribute_data
        - coolkey_get_attribute_data_fixed
        - coolkey_get_attribute_record_len
        - coolkey_get_attribute_type
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1428,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1432,11'
          Dst:             coolkey_fill_object
        - Src:             'card-coolkey.c:1458,9'
          Dst:             coolkey_attribute_start
        - Src:             'card-coolkey.c:1465,20'
          Dst:             coolkey_get_attribute_count
        - Src:             'card-coolkey.c:1467,23'
          Dst:             coolkey_get_attribute_record_len
        - Src:             'card-coolkey.c:1473,20'
          Dst:             coolkey_get_attribute_type
        - Src:             'card-coolkey.c:1475,11'
          Dst:             coolkey_get_attribute_data
        - Src:             'card-coolkey.c:1483,36'
          Dst:             bebytes2ulong
        - Src:             'card-coolkey.c:1485,10'
          Dst:             coolkey_get_attribute_data_fixed
        - Src:             'card-coolkey.c:1487,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1487,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1487,2'
          Dst:             sc_do_log
    - functionName:    coolkey_attribute_start
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 421
      functionLinenumberEnd: 432
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          61
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    coolkey_get_attribute_count
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 502
      functionLinenumberEnd: 510
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          50
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_v0_get_attribute_count
        - coolkey_v1_get_attribute_count
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:504,10'
          Dst:             coolkey_v0_get_attribute_count
        - Src:             'card-coolkey.c:509,9'
          Dst:             coolkey_v1_get_attribute_count
    - functionName:    coolkey_get_attribute_record_len
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 394
      functionLinenumberEnd: 402
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          51
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_v0_get_attribute_record_len
        - coolkey_v1_get_attribute_record_len
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:396,10'
          Dst:             coolkey_v0_get_attribute_record_len
        - Src:             'card-coolkey.c:401,9'
          Dst:             coolkey_v1_get_attribute_record_len
    - functionName:    coolkey_get_attribute_type
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 410
      functionLinenumberEnd: 413
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bebytes2ulong
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:413,9'
          Dst:             bebytes2ulong
    - functionName:    coolkey_get_attribute_data
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 602
      functionLinenumberEnd: 615
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          54
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_v0_get_attribute_data
        - coolkey_v1_get_attribute_data
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:605,10'
          Dst:             coolkey_v0_get_attribute_data
        - Src:             'card-coolkey.c:613,9'
          Dst:             coolkey_v1_get_attribute_data
    - functionName:    coolkey_get_attribute_data_fixed
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 674
      functionLinenumberEnd: 700
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          106
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - coolkey_get_fixed_boolean_bit
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:692,8'
          Dst:             coolkey_get_fixed_boolean_bit
    - functionName:    coolkey_get_fixed_boolean_bit
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 620
      functionLinenumberEnd: 642
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          102
      EdgeCount:       40
      CyclomaticComplexity: 21
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-coolkey.c:621,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    coolkey_v0_get_attribute_data
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 517
      functionLinenumberEnd: 545
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          115
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - coolkey_get_attribute_type
        - coolkey_v0_get_attribute_len
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:519,32'
          Dst:             coolkey_get_attribute_type
        - Src:             'card-coolkey.c:527,6'
          Dst:             coolkey_v0_get_attribute_len
    - functionName:    coolkey_v1_get_attribute_data
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 552
      functionLinenumberEnd: 598
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          134
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - coolkey_v1_get_attribute_len
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-coolkey.c:562,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-coolkey.c:584,7'
          Dst:             coolkey_v1_get_attribute_len
    - functionName:    coolkey_v1_get_attribute_len
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 313
      functionLinenumberEnd: 345
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          105
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached:
        - bebytes2ushort
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-coolkey.c:321,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-coolkey.c:326,10'
          Dst:             bebytes2ushort
    - functionName:    coolkey_v0_get_attribute_len
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 350
      functionLinenumberEnd: 358
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bebytes2ushort
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:356,9'
          Dst:             bebytes2ushort
    - functionName:    coolkey_v0_get_attribute_record_len
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 380
      functionLinenumberEnd: 390
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          57
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_v0_get_attribute_len
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:385,6'
          Dst:             coolkey_v0_get_attribute_len
    - functionName:    coolkey_v1_get_attribute_record_len
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 364
      functionLinenumberEnd: 375
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          58
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_v1_get_attribute_len
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:369,6'
          Dst:             coolkey_v1_get_attribute_len
    - functionName:    coolkey_v0_get_attribute_count
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 440
      functionLinenumberEnd: 487
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          131
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - bebytes2ushort
        - coolkey_attribute_start
        - coolkey_v0_get_attribute_record_len
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:453,9'
          Dst:             coolkey_attribute_start
        - Src:             'card-coolkey.c:459,23'
          Dst:             bebytes2ushort
        - Src:             'card-coolkey.c:465,16'
          Dst:             coolkey_v0_get_attribute_record_len
    - functionName:    coolkey_v1_get_attribute_count
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 491
      functionLinenumberEnd: 498
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - bebytes2ushort
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:497,9'
          Dst:             bebytes2ushort
    - functionName:    coolkey_get_token_info
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1326
      functionLinenumberEnd: 1350
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          105
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - coolkey_cuid_to_string
        - coolkey_get_manufacturer
        - sc_do_log
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1332,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1333,10'
          Dst:             strdup
        - Src:             'card-coolkey.c:1334,20'
          Dst:             coolkey_get_manufacturer
        - Src:             'card-coolkey.c:1335,18'
          Dst:             coolkey_cuid_to_string
    - functionName:    coolkey_get_serial_nr_from_CUID
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1353
      functionLinenumberEnd: 1359
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          72
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1356,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1359,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1359,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1359,2'
          Dst:             sc_do_log
    - functionName:    coolkey_write_object
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1139
      functionLinenumberEnd: 1170
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          144
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - coolkey_apdu_io
        - ulong2bebytes
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1149,2'
          Dst:             ulong2bebytes
        - Src:             'card-coolkey.c:1152,3'
          Dst:             ulong2bebytes
        - Src:             'card-coolkey.c:1156,7'
          Dst:             coolkey_apdu_io
    - functionName:    coolkey_ecc_op
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1788
      functionLinenumberEnd: 1845
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          143
      EdgeCount:       19
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_apdu_io
        - sc_do_log
        - ushort2bebytes
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-coolkey.c:1820,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-coolkey.c:1799,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1800,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1834,2'
          Dst:             ushort2bebytes
        - Src:             'card-coolkey.c:1840,6'
          Dst:             coolkey_apdu_io
    - functionName:    coolkey_rsa_op
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1674
      functionLinenumberEnd: 1782
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          285
      EdgeCount:       46
      CyclomaticComplexity: 14
      functionsReached:
        - bebytes2ushort
        - coolkey_apdu_io
        - coolkey_read_object
        - coolkey_write_object
        - sc_do_log
        - ushort2bebytes
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1686,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1687,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1713,3'
          Dst:             ushort2bebytes
        - Src:             'card-coolkey.c:1715,7'
          Dst:             coolkey_write_object
        - Src:             'card-coolkey.c:1721,7'
          Dst:             coolkey_write_object
        - Src:             'card-coolkey.c:1725,3'
          Dst:             ushort2bebytes
        - Src:             'card-coolkey.c:1737,3'
          Dst:             ushort2bebytes
        - Src:             'card-coolkey.c:1741,6'
          Dst:             coolkey_apdu_io
        - Src:             'card-coolkey.c:1753,7'
          Dst:             coolkey_read_object
        - Src:             'card-coolkey.c:1759,16'
          Dst:             bebytes2ushort
        - Src:             'card-coolkey.c:1762,7'
          Dst:             coolkey_read_object
        - Src:             'card-coolkey.c:1771,16'
          Dst:             bebytes2ushort
    - functionName:    coolkey_get_key_id
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1877
      functionLinenumberEnd: 1889
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          103
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    coolkey_class
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1873
      functionLinenumberEnd: 1874
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    coolkey_add_object_to_list
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 816
      functionLinenumberEnd: 820
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_append
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:817,6'
          Dst:             list_append
    - functionName:    coolkey_v1_get_object_length
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 706
      functionLinenumberEnd: 728
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          90
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - bebytes2ushort
        - coolkey_v1_get_attribute_record_len
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:717,20'
          Dst:             bebytes2ushort
        - Src:             'card-coolkey.c:721,26'
          Dst:             coolkey_v1_get_attribute_record_len
    - functionName:    coolkey_free_private_data
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 793
      functionLinenumberEnd: 809
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          53
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_destroy
        - list_iterator_hasnext
        - list_iterator_next
        - list_iterator_start
        - list_iterator_stop
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:798,2'
          Dst:             list_iterator_start
        - Src:             'card-coolkey.c:799,9'
          Dst:             list_iterator_hasnext
        - Src:             'card-coolkey.c:800,38'
          Dst:             list_iterator_next
        - Src:             'card-coolkey.c:804,2'
          Dst:             list_iterator_stop
        - Src:             'card-coolkey.c:806,2'
          Dst:             list_destroy
    - functionName:    coolkey_make_cuid_from_cplc
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1078
      functionLinenumberEnd: 1089
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          88
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    coolkey_add_object
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1959
      functionLinenumberEnd: 1995
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          129
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - coolkey_add_object_to_list
        - coolkey_find_object_by_id
        - ulong2bebytes
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1966,2'
          Dst:             ulong2bebytes
        - Src:             'card-coolkey.c:1971,6'
          Dst:             coolkey_find_object_by_id
        - Src:             'card-coolkey.c:1987,6'
          Dst:             coolkey_add_object_to_list
    - functionName:    coolkey_process_combined_object
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2000
      functionLinenumberEnd: 2131
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          352
      EdgeCount:       54
      CyclomaticComplexity: 17
      functionsReached:
        - bebytes2ulong
        - bebytes2ushort
        - coolkey_add_object
        - coolkey_v1_get_object_length
        - sc_decompress_alloc
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:2016,22'
          Dst:             bebytes2ushort
        - Src:             'card-coolkey.c:2017,22'
          Dst:             bebytes2ushort
        - Src:             'card-coolkey.c:2018,22'
          Dst:             bebytes2ushort
        - Src:             'card-coolkey.c:2029,7'
          Dst:             sc_decompress_alloc
        - Src:             'card-coolkey.c:2048,18'
          Dst:             bebytes2ushort
        - Src:             'card-coolkey.c:2049,17'
          Dst:             bebytes2ushort
        - Src:             'card-coolkey.c:2102,15'
          Dst:             bebytes2ulong
        - Src:             'card-coolkey.c:2105,7'
          Dst:             coolkey_v1_get_object_length
        - Src:             'card-coolkey.c:2117,3'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:2118,7'
          Dst:             coolkey_add_object
    - functionName:    coolkey_list_object
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2135
      functionLinenumberEnd: 2139
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - coolkey_apdu_io
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:2139,9'
          Dst:             coolkey_apdu_io
    - functionName:    coolkey_get_life_cycle
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1028
      functionLinenumberEnd: 1066
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          108
      EdgeCount:       19
      CyclomaticComplexity: 7
      functionsReached:
        - coolkey_apdu_io
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1036,8'
          Dst:             coolkey_apdu_io
        - Src:             'card-coolkey.c:1044,8'
          Dst:             coolkey_apdu_io
        - Src:             'card-coolkey.c:1054,8'
          Dst:             coolkey_apdu_io
    - functionName:    coolkey_new_private_data
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 772
      functionLinenumberEnd: 790
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         13
      ICount:          67
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - coolkey_compare_id
        - coolkey_free_private_data
        - coolkey_list_meter
        - list_attributes_comparator
        - list_attributes_copy
        - list_init
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:776,9'
          Dst:             calloc
        - Src:             'card-coolkey.c:782,6'
          Dst:             list_init
        - Src:             'card-coolkey.c:783,6'
          Dst:             list_attributes_comparator
        - Src:             'card-coolkey.c:783,6'
          Dst:             coolkey_compare_id
        - Src:             'card-coolkey.c:784,6'
          Dst:             list_attributes_copy
        - Src:             'card-coolkey.c:784,6'
          Dst:             coolkey_list_meter
        - Src:             'card-coolkey.c:785,3'
          Dst:             coolkey_free_private_data
    - functionName:    coolkey_compare_id
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 757
      functionLinenumberEnd: 762
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          40
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    coolkey_list_meter
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 765
      functionLinenumberEnd: 766
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    coolkey_initialize
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2148
      functionLinenumberEnd: 2274
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         59
      ICount:          382
      EdgeCount:       80
      CyclomaticComplexity: 23
      functionsReached:
        - bebytes2ulong
        - coolkey_add_object
        - coolkey_free_private_data
        - coolkey_get_life_cycle
        - coolkey_list_object
        - coolkey_make_cuid_from_cplc
        - coolkey_new_private_data
        - coolkey_process_combined_object
        - coolkey_read_object
        - coolkey_select_applet
        - gp_get_cplc_data
        - gp_select_card_manager
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:2159,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:2161,9'
          Dst:             coolkey_new_private_data
        - Src:             'card-coolkey.c:2166,6'
          Dst:             coolkey_get_life_cycle
        - Src:             'card-coolkey.c:2172,6'
          Dst:             coolkey_select_applet
        - Src:             'card-coolkey.c:2183,6'
          Dst:             coolkey_list_object
        - Src:             'card-coolkey.c:2194,15'
          Dst:             bebytes2ulong
        - Src:             'card-coolkey.c:2195,16'
          Dst:             bebytes2ulong
        - Src:             'card-coolkey.c:2214,8'
          Dst:             coolkey_read_object
        - Src:             'card-coolkey.c:2220,8'
          Dst:             coolkey_process_combined_object
        - Src:             'card-coolkey.c:2227,4'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:2228,8'
          Dst:             coolkey_add_object
        - Src:             'card-coolkey.c:2230,5'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:2234,7'
          Dst:             coolkey_list_object
        - Src:             'card-coolkey.c:2249,7'
          Dst:             gp_select_card_manager
        - Src:             'card-coolkey.c:2254,7'
          Dst:             gp_get_cplc_data
        - Src:             'card-coolkey.c:2258,3'
          Dst:             coolkey_make_cuid_from_cplc
        - Src:             'card-coolkey.c:2259,28'
          Dst:             strdup
        - Src:             'card-coolkey.c:2267,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:2267,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:2267,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:2271,3'
          Dst:             coolkey_free_private_data
        - Src:             'card-coolkey.c:2273,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:2273,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:2273,2'
          Dst:             sc_do_log
    - functionName:    coolkey_select_applet
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1070
      functionLinenumberEnd: 1073
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - coolkey_apdu_io
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1072,9'
          Dst:             coolkey_apdu_io
    - functionName:    coolkey_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2418
      functionLinenumberEnd: 2427
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_select_applet
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:2421,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:2424,7'
          Dst:             coolkey_select_applet
        - Src:             'card-coolkey.c:2427,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:2427,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:2427,2'
          Dst:             sc_do_log
    - functionName:    coolkey_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2402
      functionLinenumberEnd: 2413
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - coolkey_apdu_io
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:2407,9'
          Dst:             coolkey_apdu_io
    - functionName:    coolkey_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2349
      functionLinenumberEnd: 2396
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          108
      EdgeCount:       17
      CyclomaticComplexity: 3
      functionsReached:
        - coolkey_apdu_io
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-coolkey.c:2360,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-coolkey.c:2387,7'
          Dst:             coolkey_apdu_io
    - functionName:    coolkey_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 876
      functionLinenumberEnd: 896
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          94
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:877,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:895,16'
          Dst:             sc_get_iso7816_driver
    - functionName:    coolkey_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1581
      functionLinenumberEnd: 1608
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          175
      EdgeCount:       28
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_fetch_object
        - coolkey_final_iterator
        - coolkey_find_attribute
        - coolkey_find_object
        - coolkey_get_init_and_get_count
        - coolkey_get_serial_nr_from_CUID
        - coolkey_get_token_info
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-coolkey.c:1590,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-coolkey.c:1584,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1585,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1588,3'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1588,3'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1588,3'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1592,11'
          Dst:             coolkey_get_serial_nr_from_CUID
        - Src:             'card-coolkey.c:1594,11'
          Dst:             coolkey_get_token_info
        - Src:             'card-coolkey.c:1596,11'
          Dst:             coolkey_find_object
        - Src:             'card-coolkey.c:1598,11'
          Dst:             coolkey_get_init_and_get_count
        - Src:             'card-coolkey.c:1600,11'
          Dst:             coolkey_fetch_object
        - Src:             'card-coolkey.c:1602,11'
          Dst:             coolkey_final_iterator
        - Src:             'card-coolkey.c:1604,11'
          Dst:             coolkey_find_attribute
        - Src:             'card-coolkey.c:1607,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1607,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1607,2'
          Dst:             sc_do_log
    - functionName:    coolkey_compute_crypt
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1852
      functionLinenumberEnd: 1869
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          103
      EdgeCount:       14
      CyclomaticComplexity: 2
      functionsReached:
        - coolkey_ecc_op
        - coolkey_rsa_op
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-coolkey.c:1857,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-coolkey.c:1855,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1859,7'
          Dst:             coolkey_rsa_op
        - Src:             'card-coolkey.c:1862,7'
          Dst:             coolkey_ecc_op
        - Src:             'card-coolkey.c:1869,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1869,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1869,2'
          Dst:             sc_do_log
    - functionName:    coolkey_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1647
      functionLinenumberEnd: 1650
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          58
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1648,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1650,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1650,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1650,2'
          Dst:             sc_do_log
    - functionName:    coolkey_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1626
      functionLinenumberEnd: 1642
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          132
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1630,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1632,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1642,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1642,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1642,2'
          Dst:             sc_do_log
    - functionName:    coolkey_write_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1237
      functionLinenumberEnd: 1240
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          64
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1239,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1240,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1240,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1240,2'
          Dst:             sc_do_log
    - functionName:    coolkey_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1180
      functionLinenumberEnd: 1230
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          355
      EdgeCount:       54
      CyclomaticComplexity: 13
      functionsReached:
        - coolkey_read_object
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1186,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1188,3'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1188,3'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1188,3'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1193,3'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1196,3'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1196,3'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1196,3'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1199,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1208,6'
          Dst:             coolkey_read_object
        - Src:             'card-coolkey.c:1229,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1229,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1229,2'
          Dst:             sc_do_log
    - functionName:    coolkey_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1611
      functionLinenumberEnd: 1623
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          98
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - coolkey_apdu_io
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1612,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1617,2'
          Dst:             coolkey_apdu_io
        - Src:             'card-coolkey.c:1617,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1617,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1622,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1622,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1622,2'
          Dst:             sc_do_log
    - functionName:    coolkey_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1900
      functionLinenumberEnd: 1944
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          197
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached:
        - bebytes2ulong
        - coolkey_class
        - coolkey_find_object_by_id
        - coolkey_get_key_id
        - coolkey_select_applet
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1909,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1916,6'
          Dst:             coolkey_select_applet
        - Src:             'card-coolkey.c:1920,14'
          Dst:             bebytes2ulong
        - Src:             'card-coolkey.c:1921,14'
          Dst:             coolkey_find_object_by_id
        - Src:             'card-coolkey.c:1927,6'
          Dst:             coolkey_class
        - Src:             'card-coolkey.c:1928,18'
          Dst:             coolkey_get_key_id
        - Src:             'card-coolkey.c:1931,10'
          Dst:             sc_file_new
        - Src:             'card-coolkey.c:1933,4'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:1933,4'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:1933,4'
          Dst:             sc_do_log
    - functionName:    coolkey_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1947
      functionLinenumberEnd: 1954
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          37
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - coolkey_free_private_data
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:1950,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:1952,3'
          Dst:             coolkey_free_private_data
    - functionName:    coolkey_init
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2308
      functionLinenumberEnd: 2344
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          158
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - _sc_card_add_ec_alg
        - _sc_card_add_rsa_alg
        - coolkey_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:2314,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:2316,6'
          Dst:             coolkey_initialize
        - Src:             'card-coolkey.c:2318,3'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:2318,3'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:2318,3'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:2326,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-coolkey.c:2327,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-coolkey.c:2328,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-coolkey.c:2333,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-coolkey.c:2334,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-coolkey.c:2335,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-coolkey.c:2343,2'
          Dst:             sc_strerror
        - Src:             'card-coolkey.c:2343,2'
          Dst:             sc_do_log_color
        - Src:             'card-coolkey.c:2343,2'
          Dst:             sc_do_log
    - functionName:    coolkey_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2279
      functionLinenumberEnd: 2304
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          81
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - coolkey_select_applet
        - sc_do_log
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:2282,2'
          Dst:             sc_do_log
        - Src:             'card-coolkey.c:2284,6'
          Dst:             coolkey_select_applet
        - Src:             'card-coolkey.c:2292,3'
          Dst:             sc_format_apdu
        - Src:             'card-coolkey.c:2297,7'
          Dst:             sc_transmit_apdu
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2440
      functionLinenumberEnd: 2462
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:2441,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_coolkey_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2467
      functionLinenumberEnd: 2468
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-coolkey.c:2468,9'
          Dst:             sc_get_driver
    - functionName:    piv_check_protected_objects
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6231
      functionLinenumberEnd: 6295
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         35
      ICount:          211
      EdgeCount:       44
      CyclomaticComplexity: 11
      functionsReached:
        - piv_get_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:6240,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6264,8'
          Dst:             piv_get_data
        - Src:             'card-piv.c:6276,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6284,7'
          Dst:             piv_get_data
        - Src:             'card-piv.c:6293,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6295,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6295,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6295,2'
          Dst:             sc_do_log
    - functionName:    piv_get_data
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3091
      functionLinenumberEnd: 3197
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          372
      EdgeCount:       69
      CyclomaticComplexity: 20
      functionsReached:
        - piv_general_io
        - sc_asn1_put_tag
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:3100,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3102,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3104,6'
          Dst:             sc_lock
        - Src:             'card-piv.c:3106,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3113,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3115,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3124,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3157,6'
          Dst:             piv_general_io
        - Src:             'card-piv.c:3163,11'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:3166,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3195,2'
          Dst:             sc_unlock
        - Src:             'card-piv.c:3196,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3196,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3196,2'
          Dst:             sc_do_log
    - functionName:    piv_general_io
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1794
      functionLinenumberEnd: 1851
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          254
      EdgeCount:       48
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_lock
        - sc_strerror
        - sc_transmit_apdu
        - sc_unlock
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:1798,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:1800,6'
          Dst:             sc_lock
        - Src:             'card-piv.c:1802,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:1802,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:1802,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:1804,2'
          Dst:             sc_format_apdu
        - Src:             'card-piv.c:1828,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-piv.c:1832,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:1839,7'
          Dst:             sc_check_sw
        - Src:             'card-piv.c:1842,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:1849,2'
          Dst:             sc_unlock
        - Src:             'card-piv.c:1850,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:1850,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:1850,2'
          Dst:             sc_do_log
    - functionName:    get_keylen
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3698
      functionLinenumberEnd: 3720
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          56
      EdgeCount:       20
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-piv.c:3699,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_evp_cipher
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_cipherbyname
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:136,23'
          Dst:             EVP_get_cipherbyname
    - functionName:    sc_evp_cipher_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    piv_get_key
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3724
      functionLinenumberEnd: 3826
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          355
      EdgeCount:       73
      CyclomaticComplexity: 20
      functionsReached:
        - fclose
        - fopen
        - fread
        - fseek
        - ftell
        - get_keylen
        - getenv
        - sc_do_log
        - sc_do_log_color
        - sc_hex_to_bin
        - sc_right_trim
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:3735,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3737,24'
          Dst:             getenv
        - Src:             'card-piv.c:3740,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3746,6'
          Dst:             get_keylen
        - Src:             'card-piv.c:3748,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3753,6'
          Dst:             fopen
        - Src:             'card-piv.c:3755,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3760,10'
          Dst:             fseek
        - Src:             'card-piv.c:3762,10'
          Dst:             ftell
        - Src:             'card-piv.c:3765,10'
          Dst:             fseek
        - Src:             'card-piv.c:3768,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3774,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3780,17'
          Dst:             fread
        - Src:             'card-piv.c:3781,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3789,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3798,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3799,3'
          Dst:             sc_right_trim
        - Src:             'card-piv.c:3801,7'
          Dst:             sc_hex_to_bin
        - Src:             'card-piv.c:3803,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3816,3'
          Dst:             fclose
        - Src:             'card-piv.c:3824,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3824,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3824,2'
          Dst:             sc_do_log
    - functionName:    get_cipher_for_algo
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3673
      functionLinenumberEnd: 3694
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          63
      EdgeCount:       25
      CyclomaticComplexity: 14
      functionsReached:
        - sc_evp_cipher
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-piv.c:3675,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:3693,9'
          Dst:             sc_evp_cipher
    - functionName:    piv_yk_pin_policy
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4558
      functionLinenumberEnd: 4560
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          60
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - piv_yk_get_metadata
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4560,2'
          Dst:             piv_yk_get_metadata
        - Src:             'card-piv.c:4560,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4560,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4560,2'
          Dst:             sc_do_log
    - functionName:    piv_yk_get_metadata
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4504
      functionLinenumberEnd: 4554
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          291
      EdgeCount:       57
      CyclomaticComplexity: 16
      functionsReached:
        - piv_yk_metadata_get_policy
        - sc_check_sw
        - sc_do_log
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4518,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4534,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-piv.c:4535,21'
          Dst:             sc_transmit_apdu
        - Src:             'card-piv.c:4535,68'
          Dst:             sc_check_sw
        - Src:             'card-piv.c:4535,123'
          Dst:             piv_yk_metadata_get_policy
        - Src:             'card-piv.c:4536,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4540,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4544,3'
          Dst:             sc_do_log
    - functionName:    piv_yk_metadata_get_policy
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4489
      functionLinenumberEnd: 4500
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          64
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4491,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:4497,3'
          Dst:             sc_do_log
    - functionName:    piv_is_object_present
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4461
      functionLinenumberEnd: 4470
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          93
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - piv_find_obj_by_containerid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4466,12'
          Dst:             piv_find_obj_by_containerid
        - Src:             'card-piv.c:4470,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4470,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4470,2'
          Dst:             sc_do_log
    - functionName:    piv_find_obj_by_containerid
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1770
      functionLinenumberEnd: 1782
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          165
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:1773,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:1774,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:1778,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:1778,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:1778,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:1781,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:1781,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:1781,2'
          Dst:             sc_do_log
    - functionName:    piv_get_pin_preference
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4480
      functionLinenumberEnd: 4484
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          62
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4484,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4484,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4484,2'
          Dst:             sc_do_log
    - functionName:    piv_get_serial_nr_from_CHUI
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4369
      functionLinenumberEnd: 4446
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         84
      ICount:          497
      EdgeCount:       112
      CyclomaticComplexity: 30
      functionsReached:
        - piv_get_cached_data
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4380,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4383,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4383,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4383,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4393,6'
          Dst:             piv_get_cached_data
        - Src:             'card-piv.c:4394,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4394,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4398,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:4400,12'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:4408,11'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:4415,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4445,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4445,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4445,2'
          Dst:             sc_do_log
    - functionName:    piv_get_cached_data
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3201
      functionLinenumberEnd: 3281
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          341
      EdgeCount:       41
      CyclomaticComplexity: 11
      functionsReached:
        - piv_get_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:3208,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3213,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3218,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3227,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3244,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3250,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3252,6'
          Dst:             piv_get_data
        - Src:             'card-piv.c:3260,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3280,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3280,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3280,2'
          Dst:             sc_do_log
    - functionName:    piv_generate_key
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2733
      functionLinenumberEnd: 2882
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         94
      ICount:          649
      EdgeCount:       117
      CyclomaticComplexity: 25
      functionsReached:
        - piv_general_io
        - sc_asn1_find_tag
        - sc_asn1_put_tag
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-piv.c:2760,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:2745,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2790,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:2790,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:2790,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2795,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:2797,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2801,6'
          Dst:             piv_general_io
        - Src:             'card-piv.c:2811,7'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:2816,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2822,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:2826,6'
          Dst:             sc_strerror
        - Src:             'card-piv.c:2826,6'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:2826,6'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2830,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2835,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:2840,6'
          Dst:             sc_strerror
        - Src:             'card-piv.c:2840,6'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:2840,6'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2845,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2850,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:2854,6'
          Dst:             sc_strerror
        - Src:             'card-piv.c:2854,6'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:2854,6'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2858,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2881,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:2881,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:2881,2'
          Dst:             sc_do_log
    - functionName:    piv_general_mutual_authenticate
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3839
      functionLinenumberEnd: 4144
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         107
      ICount:          834
      EdgeCount:       150
      CyclomaticComplexity: 45
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_reset
        - EVP_CIPHER_CTX_set_padding
        - EVP_DecryptFinal
        - EVP_DecryptInit
        - EVP_DecryptUpdate
        - RAND_bytes
        - get_cipher_for_algo
        - memcmp
        - piv_general_io
        - piv_get_key
        - sc_asn1_find_tag
        - sc_asn1_put_tag
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_cipher_free
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:3869,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3871,8'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-piv.c:3873,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:3878,11'
          Dst:             get_cipher_for_algo
        - Src:             'card-piv.c:3880,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:3881,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3886,6'
          Dst:             piv_get_key
        - Src:             'card-piv.c:3888,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3892,6'
          Dst:             sc_lock
        - Src:             'card-piv.c:3894,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3906,6'
          Dst:             piv_general_io
        - Src:             'card-piv.c:3912,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:3915,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3921,17'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:3924,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3932,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3938,7'
          Dst:             EVP_DecryptInit
        - Src:             'card-piv.c:3940,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:3944,2'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-piv.c:3947,7'
          Dst:             EVP_DecryptUpdate
        - Src:             'card-piv.c:3948,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:3955,7'
          Dst:             EVP_DecryptFinal
        - Src:             'card-piv.c:3956,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:3964,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3979,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3987,6'
          Dst:             RAND_bytes
        - Src:             'card-piv.c:3989,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:3990,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3998,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4006,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4015,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4026,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4034,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4040,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4046,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4052,6'
          Dst:             piv_general_io
        - Src:             'card-piv.c:4058,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:4061,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4067,23'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:4070,24'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:4073,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4082,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4087,2'
          Dst:             EVP_CIPHER_CTX_reset
        - Src:             'card-piv.c:4089,7'
          Dst:             EVP_DecryptInit
        - Src:             'card-piv.c:4090,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:4094,2'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-piv.c:4097,7'
          Dst:             EVP_DecryptUpdate
        - Src:             'card-piv.c:4098,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:4105,7'
          Dst:             EVP_DecryptFinal
        - Src:             'card-piv.c:4106,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:4113,44'
          Dst:             memcmp
        - Src:             'card-piv.c:4114,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4123,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-piv.c:4125,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-piv.c:4127,3'
          Dst:             sc_unlock
        - Src:             'card-piv.c:4144,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4144,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4144,2'
          Dst:             sc_do_log
    - functionName:    EVP_DecryptInit
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_DecryptFinal
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_CIPHER_CTX_reset
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    piv_general_external_authenticate
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4151
      functionLinenumberEnd: 4361
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         63
      ICount:          539
      EdgeCount:       87
      CyclomaticComplexity: 26
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_EncryptFinal
        - EVP_EncryptInit
        - EVP_EncryptUpdate
        - __errno_location
        - get_cipher_for_algo
        - piv_general_io
        - piv_get_key
        - sc_asn1_find_tag
        - sc_asn1_put_tag
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_cipher_free
        - sc_lock
        - sc_mem_clear
        - sc_strerror
        - sc_unlock
        - strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4173,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4175,8'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-piv.c:4177,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:4182,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4184,11'
          Dst:             get_cipher_for_algo
        - Src:             'card-piv.c:4186,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:4187,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4192,6'
          Dst:             piv_get_key
        - Src:             'card-piv.c:4194,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4198,6'
          Dst:             sc_lock
        - Src:             'card-piv.c:4200,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4212,6'
          Dst:             piv_general_io
        - Src:             'card-piv.c:4214,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4225,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:4228,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4234,19'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:4237,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4246,7'
          Dst:             EVP_EncryptInit
        - Src:             'card-piv.c:4247,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:4248,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4255,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4260,2'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-piv.c:4261,7'
          Dst:             EVP_EncryptUpdate
        - Src:             'card-piv.c:4262,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:4263,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4269,7'
          Dst:             EVP_EncryptFinal
        - Src:             'card-piv.c:4270,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:4271,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4282,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-piv.c:4283,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4290,3'
          Dst:             __errno_location
        - Src:             'card-piv.c:4290,3'
          Dst:             strerror
        - Src:             'card-piv.c:4290,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4308,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4314,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4320,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4326,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4328,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4335,6'
          Dst:             piv_general_io
        - Src:             'card-piv.c:4336,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4339,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-piv.c:4341,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-piv.c:4344,3'
          Dst:             sc_unlock
        - Src:             'card-piv.c:4347,3'
          Dst:             sc_mem_clear
        - Src:             'card-piv.c:4361,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4361,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4361,2'
          Dst:             sc_do_log
    - functionName:    EVP_EncryptInit
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_EncryptFinal
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strerror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    piv_yk_notify_touch_policy
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4723
      functionLinenumberEnd: 4736
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          42
      EdgeCount:       13
      CyclomaticComplexity: 8
      functionsReached:
        - piv_yk_get_metadata
        - sc_notify
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-piv.c:4728,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:4727,2'
          Dst:             piv_yk_get_metadata
        - Src:             'card-piv.c:4730,3'
          Dst:             sc_notify
        - Src:             'card-piv.c:4733,3'
          Dst:             sc_notify
    - functionName:    piv_validate_general_authentication
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4742
      functionLinenumberEnd: 4834
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         101
      ICount:          593
      EdgeCount:       127
      CyclomaticComplexity: 28
      functionsReached:
        - piv_general_io
        - piv_yk_notify_touch_policy
        - sc_asn1_put_tag
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    4
      BranchProfiles:
        - Branch String:   'card-piv.c:4789,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:4756,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4760,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4761,12'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4763,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4763,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4763,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4766,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4767,9'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4768,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4768,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4768,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4775,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:4777,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4777,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4777,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4803,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4803,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4803,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4808,2'
          Dst:             piv_yk_notify_touch_policy
        - Src:             'card-piv.c:4809,6'
          Dst:             piv_general_io
        - Src:             'card-piv.c:4815,6'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:4817,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4817,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4820,6'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:4822,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4822,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4826,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4826,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4833,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4833,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4833,2'
          Dst:             sc_do_log
    - functionName:    piv_put_data
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3483
      functionLinenumberEnd: 3517
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          263
      EdgeCount:       45
      CyclomaticComplexity: 10
      functionsReached:
        - piv_general_io
        - sc_asn1_put_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:3490,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3493,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3495,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3495,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3495,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3499,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3499,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3499,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3503,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3505,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3505,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3505,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3512,6'
          Dst:             piv_general_io
        - Src:             'card-piv.c:3516,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3516,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3516,2'
          Dst:             sc_do_log
    - functionName:    piv_write_certificate
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3521
      functionLinenumberEnd: 3565
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          344
      EdgeCount:       60
      CyclomaticComplexity: 15
      functionsReached:
        - piv_put_data
        - sc_asn1_put_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:3530,16'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3531,15'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3532,15'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3533,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3533,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3533,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3537,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3539,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3539,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3539,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3545,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3545,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3545,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3547,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3548,9'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3549,9'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3554,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:3560,6'
          Dst:             piv_put_data
        - Src:             'card-piv.c:3564,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3564,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3564,2'
          Dst:             sc_do_log
    - functionName:    piv_cache_internal_data
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3285
      functionLinenumberEnd: 3392
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         101
      ICount:          713
      EdgeCount:       128
      CyclomaticComplexity: 29
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:3300,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3304,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3304,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3304,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3307,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:3313,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3313,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3313,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3318,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:3328,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:3330,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3330,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3330,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3333,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3333,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3333,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3340,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3340,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3340,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3370,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:3372,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3372,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3372,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3375,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3375,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3375,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3378,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3378,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3378,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3383,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3383,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3383,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3386,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3391,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3391,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3391,2'
          Dst:             sc_do_log
    - functionName:    piv_read_obj_from_file
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3027
      functionLinenumberEnd: 3085
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          260
      EdgeCount:       51
      CyclomaticComplexity: 14
      functionsReached:
        - close
        - open
        - read
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:3038,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3042,6'
          Dst:             open
        - Src:             'card-piv.c:3044,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3048,8'
          Dst:             read
        - Src:             'card-piv.c:3050,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3056,10'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:3059,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3072,9'
          Dst:             read
        - Src:             'card-piv.c:3084,3'
          Dst:             close
        - Src:             'card-piv.c:3085,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3085,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3085,2'
          Dst:             sc_do_log
    - functionName:    piv_process_history
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5211
      functionLinenumberEnd: 5451
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         138
      ICount:          930
      EdgeCount:       189
      CyclomaticComplexity: 53
      functionsReached:
        - __ctype_b_loc
        - calloc
        - piv_cache_internal_data
        - piv_get_cached_data
        - piv_read_obj_from_file
        - sc_asn1_find_tag
        - sc_asn1_put_tag
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_get_cache_dir
        - sc_strerror
        - strlcat
        - strlen
        - strncmp
        - strrchr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:5238,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5240,6'
          Dst:             piv_get_cached_data
        - Src:             'card-piv.c:5251,12'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:5253,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5260,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:5271,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:5281,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:5287,28'
          Dst:             calloc
        - Src:             'card-piv.c:5289,6'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5289,6'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5289,6'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5293,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5298,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5322,7'
          Dst:             strncmp
        - Src:             'card-piv.c:5327,8'
          Dst:             strrchr
        - Src:             'card-piv.c:5333,7'
          Dst:             strlen
        - Src:             'card-piv.c:5338,8'
          Dst:             __ctype_b_loc
        - Src:             'card-piv.c:5345,64'
          Dst:             strlen
        - Src:             'card-piv.c:5345,7'
          Dst:             sc_get_cache_dir
        - Src:             'card-piv.c:5351,3'
          Dst:             strlcat
        - Src:             'card-piv.c:5353,3'
          Dst:             strlcat
        - Src:             'card-piv.c:5355,7'
          Dst:             piv_read_obj_from_file
        - Src:             'card-piv.c:5367,7'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:5371,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5378,8'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:5382,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5386,13'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:5389,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5399,18'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:5400,17'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:5401,17'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:5406,13'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:5419,13'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:5420,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:5421,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:5425,8'
          Dst:             sc_asn1_put_tag
        - Src:             'card-piv.c:5435,8'
          Dst:             piv_cache_internal_data
        - Src:             'card-piv.c:5436,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5438,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5450,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5450,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5450,2'
          Dst:             sc_do_log
    - functionName:    piv_load_options
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1686
      functionLinenumberEnd: 1765
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          88
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - scconf_find_blocks
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:1721,18'
          Dst:             scconf_find_blocks
    - functionName:    piv_parse_ccc
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5075
      functionLinenumberEnd: 5134
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          279
      EdgeCount:       67
      CyclomaticComplexity: 16
      functionsReached:
        - memcmp
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_simpletlv_read_tag
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-piv.c:5113,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:5087,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5096,11'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:5100,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5110,7'
          Dst:             sc_simpletlv_read_tag
        - Src:             'card-piv.c:5116,9'
          Dst:             memcmp
        - Src:             'card-piv.c:5118,14'
          Dst:             memcmp
        - Src:             'card-piv.c:5126,9'
          Dst:             memcmp
        - Src:             'card-piv.c:5134,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5134,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5134,2'
          Dst:             sc_do_log
    - functionName:    piv_ai_map_find_by_id
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2886
      functionLinenumberEnd: 2895
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          52
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    piv_parse_discovery
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4995
      functionLinenumberEnd: 5045
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          274
      EdgeCount:       55
      CyclomaticComplexity: 16
      functionsReached:
        - memcmp
        - sc_asn1_find_tag
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:5008,12'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:5012,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5017,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5020,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:5022,5'
          Dst:             memcmp
        - Src:             'card-piv.c:5023,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5028,11'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:5032,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5035,6'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5045,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5045,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5045,2'
          Dst:             sc_do_log
    - functionName:    piv_process_discovery
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5051
      functionLinenumberEnd: 5065
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          76
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - piv_get_cached_data
        - piv_parse_discovery
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:5056,6'
          Dst:             piv_get_cached_data
        - Src:             'card-piv.c:5062,6'
          Dst:             piv_parse_discovery
        - Src:             'card-piv.c:5065,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5065,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5065,2'
          Dst:             sc_do_log
    - functionName:    piv_process_ccc
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5139
      functionLinenumberEnd: 5153
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          83
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - piv_get_cached_data
        - piv_parse_ccc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:5144,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5145,6'
          Dst:             piv_get_cached_data
        - Src:             'card-piv.c:5151,6'
          Dst:             piv_parse_ccc
        - Src:             'card-piv.c:5153,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5153,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5153,2'
          Dst:             sc_do_log
    - functionName:    piv_find_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2903
      functionLinenumberEnd: 3016
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         85
      ICount:          596
      EdgeCount:       110
      CyclomaticComplexity: 27
      functionsReached:
        - _sc_debug_hex
        - iso7816_select_aid
        - memcmp
        - piv_ai_map_find_by_id
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:2924,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2930,6'
          Dst:             iso7816_select_aid
        - Src:             'card-piv.c:2931,71'
          Dst:             memcmp
        - Src:             'card-piv.c:2932,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:2932,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:2932,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2936,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:2947,20'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:2952,20'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:2956,7'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2957,11'
          Dst:             piv_ai_map_find_by_id
        - Src:             'card-piv.c:2982,15'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:2984,5'
          Dst:             _sc_debug_hex
        - Src:             'card-piv.c:2986,6'
          Dst:             sc_strerror
        - Src:             'card-piv.c:2986,6'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:2986,6'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2992,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:2994,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:2999,12'
          Dst:             memcmp
        - Src:             'card-piv.c:3000,45'
          Dst:             memcmp
        - Src:             'card-piv.c:3004,8'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3004,8'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3004,8'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3008,7'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3008,7'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3008,7'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3015,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3015,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3015,2'
          Dst:             sc_do_log
    - functionName:    piv_obj_cache_free_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5455
      functionLinenumberEnd: 5469
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          108
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    piv_find_discovery
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5158
      functionLinenumberEnd: 5200
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         30
      ICount:          185
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - memcmp
        - piv_get_data
        - piv_process_discovery
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:5164,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5178,7'
          Dst:             piv_process_discovery
        - Src:             'card-piv.c:5182,7'
          Dst:             piv_get_data
        - Src:             'card-piv.c:5189,6'
          Dst:             memcmp
        - Src:             'card-piv.c:5193,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5200,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5200,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5200,2'
          Dst:             sc_do_log
    - functionName:    piv_match_card_continued
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5557
      functionLinenumberEnd: 6008
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         288
      ICount:          1838
      EdgeCount:       342
      CyclomaticComplexity: 56
      functionsReached:
        - _sc_match_atr
        - calloc
        - memcmp
        - piv_find_aid
        - piv_find_discovery
        - piv_finish
        - piv_obj_cache_free_entry
        - piv_process_ccc
        - sc_compacttlv_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-piv.c:5568,2'
          Branch Sides:    []
        - Branch String:   'card-piv.c:5742,3'
          Branch Sides:    []
        - Branch String:   'card-piv.c:5766,2'
          Branch Sides:    []
        - Branch String:   'card-piv.c:5794,2'
          Branch Sides:    []
        - Branch String:   'card-piv.c:5812,4'
          Branch Sides:    []
        - Branch String:   'card-piv.c:5852,3'
          Branch Sides:    []
        - Branch String:   'card-piv.c:5872,2'
          Branch Sides:    []
        - Branch String:   'card-piv.c:5908,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:5590,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5590,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5590,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5592,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5603,8'
          Dst:             memcmp
        - Src:             'card-piv.c:5606,8'
          Dst:             memcmp
        - Src:             'card-piv.c:5609,8'
          Dst:             memcmp
        - Src:             'card-piv.c:5612,8'
          Dst:             memcmp
        - Src:             'card-piv.c:5622,17'
          Dst:             sc_compacttlv_find_tag
        - Src:             'card-piv.c:5624,28'
          Dst:             memcmp
        - Src:             'card-piv.c:5626,35'
          Dst:             memcmp
        - Src:             'card-piv.c:5634,33'
          Dst:             memcmp
        - Src:             'card-piv.c:5637,24'
          Dst:             sc_compacttlv_find_tag
        - Src:             'card-piv.c:5643,10'
          Dst:             memcmp
        - Src:             'card-piv.c:5652,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5656,8'
          Dst:             _sc_match_atr
        - Src:             'card-piv.c:5665,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5668,9'
          Dst:             calloc
        - Src:             'card-piv.c:5671,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5671,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5671,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5726,7'
          Dst:             piv_find_discovery
        - Src:             'card-piv.c:5728,4'
          Dst:             piv_obj_cache_free_entry
        - Src:             'card-piv.c:5729,8'
          Dst:             piv_find_aid
        - Src:             'card-piv.c:5730,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5730,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5734,7'
          Dst:             piv_find_aid
        - Src:             'card-piv.c:5735,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5735,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5747,9'
          Dst:             memcmp
        - Src:             'card-piv.c:5748,6'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5757,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5774,3'
          Dst:             sc_format_apdu
        - Src:             'card-piv.c:5781,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-piv.c:5784,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5789,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5806,8'
          Dst:             piv_process_ccc
        - Src:             'card-piv.c:5807,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5842,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5847,8'
          Dst:             piv_find_aid
        - Src:             'card-piv.c:5859,9'
          Dst:             piv_find_aid
        - Src:             'card-piv.c:5863,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5888,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5906,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5974,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5977,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5988,8'
          Dst:             piv_find_discovery
        - Src:             'card-piv.c:5992,4'
          Dst:             piv_obj_cache_free_entry
        - Src:             'card-piv.c:5996,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5999,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:5999,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:5999,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6002,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6005,2'
          Dst:             piv_finish
        - Src:             'card-piv.c:6007,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6007,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6007,2'
          Dst:             sc_do_log
    - functionName:    piv_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5474
      functionLinenumberEnd: 5503
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          124
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - piv_obj_cache_free_entry
        - sc_do_log
        - sc_unlock
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:5478,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5481,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5483,4'
          Dst:             sc_unlock
        - Src:             'card-piv.c:5492,4'
          Dst:             piv_obj_cache_free_entry
    - functionName:    piv_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6474
      functionLinenumberEnd: 6538
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          209
      EdgeCount:       46
      CyclomaticComplexity: 12
      functionsReached:
        - iso7816_select_aid
        - piv_find_discovery
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:6480,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6484,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6501,7'
          Dst:             piv_find_discovery
        - Src:             'card-piv.c:6520,8'
          Dst:             iso7816_select_aid
        - Src:             'card-piv.c:6521,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6538,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6538,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6538,2'
          Dst:             sc_do_log
    - functionName:    piv_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6300
      functionLinenumberEnd: 6435
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         94
      ICount:          641
      EdgeCount:       125
      CyclomaticComplexity: 33
      functionsReached:
        - __ctype_b_loc
        - piv_check_protected_objects
        - piv_find_aid
        - sc_do_log
        - sc_do_log_color
        - sc_get_iso7816_driver
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:6308,35'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-piv.c:6310,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6311,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6318,9'
          Dst:             __ctype_b_loc
        - Src:             'card-piv.c:6336,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6336,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6336,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6348,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6348,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6348,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6361,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6362,7'
          Dst:             sc_lock
        - Src:             'card-piv.c:6364,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6377,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6383,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6385,3'
          Dst:             sc_unlock
        - Src:             'card-piv.c:6390,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6391,3'
          Dst:             piv_find_aid
        - Src:             'card-piv.c:6411,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6416,8'
          Dst:             piv_check_protected_objects
        - Src:             'card-piv.c:6433,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6434,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6434,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6434,2'
          Dst:             sc_do_log
    - functionName:    piv_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4565
      functionLinenumberEnd: 4607
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          198
      EdgeCount:       30
      CyclomaticComplexity: 3
      functionsReached:
        - piv_general_external_authenticate
        - piv_general_mutual_authenticate
        - piv_generate_key
        - piv_get_pin_preference
        - piv_get_serial_nr_from_CHUI
        - piv_is_object_present
        - piv_yk_pin_policy
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-piv.c:4574,2'
          Branch Sides:    []
        - Branch String:   'card-piv.c:4577,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:4569,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4572,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4572,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4572,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4579,11'
          Dst:             piv_general_external_authenticate
        - Src:             'card-piv.c:4583,11'
          Dst:             piv_general_mutual_authenticate
        - Src:             'card-piv.c:4589,10'
          Dst:             piv_generate_key
        - Src:             'card-piv.c:4593,10'
          Dst:             piv_get_serial_nr_from_CHUI
        - Src:             'card-piv.c:4596,10'
          Dst:             piv_get_pin_preference
        - Src:             'card-piv.c:4599,10'
          Dst:             piv_is_object_present
        - Src:             'card-piv.c:4602,10'
          Dst:             piv_yk_pin_policy
        - Src:             'card-piv.c:4606,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4606,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4606,2'
          Dst:             sc_do_log
    - functionName:    piv_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6167
      functionLinenumberEnd: 6227
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          154
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_get_iso7816_driver
        - sc_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:6168,35'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-piv.c:6176,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6191,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6193,5'
          Dst:             sc_unlock
        - Src:             'card-piv.c:6206,6'
          Dst:             sc_do_log
    - functionName:    piv_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4889
      functionLinenumberEnd: 4892
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          70
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - piv_validate_general_authentication
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4890,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4892,2'
          Dst:             piv_validate_general_authentication
        - Src:             'card-piv.c:4892,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4892,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4892,2'
          Dst:             sc_do_log
    - functionName:    piv_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4839
      functionLinenumberEnd: 4884
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          199
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - piv_validate_general_authentication
        - sc_asn1_decode_ecdsa_signature
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4845,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4857,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4863,7'
          Dst:             piv_validate_general_authentication
        - Src:             'card-piv.c:4867,7'
          Dst:             sc_asn1_decode_ecdsa_signature
        - Src:             'card-piv.c:4872,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4877,7'
          Dst:             piv_validate_general_authentication
        - Src:             'card-piv.c:4880,7'
          Dst:             piv_validate_general_authentication
        - Src:             'card-piv.c:4884,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4884,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4884,2'
          Dst:             sc_do_log
    - functionName:    piv_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4715
      functionLinenumberEnd: 4718
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          58
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4716,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4718,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4718,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4718,2'
          Dst:             sc_do_log
    - functionName:    piv_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4669
      functionLinenumberEnd: 4710
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          218
      EdgeCount:       34
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-piv.c:4686,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:4673,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4675,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4710,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4710,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4710,2'
          Dst:             sc_do_log
    - functionName:    piv_write_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3590
      functionLinenumberEnd: 3661
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         88
      ICount:          600
      EdgeCount:       108
      CyclomaticComplexity: 22
      functionsReached:
        - piv_obj_cache_free_entry
        - piv_put_data
        - piv_write_certificate
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-piv.c:3638,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:3595,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3598,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3598,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3598,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3603,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3603,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3603,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3609,4'
          Dst:             piv_obj_cache_free_entry
        - Src:             'card-piv.c:3613,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3613,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3613,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3617,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3617,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3617,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3625,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3625,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3625,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3628,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3628,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3628,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3634,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3634,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3634,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3640,7'
          Dst:             piv_write_certificate
        - Src:             'card-piv.c:3646,7'
          Dst:             piv_put_data
        - Src:             'card-piv.c:3660,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3660,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3660,2'
          Dst:             sc_do_log
    - functionName:    piv_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3401
      functionLinenumberEnd: 3474
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          437
      EdgeCount:       84
      CyclomaticComplexity: 22
      functionsReached:
        - piv_cache_internal_data
        - piv_get_cached_data
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:3410,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3412,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3412,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3412,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3416,7'
          Dst:             piv_get_cached_data
        - Src:             'card-piv.c:3426,11'
          Dst:             sc_asn1_find_tag
        - Src:             'card-piv.c:3430,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3435,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:3442,9'
          Dst:             piv_cache_internal_data
        - Src:             'card-piv.c:3473,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:3473,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:3473,2'
          Dst:             sc_do_log
    - functionName:    piv_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6439
      functionLinenumberEnd: 6453
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          94
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - iso7816_logout
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:6443,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6447,7'
          Dst:             iso7816_logout
        - Src:             'card-piv.c:6453,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6453,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6453,2'
          Dst:             sc_do_log
    - functionName:    piv_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4611
      functionLinenumberEnd: 4664
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          287
      EdgeCount:       64
      CyclomaticComplexity: 15
      functionsReached:
        - piv_general_io
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4621,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4625,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4625,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4629,6'
          Dst:             piv_general_io
        - Src:             'card-piv.c:4638,7'
          Dst:             piv_general_io
        - Src:             'card-piv.c:4643,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4643,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4646,6'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:4648,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4648,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4651,6'
          Dst:             sc_asn1_read_tag
        - Src:             'card-piv.c:4653,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4653,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4664,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4664,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4664,2'
          Dst:             sc_do_log
    - functionName:    piv_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4908
      functionLinenumberEnd: 4991
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          447
      EdgeCount:       82
      CyclomaticComplexity: 19
      functionsReached:
        - memcmp
        - piv_cache_internal_data
        - piv_find_obj_by_containerid
        - piv_get_cached_data
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:4918,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4932,6'
          Dst:             memcmp
        - Src:             'card-piv.c:4939,6'
          Dst:             piv_find_obj_by_containerid
        - Src:             'card-piv.c:4942,3'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4942,3'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4942,3'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4959,7'
          Dst:             piv_get_cached_data
        - Src:             'card-piv.c:4962,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4962,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4962,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4966,8'
          Dst:             piv_cache_internal_data
        - Src:             'card-piv.c:4968,5'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4968,5'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4968,5'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4971,10'
          Dst:             sc_file_new
        - Src:             'card-piv.c:4973,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4973,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4973,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:4990,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:4990,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:4990,2'
          Dst:             sc_do_log
    - functionName:    piv_init
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6012
      functionLinenumberEnd: 6163
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         76
      ICount:          519
      EdgeCount:       98
      CyclomaticComplexity: 24
      functionsReached:
        - _sc_card_add_ec_alg
        - _sc_card_add_eddsa_alg
        - _sc_card_add_rsa_alg
        - _sc_card_add_xeddsa_alg
        - piv_finish
        - piv_load_options
        - piv_match_card_continued
        - piv_process_history
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_strerror
        - sc_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:6020,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6022,6'
          Dst:             sc_lock
        - Src:             'card-piv.c:6023,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6023,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6027,7'
          Dst:             piv_match_card_continued
        - Src:             'card-piv.c:6030,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6031,4'
          Dst:             sc_unlock
        - Src:             'card-piv.c:6032,4'
          Dst:             piv_finish
        - Src:             'card-piv.c:6034,4'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6034,4'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6034,4'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6039,2'
          Dst:             piv_load_options
        - Src:             'card-piv.c:6043,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:6063,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-piv.c:6066,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-piv.c:6069,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-piv.c:6072,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-piv.c:6084,6'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-piv.c:6088,5'
          Dst:             _sc_card_add_eddsa_alg
        - Src:             'card-piv.c:6091,5'
          Dst:             _sc_card_add_xeddsa_alg
        - Src:             'card-piv.c:6158,2'
          Dst:             piv_process_history
        - Src:             'card-piv.c:6161,2'
          Dst:             sc_unlock
        - Src:             'card-piv.c:6162,2'
          Dst:             sc_strerror
        - Src:             'card-piv.c:6162,2'
          Dst:             sc_do_log_color
        - Src:             'card-piv.c:6162,2'
          Dst:             sc_do_log
    - functionName:    piv_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5508
      functionLinenumberEnd: 5553
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         32
      ICount:          159
      EdgeCount:       34
      CyclomaticComplexity: 4
      functionsReached:
        - piv_finish
        - piv_match_card_continued
        - sc_do_log
        - sc_lock
        - sc_unlock
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-piv.c:5514,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-piv.c:5511,2'
          Dst:             sc_do_log
        - Src:             'card-piv.c:5538,6'
          Dst:             sc_lock
        - Src:             'card-piv.c:5542,6'
          Dst:             piv_match_card_continued
        - Src:             'card-piv.c:5543,2'
          Dst:             sc_unlock
        - Src:             'card-piv.c:5547,3'
          Dst:             piv_finish
        - Src:             'card-piv.c:5551,2'
          Dst:             sc_do_log
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6543
      functionLinenumberEnd: 6565
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:6544,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_piv_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6570
      functionLinenumberEnd: 6571
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-piv.c:6571,9'
          Dst:             sc_get_driver
    - functionName:    cac_final_iterator
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 621
      functionLinenumberEnd: 623
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_iterator_stop
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:622,2'
          Dst:             list_iterator_stop
    - functionName:    cac_fill_object_info
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 628
      functionLinenumberEnd: 642
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          84
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_iterator_next
        - strncpy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:639,2'
          Dst:             strncpy
        - Src:             'card-cac.c:640,11'
          Dst:             list_iterator_next
    - functionName:    strncpy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    27
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cac_get_init_and_get_count
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 612
      functionLinenumberEnd: 616
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_iterator_next
        - list_iterator_start
        - list_size
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:613,12'
          Dst:             list_size
        - Src:             'card-cac.c:614,2'
          Dst:             list_iterator_start
        - Src:             'card-cac.c:615,11'
          Dst:             list_iterator_next
    - functionName:    cac_get_serial_nr_from_CUID
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 645
      functionLinenumberEnd: 659
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          191
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:648,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:651,17'
          Dst:             sc_strerror
        - Src:             'card-cac.c:651,17'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:651,17'
          Dst:             sc_do_log
        - Src:             'card-cac.c:656,3'
          Dst:             sc_strerror
        - Src:             'card-cac.c:656,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:656,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:658,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:658,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:658,2'
          Dst:             sc_do_log
    - functionName:    cac_get_ACA_path
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 662
      functionLinenumberEnd: 669
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          81
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:665,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:669,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:669,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:669,2'
          Dst:             sc_do_log
    - functionName:    cac_rsa_op
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 755
      functionLinenumberEnd: 822
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          302
      EdgeCount:       61
      CyclomaticComplexity: 15
      functionsReached:
        - cac_apdu_io
        - sc_do_log
        - sc_do_log_color
        - sc_lock
        - sc_mem_clear
        - sc_strerror
        - sc_unlock
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:760,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:761,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:770,6'
          Dst:             sc_lock
        - Src:             'card-cac.c:772,3'
          Dst:             sc_strerror
        - Src:             'card-cac.c:772,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:772,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:778,7'
          Dst:             cac_apdu_io
        - Src:             'card-cac.c:798,6'
          Dst:             cac_apdu_io
        - Src:             'card-cac.c:813,2'
          Dst:             sc_unlock
        - Src:             'card-cac.c:815,3'
          Dst:             sc_mem_clear
        - Src:             'card-cac.c:821,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:821,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:821,2'
          Dst:             sc_do_log
    - functionName:    cac_apdu_io
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 253
      functionLinenumberEnd: 335
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          332
      EdgeCount:       65
      CyclomaticComplexity: 18
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:262,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:264,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:285,2'
          Dst:             sc_format_apdu
        - Src:             'card-cac.c:301,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:305,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cac.c:307,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:310,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:314,6'
          Dst:             sc_check_sw
        - Src:             'card-cac.c:317,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:335,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:335,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:335,2'
          Dst:             sc_do_log
    - functionName:    cac_select_pki_applet
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1588
      functionLinenumberEnd: 1591
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          41
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cac_select_file_by_type
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1591,9'
          Dst:             cac_select_file_by_type
    - functionName:    cac_select_file_by_type
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1023
      functionLinenumberEnd: 1197
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         134
      ICount:          865
      EdgeCount:       171
      CyclomaticComplexity: 39
      functionsReached:
        - cac_get_properties
        - cac_is_cert
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_file_new
        - sc_format_apdu
        - sc_get_max_recv_size
        - sc_print_path
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    7
      BranchProfiles:
        - Branch String:   'card-cac.c:1107,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cac.c:1039,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1045,2'
          Dst:             sc_print_path
        - Src:             'card-cac.c:1045,2'
          Dst:             sc_dump_hex
        - Src:             'card-cac.c:1045,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1050,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1058,41'
          Dst:             memcmp
        - Src:             'card-cac.c:1070,7'
          Dst:             cac_is_cert
        - Src:             'card-cac.c:1090,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1091,4'
          Dst:             sc_format_apdu
        - Src:             'card-cac.c:1096,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-cac.c:1097,4'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1097,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1098,8'
          Dst:             sc_check_sw
        - Src:             'card-cac.c:1100,5'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1100,5'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1100,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1105,2'
          Dst:             sc_format_apdu
        - Src:             'card-cac.c:1120,3'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1120,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1120,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1127,12'
          Dst:             sc_get_max_recv_size
        - Src:             'card-cac.c:1127,47'
          Dst:             sc_get_max_recv_size
        - Src:             'card-cac.c:1136,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cac.c:1137,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1137,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1141,7'
          Dst:             sc_check_sw
        - Src:             'card-cac.c:1145,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-cac.c:1146,9'
          Dst:             sc_check_sw
        - Src:             'card-cac.c:1149,4'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1149,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1149,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1150,3'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1150,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1150,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1153,6'
          Dst:             sc_check_sw
        - Src:             'card-cac.c:1155,3'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1155,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1155,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1168,7'
          Dst:             cac_get_properties
        - Src:             'card-cac.c:1171,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1174,9'
          Dst:             memcmp
        - Src:             'card-cac.c:1188,9'
          Dst:             sc_file_new
        - Src:             'card-cac.c:1190,4'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1190,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1190,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1195,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1195,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1195,2'
          Dst:             sc_do_log
    - functionName:    cac_is_cert
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 231
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_contains
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:237,10'
          Dst:             list_contains
    - functionName:    cac_get_properties
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 919
      functionLinenumberEnd: 1012
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         45
      ICount:          330
      EdgeCount:       57
      CyclomaticComplexity: 14
      functionsReached:
        - cac_apdu_io
        - cac_parse_properties_object
        - sc_do_log
        - sc_simpletlv_read_tag
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-cac.c:942,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cac.c:928,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:930,6'
          Dst:             cac_apdu_io
        - Src:             'card-cac.c:939,7'
          Dst:             sc_simpletlv_read_tag
        - Src:             'card-cac.c:945,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:948,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:950,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:957,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:960,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:968,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:971,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:977,8'
          Dst:             cac_parse_properties_object
        - Src:             'card-cac.c:984,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:987,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:993,8'
          Dst:             cac_parse_properties_object
        - Src:             'card-cac.c:1000,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1007,3'
          Dst:             sc_do_log
    - functionName:    cac_parse_properties_object
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 844
      functionLinenumberEnd: 916
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          224
      EdgeCount:       35
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_simpletlv_read_tag
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-cac.c:863,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cac.c:860,7'
          Dst:             sc_simpletlv_read_tag
        - Src:             'card-cac.c:866,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:869,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:877,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:881,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:891,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:895,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:898,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:907,4'
          Dst:             sc_do_log
    - functionName:    cac_parse_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1255
      functionLinenumberEnd: 1315
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          254
      EdgeCount:       45
      CyclomaticComplexity: 12
      functionsReached:
        - cac_add_object_to_list
        - cac_get_properties
        - cac_select_file_by_type
        - get_cac_label
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_mem_clear
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1261,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1264,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1269,23'
          Dst:             memcmp
        - Src:             'card-cac.c:1270,9'
          Dst:             memcmp
        - Src:             'card-cac.c:1273,2'
          Dst:             sc_mem_clear
        - Src:             'card-cac.c:1280,6'
          Dst:             cac_select_file_by_type
        - Src:             'card-cac.c:1281,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1281,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1282,6'
          Dst:             cac_get_properties
        - Src:             'card-cac.c:1283,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1283,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1290,3'
          Dst:             get_cac_label
        - Src:             'card-cac.c:1290,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1308,21'
          Dst:             get_cac_label
        - Src:             'card-cac.c:1310,3'
          Dst:             cac_add_object_to_list
    - functionName:    cac_parse_ACA_service
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1530
      functionLinenumberEnd: 1584
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          214
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - _sc_debug_hex
        - cac_parse_aid
        - sc_do_log
        - sc_simpletlv_read_tag
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cac.c:1543,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cac.c:1535,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1540,7'
          Dst:             sc_simpletlv_read_tag
        - Src:             'card-cac.c:1546,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1549,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1551,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1557,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1560,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1566,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1569,4'
          Dst:             _sc_debug_hex
        - Src:             'card-cac.c:1572,8'
          Dst:             cac_parse_aid
        - Src:             'card-cac.c:1578,4'
          Dst:             sc_do_log
    - functionName:    cac_get_acr
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 344
      functionLinenumberEnd: 377
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          128
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - cac_apdu_io
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:350,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:358,6'
          Dst:             cac_apdu_io
        - Src:             'card-cac.c:365,2'
          Dst:             sc_do_log
    - functionName:    cac_find_obj_by_id
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 225
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - short
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          46
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cac_path_from_cardurl
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1229
      functionLinenumberEnd: 1252
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          187
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_mem_clear
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1233,2'
          Dst:             sc_mem_clear
        - Src:             'card-cac.c:1240,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1245,2'
          Dst:             sc_do_log
    - functionName:    cac_parse_cardurl
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1318
      functionLinenumberEnd: 1361
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          150
      EdgeCount:       17
      CyclomaticComplexity: 4
      functionsReached:
        - bebytes2ushort
        - cac_add_object_to_list
        - cac_find_obj_by_id
        - cac_path_from_cardurl
        - get_cac_label
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cac.c:1328,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cac.c:1324,6'
          Dst:             cac_path_from_cardurl
        - Src:             'card-cac.c:1336,21'
          Dst:             get_cac_label
        - Src:             'card-cac.c:1338,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1339,3'
          Dst:             cac_add_object_to_list
        - Src:             'card-cac.c:1343,15'
          Dst:             bebytes2ushort
        - Src:             'card-cac.c:1344,9'
          Dst:             cac_find_obj_by_id
        - Src:             'card-cac.c:1349,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1350,3'
          Dst:             cac_add_object_to_list
        - Src:             'card-cac.c:1353,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1356,3'
          Dst:             sc_do_log
    - functionName:    cac_parse_cuid
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1364
      functionLinenumberEnd: 1386
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          121
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_dump_hex
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1371,2'
          Dst:             sc_dump_hex
        - Src:             'card-cac.c:1371,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1372,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1373,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1375,2'
          Dst:             sc_dump_hex
        - Src:             'card-cac.c:1375,2'
          Dst:             sc_do_log
    - functionName:    cac_parse_CCC
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1391
      functionLinenumberEnd: 1495
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          369
      EdgeCount:       66
      CyclomaticComplexity: 15
      functionsReached:
        - _sc_debug_hex
        - cac_parse_cardurl
        - cac_parse_cuid
        - cac_path_from_cardurl
        - cac_process_CCC
        - cac_select_file_by_type
        - sc_do_log
        - sc_simpletlv_read_tag
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cac.c:1411,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cac.c:1402,7'
          Dst:             sc_simpletlv_read_tag
        - Src:             'card-cac.c:1404,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1408,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1413,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1414,8'
          Dst:             cac_parse_cuid
        - Src:             'card-cac.c:1420,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1424,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1429,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1433,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1437,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1438,8'
          Dst:             cac_parse_cardurl
        - Src:             'card-cac.c:1447,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1453,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1457,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1460,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1467,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1471,4'
          Dst:             _sc_debug_hex
        - Src:             'card-cac.c:1474,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1475,8'
          Dst:             cac_path_from_cardurl
        - Src:             'card-cac.c:1479,8'
          Dst:             cac_select_file_by_type
        - Src:             'card-cac.c:1484,8'
          Dst:             cac_process_CCC
        - Src:             'card-cac.c:1490,4'
          Dst:             sc_do_log
    - functionName:    cac_process_CCC
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1498
      functionLinenumberEnd: 1523
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          105
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - cac_parse_CCC
        - cac_read_file
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1504,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1508,6'
          Dst:             cac_read_file
        - Src:             'card-cac.c:1512,6'
          Dst:             cac_read_file
        - Src:             'card-cac.c:1516,6'
          Dst:             cac_parse_CCC
    - functionName:    cac_read_file
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 385
      functionLinenumberEnd: 441
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          280
      EdgeCount:       48
      CyclomaticComplexity: 12
      functionsReached:
        - cac_apdu_io
        - lebytes2ushort
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:396,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:404,6'
          Dst:             cac_apdu_io
        - Src:             'card-cac.c:411,16'
          Dst:             lebytes2ushort
        - Src:             'card-cac.c:412,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:423,7'
          Dst:             cac_apdu_io
        - Src:             'card-cac.c:435,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:435,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:435,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:440,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:440,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:440,2'
          Dst:             sc_do_log
    - functionName:    cac_populate_cac_alt
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1625
      functionLinenumberEnd: 1685
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          213
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - SHA1
        - _sc_debug_hex
        - cac_add_object_to_list
        - cac_read_binary
        - cac_select_file_by_type
        - cac_select_pki_applet
        - get_cac_label
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1633,7'
          Dst:             cac_select_pki_applet
        - Src:             'card-cac.c:1635,19'
          Dst:             get_cac_label
        - Src:             'card-cac.c:1636,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1640,4'
          Dst:             cac_add_object_to_list
        - Src:             'card-cac.c:1646,7'
          Dst:             cac_select_file_by_type
        - Src:             'card-cac.c:1648,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1651,4'
          Dst:             cac_add_object_to_list
        - Src:             'card-cac.c:1661,6'
          Dst:             cac_select_pki_applet
        - Src:             'card-cac.c:1666,6'
          Dst:             cac_read_binary
        - Src:             'card-cac.c:1675,3'
          Dst:             SHA1
        - Src:             'card-cac.c:1677,3'
          Dst:             _sc_debug_hex
    - functionName:    cac_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 451
      functionLinenumberEnd: 608
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         117
      ICount:          808
      EdgeCount:       150
      CyclomaticComplexity: 35
      functionsReached:
        - _sc_debug_hex
        - cac_read_file
        - sc_do_log
        - sc_do_log_color
        - sc_simpletlv_put_tag
        - sc_simpletlv_read_tag
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-cac.c:495,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cac.c:462,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:466,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:468,4'
          Dst:             sc_strerror
        - Src:             'card-cac.c:468,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:468,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:472,3'
          Dst:             sc_strerror
        - Src:             'card-cac.c:472,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:472,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:475,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:484,4'
          Dst:             sc_strerror
        - Src:             'card-cac.c:484,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:484,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:486,6'
          Dst:             cac_read_file
        - Src:             'card-cac.c:491,6'
          Dst:             cac_read_file
        - Src:             'card-cac.c:510,8'
          Dst:             sc_simpletlv_read_tag
        - Src:             'card-cac.c:514,4'
          Dst:             sc_simpletlv_put_tag
        - Src:             'card-cac.c:520,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:536,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:543,8'
          Dst:             sc_simpletlv_read_tag
        - Src:             'card-cac.c:550,5'
          Dst:             sc_do_log
        - Src:             'card-cac.c:565,5'
          Dst:             _sc_debug_hex
        - Src:             'card-cac.c:581,4'
          Dst:             sc_do_log
        - Src:             'card-cac.c:592,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:607,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:607,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:607,2'
          Dst:             sc_do_log
    - functionName:    cac_find_first_pki_applet
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1598
      functionLinenumberEnd: 1619
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          74
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - cac_apdu_io
        - cac_select_pki_applet
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1601,7'
          Dst:             cac_select_pki_applet
        - Src:             'card-cac.c:1609,8'
          Dst:             cac_apdu_io
    - functionName:    cac_process_ACA
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1688
      functionLinenumberEnd: 1712
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          124
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - cac_get_acr
        - cac_parse_ACA_service
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1693,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1696,6'
          Dst:             cac_get_acr
        - Src:             'card-cac.c:1700,6'
          Dst:             cac_parse_ACA_service
        - Src:             'card-cac.c:1712,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1712,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1712,2'
          Dst:             sc_do_log
    - functionName:    cac_select_ACA
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1224
      functionLinenumberEnd: 1225
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cac_select_file_by_type
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1225,9'
          Dst:             cac_select_file_by_type
    - functionName:    cac_select_CCC
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1218
      functionLinenumberEnd: 1219
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cac_select_file_by_type
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1219,9'
          Dst:             cac_select_file_by_type
    - functionName:    cac_find_and_initialize
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1719
      functionLinenumberEnd: 1791
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         42
      ICount:          253
      EdgeCount:       58
      CyclomaticComplexity: 18
      functionsReached:
        - cac_find_first_pki_applet
        - cac_free_private_data
        - cac_new_private_data
        - cac_populate_cac_alt
        - cac_process_ACA
        - cac_process_CCC
        - cac_select_ACA
        - cac_select_CCC
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1730,6'
          Dst:             cac_select_CCC
        - Src:             'card-cac.c:1732,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1736,10'
          Dst:             cac_new_private_data
        - Src:             'card-cac.c:1739,7'
          Dst:             cac_process_CCC
        - Src:             'card-cac.c:1748,6'
          Dst:             cac_select_ACA
        - Src:             'card-cac.c:1750,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1755,11'
          Dst:             cac_new_private_data
        - Src:             'card-cac.c:1759,7'
          Dst:             cac_process_ACA
        - Src:             'card-cac.c:1768,6'
          Dst:             cac_find_first_pki_applet
        - Src:             'card-cac.c:1770,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1775,11'
          Dst:             cac_new_private_data
        - Src:             'card-cac.c:1780,7'
          Dst:             cac_populate_cac_alt
        - Src:             'card-cac.c:1788,3'
          Dst:             cac_free_private_data
    - functionName:    cac_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1828
      functionLinenumberEnd: 1830
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cac_find_first_pki_applet
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1830,9'
          Dst:             cac_find_first_pki_applet
    - functionName:    cac_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1834
      functionLinenumberEnd: 1873
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          142
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __ctype_b_loc
        - iso7816_build_pin_apdu
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1842,35'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-cac.c:1851,9'
          Dst:             __ctype_b_loc
        - Src:             'card-cac.c:1860,8'
          Dst:             iso7816_build_pin_apdu
    - functionName:    cac_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 673
      functionLinenumberEnd: 702
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          193
      EdgeCount:       29
      CyclomaticComplexity: 4
      functionsReached:
        - cac_fill_object_info
        - cac_final_iterator
        - cac_get_ACA_path
        - cac_get_init_and_get_count
        - cac_get_serial_nr_from_CUID
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-cac.c:682,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cac.c:676,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:677,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:680,3'
          Dst:             sc_strerror
        - Src:             'card-cac.c:680,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:680,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:684,11'
          Dst:             cac_get_ACA_path
        - Src:             'card-cac.c:686,11'
          Dst:             cac_get_serial_nr_from_CUID
        - Src:             'card-cac.c:688,11'
          Dst:             cac_get_init_and_get_count
        - Src:             'card-cac.c:690,11'
          Dst:             cac_get_init_and_get_count
        - Src:             'card-cac.c:692,11'
          Dst:             cac_fill_object_info
        - Src:             'card-cac.c:694,11'
          Dst:             cac_fill_object_info
        - Src:             'card-cac.c:696,11'
          Dst:             cac_final_iterator
        - Src:             'card-cac.c:698,11'
          Dst:             cac_final_iterator
        - Src:             'card-cac.c:701,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:701,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:701,2'
          Dst:             sc_do_log
    - functionName:    cac_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 836
      functionLinenumberEnd: 839
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          70
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - cac_rsa_op
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:837,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:839,2'
          Dst:             cac_rsa_op
        - Src:             'card-cac.c:839,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:839,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:839,2'
          Dst:             sc_do_log
    - functionName:    cac_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 827
      functionLinenumberEnd: 830
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          70
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - cac_rsa_op
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:828,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:830,2'
          Dst:             cac_rsa_op
        - Src:             'card-cac.c:830,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:830,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:830,2'
          Dst:             sc_do_log
    - functionName:    cac_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 745
      functionLinenumberEnd: 748
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          58
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:746,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:748,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:748,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:748,2'
          Dst:             sc_do_log
    - functionName:    cac_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 726
      functionLinenumberEnd: 740
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          105
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:729,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:731,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:740,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:740,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:740,2'
          Dst:             sc_do_log
    - functionName:    cac_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 705
      functionLinenumberEnd: 723
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          113
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - cac_apdu_io
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:712,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:714,6'
          Dst:             cac_apdu_io
        - Src:             'card-cac.c:715,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:715,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:722,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:722,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:722,2'
          Dst:             sc_do_log
    - functionName:    cac_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1200
      functionLinenumberEnd: 1201
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cac_select_file_by_type
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1201,9'
          Dst:             cac_select_file_by_type
    - functionName:    cac_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1205
      functionLinenumberEnd: 1212
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          37
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - cac_free_private_data
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1208,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1210,3'
          Dst:             cac_free_private_data
    - functionName:    cac_init
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1806
      functionLinenumberEnd: 1825
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          120
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_card_add_rsa_alg
        - cac_find_and_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1810,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1812,6'
          Dst:             cac_find_and_initialize
        - Src:             'card-cac.c:1814,3'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1814,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1814,3'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1818,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cac.c:1819,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cac.c:1820,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cac.c:1824,2'
          Dst:             sc_strerror
        - Src:             'card-cac.c:1824,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac.c:1824,2'
          Dst:             sc_do_log
    - functionName:    cac_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1796
      functionLinenumberEnd: 1801
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          30
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - cac_find_and_initialize
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1798,2'
          Dst:             sc_do_log
        - Src:             'card-cac.c:1800,6'
          Dst:             cac_find_and_initialize
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1885
      functionLinenumberEnd: 1906
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          32
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1886,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_cac_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1911
      functionLinenumberEnd: 1912
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac.c:1912,9'
          Dst:             sc_get_driver
    - functionName:    cac_cac1_get_certificate
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 65
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          342
      EdgeCount:       69
      CyclomaticComplexity: 17
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:73,2'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:77,2'
          Dst:             sc_format_apdu
        - Src:             'card-cac1.c:83,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-cac1.c:94,8'
          Dst:             sc_check_sw
        - Src:             'card-cac1.c:104,3'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:104,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:104,3'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:110,4'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:110,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:110,4'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:116,2'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:116,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:116,2'
          Dst:             sc_do_log
    - functionName:    cac_select_file_by_type
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 201
      functionLinenumberEnd: 334
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         104
      ICount:          687
      EdgeCount:       131
      CyclomaticComplexity: 29
      functionsReached:
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_file_new
        - sc_format_apdu
        - sc_get_max_recv_size
        - sc_print_path
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-cac1.c:280,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-cac1.c:217,2'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:223,2'
          Dst:             sc_print_path
        - Src:             'card-cac1.c:223,2'
          Dst:             sc_dump_hex
        - Src:             'card-cac1.c:223,2'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:228,2'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:236,41'
          Dst:             memcmp
        - Src:             'card-cac1.c:263,4'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:264,4'
          Dst:             sc_format_apdu
        - Src:             'card-cac1.c:269,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-cac1.c:270,4'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:270,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:271,8'
          Dst:             sc_check_sw
        - Src:             'card-cac1.c:273,5'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:273,5'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:273,5'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:278,2'
          Dst:             sc_format_apdu
        - Src:             'card-cac1.c:293,3'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:293,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:293,3'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:300,12'
          Dst:             sc_get_max_recv_size
        - Src:             'card-cac1.c:300,47'
          Dst:             sc_get_max_recv_size
        - Src:             'card-cac1.c:303,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cac1.c:304,2'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:304,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:308,7'
          Dst:             sc_check_sw
        - Src:             'card-cac1.c:312,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-cac1.c:313,9'
          Dst:             sc_check_sw
        - Src:             'card-cac1.c:316,4'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:316,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:316,4'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:317,3'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:317,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:317,3'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:320,6'
          Dst:             sc_check_sw
        - Src:             'card-cac1.c:322,3'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:322,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:322,3'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:325,9'
          Dst:             sc_file_new
        - Src:             'card-cac1.c:327,4'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:327,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:327,4'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:332,2'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:332,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:332,2'
          Dst:             sc_do_log
    - functionName:    cac_select_pki_applet
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 355
      functionLinenumberEnd: 358
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          41
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cac_select_file_by_type
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:358,9'
          Dst:             cac_select_file_by_type
    - functionName:    cac_populate_cac1
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 395
      functionLinenumberEnd: 445
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          157
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - SHA1
        - _sc_debug_hex
        - cac_add_object_to_list
        - cac_cac1_get_certificate
        - cac_select_pki_applet
        - get_cac_label
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:404,7'
          Dst:             cac_select_pki_applet
        - Src:             'card-cac1.c:406,19'
          Dst:             get_cac_label
        - Src:             'card-cac1.c:407,4'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:412,4'
          Dst:             cac_add_object_to_list
        - Src:             'card-cac1.c:422,6'
          Dst:             cac_select_pki_applet
        - Src:             'card-cac1.c:428,6'
          Dst:             cac_cac1_get_certificate
        - Src:             'card-cac1.c:435,3'
          Dst:             SHA1
        - Src:             'card-cac1.c:437,3'
          Dst:             _sc_debug_hex
    - functionName:    cac_find_first_pki_applet
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 365
      functionLinenumberEnd: 392
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          86
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - cac_select_pki_applet
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:369,7'
          Dst:             cac_select_pki_applet
        - Src:             'card-cac1.c:377,4'
          Dst:             sc_format_apdu
        - Src:             'card-cac1.c:382,8'
          Dst:             sc_transmit_apdu
    - functionName:    cac_find_and_initialize
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 451
      functionLinenumberEnd: 484
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          122
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - cac_find_first_pki_applet
        - cac_free_private_data
        - cac_new_private_data
        - cac_populate_cac1
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:461,6'
          Dst:             cac_find_first_pki_applet
        - Src:             'card-cac1.c:463,3'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:468,11'
          Dst:             cac_new_private_data
        - Src:             'card-cac1.c:473,7'
          Dst:             cac_populate_cac1
        - Src:             'card-cac1.c:481,3'
          Dst:             cac_free_private_data
    - functionName:    cac_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 521
      functionLinenumberEnd: 523
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cac_find_first_pki_applet
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:523,9'
          Dst:             cac_find_first_pki_applet
    - functionName:    cac_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 126
      functionLinenumberEnd: 190
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          404
      EdgeCount:       72
      CyclomaticComplexity: 18
      functionsReached:
        - cac_cac1_get_certificate
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:135,2'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:139,3'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:141,4'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:141,4'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:141,4'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:145,3'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:145,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:145,3'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:148,2'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:153,6'
          Dst:             cac_cac1_get_certificate
        - Src:             'card-cac1.c:189,2'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:189,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:189,2'
          Dst:             sc_do_log
    - functionName:    cac_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 337
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cac_select_file_by_type
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:338,9'
          Dst:             cac_select_file_by_type
    - functionName:    cac_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 342
      functionLinenumberEnd: 349
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          37
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - cac_free_private_data
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:345,2'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:347,3'
          Dst:             cac_free_private_data
    - functionName:    cac_init
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 499
      functionLinenumberEnd: 518
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          120
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_card_add_rsa_alg
        - cac_find_and_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:503,2'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:505,6'
          Dst:             cac_find_and_initialize
        - Src:             'card-cac1.c:507,3'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:507,3'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:507,3'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:511,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cac1.c:512,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cac1.c:513,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cac1.c:517,2'
          Dst:             sc_strerror
        - Src:             'card-cac1.c:517,2'
          Dst:             sc_do_log_color
        - Src:             'card-cac1.c:517,2'
          Dst:             sc_do_log
    - functionName:    cac_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 489
      functionLinenumberEnd: 494
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          30
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - cac_find_and_initialize
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:491,2'
          Dst:             sc_do_log
        - Src:             'card-cac1.c:493,6'
          Dst:             cac_find_and_initialize
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 536
      functionLinenumberEnd: 549
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_cac_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:538,35'
          Dst:             sc_get_cac_driver
    - functionName:    sc_get_cac1_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-cac1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 554
      functionLinenumberEnd: 555
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac1.c:555,9'
          Dst:             sc_get_driver
    - functionName:    muscle_delete_mscfs_file
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 317
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         45
      ICount:          349
      EdgeCount:       57
      CyclomaticComplexity: 14
      functionsReached:
        - memcmp
        - msc_delete_object
        - mscfs_check_cache
        - muscle_delete_mscfs_file
        - printf
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:278,7'
          Dst:             mscfs_check_cache
        - Src:             'card-muscle.c:279,13'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:279,13'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:279,13'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:281,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:289,12'
          Dst:             memcmp
        - Src:             'card-muscle.c:290,5'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:294,9'
          Dst:             muscle_delete_mscfs_file
        - Src:             'card-muscle.c:295,15'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:295,15'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:295,15'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:304,6'
          Dst:             msc_delete_object
        - Src:             'card-muscle.c:307,11'
          Dst:             memcmp
        - Src:             'card-muscle.c:308,12'
          Dst:             memcmp
        - Src:             'card-muscle.c:312,3'
          Dst:             printf
        - Src:             'card-muscle.c:314,3'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:314,3'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:314,3'
          Dst:             sc_do_log
    - functionName:    muscle_load_single_acl
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 338
      functionLinenumberEnd: 351
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          72
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:341,2'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-muscle.c:343,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-muscle.c:348,4'
          Dst:             sc_file_add_acl_entry
    - functionName:    muscle_load_dir_acls
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 360
      functionLinenumberEnd: 366
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          31
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - muscle_load_single_acl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:361,2'
          Dst:             muscle_load_single_acl
        - Src:             'card-muscle.c:362,2'
          Dst:             muscle_load_single_acl
        - Src:             'card-muscle.c:363,2'
          Dst:             muscle_load_single_acl
        - Src:             'card-muscle.c:364,2'
          Dst:             muscle_load_single_acl
        - Src:             'card-muscle.c:365,2'
          Dst:             muscle_load_single_acl
    - functionName:    muscle_load_file_acls
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 353
      functionLinenumberEnd: 358
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          35
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - muscle_load_single_acl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:354,2'
          Dst:             muscle_load_single_acl
        - Src:             'card-muscle.c:355,2'
          Dst:             muscle_load_single_acl
        - Src:             'card-muscle.c:356,2'
          Dst:             muscle_load_single_acl
        - Src:             'card-muscle.c:357,2'
          Dst:             muscle_load_single_acl
    - functionName:    select_item
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 370
      functionLinenumberEnd: 430
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          402
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - mscfs_check_cache
        - mscfs_loadFileInfo
        - muscle_load_dir_acls
        - muscle_load_file_acls
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:378,6'
          Dst:             mscfs_check_cache
        - Src:             'card-muscle.c:379,12'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:379,12'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:379,12'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:380,6'
          Dst:             mscfs_loadFileInfo
        - Src:             'card-muscle.c:381,12'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:381,12'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:381,12'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:385,3'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:385,3'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:385,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:396,4'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:396,4'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:396,4'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:407,10'
          Dst:             sc_file_new
        - Src:             'card-muscle.c:420,4'
          Dst:             muscle_load_file_acls
        - Src:             'card-muscle.c:422,4'
          Dst:             muscle_load_dir_acls
    - functionName:    muscle_parse_singleAcl
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 135
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          92
      EdgeCount:       20
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:
        - Branch String:   'card-muscle.c:113,3'
          Branch Sides:    []
      Callsites:       []
    - functionName:    muscle_parse_acls
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          60
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - muscle_parse_singleAcl
        - sc_file_get_acl_entry
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:141,39'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-muscle.c:141,16'
          Dst:             muscle_parse_singleAcl
        - Src:             'card-muscle.c:142,40'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-muscle.c:142,17'
          Dst:             muscle_parse_singleAcl
        - Src:             'card-muscle.c:143,41'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-muscle.c:143,18'
          Dst:             muscle_parse_singleAcl
    - functionName:    muscle_create_directory
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 147
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          129
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - msc_create_object
        - mscfs_clear_cache
        - muscle_parse_acls
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:167,2'
          Dst:             muscle_parse_acls
        - Src:             'card-muscle.c:168,6'
          Dst:             msc_create_object
        - Src:             'card-muscle.c:169,2'
          Dst:             mscfs_clear_cache
    - functionName:    muscle_card_verified_pins
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 668
      functionLinenumberEnd: 671
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          20
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    muscle_card_import_key
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 644
      functionLinenumberEnd: 655
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          44
      EdgeCount:       15
      CyclomaticComplexity: 9
      functionsReached:
        - msc_import_key
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-muscle.c:646,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-muscle.c:649,10'
          Dst:             msc_import_key
    - functionName:    muscle_card_extract_key
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 628
      functionLinenumberEnd: 641
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       11
      CyclomaticComplexity: 7
      functionsReached:
        - msc_extract_rsa_public_key
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-muscle.c:630,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-muscle.c:632,10'
          Dst:             msc_extract_rsa_public_key
    - functionName:    muscle_card_generate_key
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 658
      functionLinenumberEnd: 663
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - msc_generate_keypair
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:659,9'
          Dst:             msc_generate_keypair
    - functionName:    _listFile
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 458
      functionLinenumberEnd: 460
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - msc_list_objects
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:460,9'
          Dst:             msc_list_objects
    - functionName:    muscle_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 857
      functionLinenumberEnd: 866
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          73
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - msc_select_applet
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:860,2'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:862,6'
          Dst:             msc_select_applet
        - Src:             'card-muscle.c:866,2'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:866,2'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:866,2'
          Dst:             sc_do_log
    - functionName:    muscle_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 842
      functionLinenumberEnd: 853
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          84
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - msc_select_applet
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:845,2'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:848,7'
          Dst:             msc_select_applet
        - Src:             'card-muscle.c:853,2'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:853,2'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:853,2'
          Dst:             sc_do_log
    - functionName:    muscle_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 524
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          205
      EdgeCount:       34
      CyclomaticComplexity: 9
      functionsReached:
        - memcmp
        - mscfs_check_cache
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:530,6'
          Dst:             mscfs_check_cache
        - Src:             'card-muscle.c:531,12'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:531,12'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:531,12'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:537,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:540,11'
          Dst:             memcmp
    - functionName:    muscle_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 320
      functionLinenumberEnd: 335
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          166
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - mscfs_clear_cache
        - mscfs_loadFileInfo
        - muscle_delete_mscfs_file
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:325,6'
          Dst:             mscfs_loadFileInfo
        - Src:             'card-muscle.c:326,12'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:326,12'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:326,12'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:331,6'
          Dst:             muscle_delete_mscfs_file
        - Src:             'card-muscle.c:332,2'
          Dst:             mscfs_clear_cache
        - Src:             'card-muscle.c:333,12'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:333,12'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:333,12'
          Dst:             sc_do_log
    - functionName:    muscle_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 434
      functionLinenumberEnd: 455
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          157
      EdgeCount:       30
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - select_item
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-muscle.c:440,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-muscle.c:442,7'
          Dst:             select_item
        - Src:             'card-muscle.c:445,7'
          Dst:             select_item
        - Src:             'card-muscle.c:448,7'
          Dst:             select_item
        - Src:             'card-muscle.c:451,3'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:451,3'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:451,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:454,2'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:454,2'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:454,2'
          Dst:             sc_do_log
    - functionName:    muscle_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 196
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          106
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - msc_create_object
        - mscfs_clear_cache
        - mscfs_lookup_local
        - muscle_create_directory
        - muscle_parse_acls
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:183,10'
          Dst:             muscle_create_directory
        - Src:             'card-muscle.c:189,2'
          Dst:             muscle_parse_acls
        - Src:             'card-muscle.c:191,2'
          Dst:             mscfs_lookup_local
        - Src:             'card-muscle.c:192,6'
          Dst:             msc_create_object
        - Src:             'card-muscle.c:193,2'
          Dst:             mscfs_clear_cache
    - functionName:    muscle_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 221
      functionLinenumberEnd: 263
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          321
      EdgeCount:       51
      CyclomaticComplexity: 13
      functionsReached:
        - msc_create_object
        - msc_delete_object
        - msc_read_object
        - msc_update_object
        - mscfs_check_selection
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:228,6'
          Dst:             mscfs_check_selection
        - Src:             'card-muscle.c:229,12'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:229,12'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:229,12'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:242,22'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:242,22'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:242,22'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:244,7'
          Dst:             msc_read_object
        - Src:             'card-muscle.c:247,7'
          Dst:             msc_delete_object
        - Src:             'card-muscle.c:249,7'
          Dst:             msc_create_object
        - Src:             'card-muscle.c:252,7'
          Dst:             msc_update_object
        - Src:             'card-muscle.c:257,3'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:257,3'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:257,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:259,7'
          Dst:             msc_update_object
    - functionName:    muscle_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 199
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          174
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - msc_read_object
        - mscfs_check_selection
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:206,6'
          Dst:             mscfs_check_selection
        - Src:             'card-muscle.c:207,12'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:207,12'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:207,12'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:216,6'
          Dst:             msc_read_object
        - Src:             'card-muscle.c:217,2'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:217,2'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:217,2'
          Dst:             sc_do_log
    - functionName:    muscle_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 674
      functionLinenumberEnd: 687
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          59
      EdgeCount:       17
      CyclomaticComplexity: 10
      functionsReached:
        - muscle_card_extract_key
        - muscle_card_generate_key
        - muscle_card_import_key
        - muscle_card_verified_pins
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-muscle.c:675,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-muscle.c:677,10'
          Dst:             muscle_card_generate_key
        - Src:             'card-muscle.c:679,10'
          Dst:             muscle_card_extract_key
        - Src:             'card-muscle.c:681,10'
          Dst:             muscle_card_import_key
        - Src:             'card-muscle.c:683,10'
          Dst:             muscle_card_verified_pins
    - functionName:    muscle_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 742
      functionLinenumberEnd: 769
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          99
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - msc_compute_crypt
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:755,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:759,6'
          Dst:             msc_compute_crypt
        - Src:             'card-muscle.c:767,2'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:767,2'
          Dst:             sc_do_log_color
    - functionName:    muscle_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 773
      functionLinenumberEnd: 795
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          87
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - msc_compute_crypt
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:781,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:785,6'
          Dst:             msc_compute_crypt
        - Src:             'card-muscle.c:793,2'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:793,2'
          Dst:             sc_do_log_color
    - functionName:    muscle_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 732
      functionLinenumberEnd: 735
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    muscle_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 692
      functionLinenumberEnd: 729
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          172
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:697,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:701,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:707,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:713,4'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:719,3'
          Dst:             sc_do_log
    - functionName:    muscle_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 798
      functionLinenumberEnd: 807
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          61
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - msc_get_challenge
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:802,3'
          Dst:             msc_get_challenge
        - Src:             'card-muscle.c:802,3'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:802,3'
          Dst:             sc_do_log_color
    - functionName:    muscle_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 68
      functionLinenumberEnd: 72
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - mscfs_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:70,2'
          Dst:             mscfs_free
    - functionName:    muscle_init
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 464
      functionLinenumberEnd: 521
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         35
      ICount:          267
      EdgeCount:       44
      CyclomaticComplexity: 11
      functionsReached:
        - _sc_card_add_rsa_alg
        - _sc_match_atr
        - mscfs_new
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:471,3'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:471,3'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:471,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:476,13'
          Dst:             mscfs_new
        - Src:             'card-muscle.c:479,3'
          Dst:             sc_strerror
        - Src:             'card-muscle.c:479,3'
          Dst:             sc_do_log_color
        - Src:             'card-muscle.c:479,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:490,6'
          Dst:             _sc_match_atr
        - Src:             'card-muscle.c:492,3'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:517,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-muscle.c:518,3'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    muscle_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 79
      functionLinenumberEnd: 100
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          82
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - msc_select_applet
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:84,6'
          Dst:             msc_select_applet
        - Src:             'card-muscle.c:86,3'
          Dst:             sc_format_apdu
        - Src:             'card-muscle.c:91,7'
          Dst:             sc_transmit_apdu
    - functionName:    muscle_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 553
      functionLinenumberEnd: 625
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         41
      ICount:          302
      EdgeCount:       41
      CyclomaticComplexity: 2
      functionsReached:
        - msc_change_pin_apdu
        - msc_unblock_pin_apdu
        - msc_verify_pin_apdu
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-muscle.c:557,2'
          Branch Sides:    []
        - Branch String:   'card-muscle.c:559,3'
          Branch Sides:    []
        - Branch String:   'card-muscle.c:582,3'
          Branch Sides:    []
        - Branch String:   'card-muscle.c:601,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-muscle.c:563,8'
          Dst:             msc_verify_pin_apdu
        - Src:             'card-muscle.c:578,4'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:586,8'
          Dst:             msc_change_pin_apdu
        - Src:             'card-muscle.c:597,4'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:605,8'
          Dst:             msc_unblock_pin_apdu
        - Src:             'card-muscle.c:616,4'
          Dst:             sc_do_log
        - Src:             'card-muscle.c:620,3'
          Dst:             sc_do_log
    - functionName:    muscle_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 809
      functionLinenumberEnd: 839
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          110
      EdgeCount:       22
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-muscle.c:811,3'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 871
      functionLinenumberEnd: 899
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          52
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:872,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_muscle_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 903
      functionLinenumberEnd: 904
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-muscle.c:904,9'
          Dst:             sc_get_driver
    - functionName:    asepcos_build_pin_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 862
      functionLinenumberEnd: 927
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          316
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - asepcos_akn_to_fileid
        - sc_format_apdu
      functionUses:    5
      BranchProfiles:
        - Branch String:   'card-asepcos.c:867,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-asepcos.c:870,7'
          Dst:             asepcos_akn_to_fileid
        - Src:             'card-asepcos.c:877,3'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:896,7'
          Dst:             asepcos_akn_to_fileid
        - Src:             'card-asepcos.c:900,3'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:914,7'
          Dst:             asepcos_akn_to_fileid
        - Src:             'card-asepcos.c:918,3'
          Dst:             sc_format_apdu
    - functionName:    asepcos_akn_to_fileid
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 336
      functionLinenumberEnd: 360
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          113
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:342,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:351,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:352,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:352,2'
          Dst:             sc_do_log_color
    - functionName:    asepcos_change_key
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 818
      functionLinenumberEnd: 835
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          90
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:827,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:832,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:833,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:833,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:834,9'
          Dst:             sc_check_sw
    - functionName:    asepcos_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 792
      functionLinenumberEnd: 815
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          107
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:797,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:801,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:802,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:802,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:806,3'
          Dst:             sc_do_log
    - functionName:    asepcos_get_default_key
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 780
      functionLinenumberEnd: 789
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          68
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    asepcos_set_sec_attributes
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 366
      functionLinenumberEnd: 378
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          85
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:370,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:375,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:376,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:376,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:377,9'
          Dst:             sc_check_sw
    - functionName:    asepcos_activate_file
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 513
      functionLinenumberEnd: 527
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          86
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:520,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:524,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:525,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:525,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:526,9'
          Dst:             sc_check_sw
    - functionName:    asepcos_set_security_attributes
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 383
      functionLinenumberEnd: 440
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         38
      ICount:          306
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - asepcos_akn_to_fileid
        - asepcos_set_sec_attributes
        - sc_do_log
        - sc_file_get_acl_entry
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:392,10'
          Dst:             asepcos_set_sec_attributes
        - Src:             'card-asepcos.c:406,36'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-asepcos.c:421,8'
          Dst:             asepcos_akn_to_fileid
        - Src:             'card-asepcos.c:432,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:438,7'
          Dst:             asepcos_set_sec_attributes
    - functionName:    set_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          127
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:158,4'
          Dst:             sc_file_add_acl_entry
    - functionName:    asepcos_tlvpath_to_scpath
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 221
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          95
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - sc_append_path_id
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:233,7'
          Dst:             sc_append_path_id
    - functionName:    asepcos_parse_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 167
      functionLinenumberEnd: 216
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          324
      EdgeCount:       68
      CyclomaticComplexity: 20
      functionsReached:
        - sc_do_log
        - set_sec_attr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:173,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:178,12'
          Dst:             set_sec_attr
        - Src:             'card-asepcos.c:183,12'
          Dst:             set_sec_attr
        - Src:             'card-asepcos.c:189,5'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:193,12'
          Dst:             set_sec_attr
        - Src:             'card-asepcos.c:199,5'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:203,12'
          Dst:             set_sec_attr
        - Src:             'card-asepcos.c:208,4'
          Dst:             sc_do_log
    - functionName:    asepcos_get_current_df_path
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          91
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - asepcos_tlvpath_to_scpath
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:257,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:262,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:263,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:263,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:265,10'
          Dst:             sc_check_sw
        - Src:             'card-asepcos.c:266,9'
          Dst:             asepcos_tlvpath_to_scpath
    - functionName:    asepcos_select_asepcos_applet
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 55
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_select_file
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:66,6'
          Dst:             sc_select_file
        - Src:             'card-asepcos.c:68,3'
          Dst:             sc_do_log
    - functionName:    asepcos_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1036
      functionLinenumberEnd: 1046
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          86
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - asepcos_select_asepcos_applet
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:1039,2'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:1043,7'
          Dst:             asepcos_select_asepcos_applet
        - Src:             'card-asepcos.c:1046,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:1046,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:1046,2'
          Dst:             sc_do_log
    - functionName:    asepcos_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1050
      functionLinenumberEnd: 1060
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - asepcos_select_asepcos_applet
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:1053,2'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:1057,7'
          Dst:             asepcos_select_asepcos_applet
        - Src:             'card-asepcos.c:1060,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:1060,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:1060,2'
          Dst:             sc_do_log
    - functionName:    asepcos_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 933
      functionLinenumberEnd: 1033
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         73
      ICount:          419
      EdgeCount:       99
      CyclomaticComplexity: 28
      functionsReached:
        - asepcos_build_pin_apdu
        - sc_check_sw
        - sc_do_log
        - sc_mem_clear
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-asepcos.c:946,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-asepcos.c:942,3'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:954,7'
          Dst:             asepcos_build_pin_apdu
        - Src:             'card-asepcos.c:957,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:959,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:965,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:969,7'
          Dst:             asepcos_build_pin_apdu
        - Src:             'card-asepcos.c:972,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:974,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:982,7'
          Dst:             asepcos_build_pin_apdu
        - Src:             'card-asepcos.c:985,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:987,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:993,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:997,7'
          Dst:             asepcos_build_pin_apdu
        - Src:             'card-asepcos.c:1000,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:1002,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:1006,7'
          Dst:             asepcos_build_pin_apdu
        - Src:             'card-asepcos.c:1009,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:1011,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:1016,3'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:1020,2'
          Dst:             sc_mem_clear
        - Src:             'card-asepcos.c:1029,7'
          Dst:             sc_check_sw
    - functionName:    asepcos_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 838
      functionLinenumberEnd: 855
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          80
      EdgeCount:       21
      CyclomaticComplexity: 12
      functionsReached:
        - asepcos_activate_file
        - asepcos_akn_to_fileid
        - asepcos_change_key
        - asepcos_get_default_key
        - asepcos_get_serialnr
        - asepcos_set_security_attributes
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-asepcos.c:839,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-asepcos.c:841,10'
          Dst:             asepcos_get_default_key
        - Src:             'card-asepcos.c:843,10'
          Dst:             asepcos_get_serialnr
        - Src:             'card-asepcos.c:845,10'
          Dst:             asepcos_change_key
        - Src:             'card-asepcos.c:847,10'
          Dst:             asepcos_akn_to_fileid
        - Src:             'card-asepcos.c:849,10'
          Dst:             asepcos_set_security_attributes
        - Src:             'card-asepcos.c:851,10'
          Dst:             asepcos_activate_file
    - functionName:    asepcos_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 669
      functionLinenumberEnd: 736
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          327
      EdgeCount:       57
      CyclomaticComplexity: 18
      functionsReached:
        - asepcos_get_current_df_path
        - sc_append_file_id
        - sc_do_log
        - sc_file_free
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:675,6'
          Dst:             asepcos_get_current_df_path
        - Src:             'card-asepcos.c:679,6'
          Dst:             sc_select_file
        - Src:             'card-asepcos.c:683,3'
          Dst:             sc_file_free
        - Src:             'card-asepcos.c:684,3'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:689,2'
          Dst:             sc_file_free
        - Src:             'card-asepcos.c:701,7'
          Dst:             sc_append_file_id
        - Src:             'card-asepcos.c:704,7'
          Dst:             sc_select_file
        - Src:             'card-asepcos.c:710,3'
          Dst:             sc_file_free
        - Src:             'card-asepcos.c:723,7'
          Dst:             sc_append_file_id
        - Src:             'card-asepcos.c:726,7'
          Dst:             sc_select_file
        - Src:             'card-asepcos.c:732,3'
          Dst:             sc_file_free
    - functionName:    asepcos_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 739
      functionLinenumberEnd: 773
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          162
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:745,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:749,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:750,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:750,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:763,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:770,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:771,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:771,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:772,9'
          Dst:             sc_check_sw
    - functionName:    asepcos_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 537
      functionLinenumberEnd: 656
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         62
      ICount:          651
      EdgeCount:       84
      CyclomaticComplexity: 24
      functionsReached:
        - asepcos_activate_file
        - asepcos_set_security_attributes
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_select_file
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:560,3'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:566,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:567,3'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:567,3'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:569,11'
          Dst:             sc_check_sw
        - Src:             'card-asepcos.c:571,7'
          Dst:             sc_select_file
        - Src:             'card-asepcos.c:575,7'
          Dst:             asepcos_set_security_attributes
        - Src:             'card-asepcos.c:577,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:611,3'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:615,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:616,3'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:616,3'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:618,11'
          Dst:             sc_check_sw
        - Src:             'card-asepcos.c:621,7'
          Dst:             asepcos_set_security_attributes
        - Src:             'card-asepcos.c:623,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:626,10'
          Dst:             asepcos_activate_file
        - Src:             'card-asepcos.c:638,3'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:643,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:644,3'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:644,3'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:646,11'
          Dst:             sc_check_sw
        - Src:             'card-asepcos.c:648,7'
          Dst:             asepcos_set_security_attributes
        - Src:             'card-asepcos.c:650,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:653,10'
          Dst:             asepcos_activate_file
    - functionName:    asepcos_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 476
      functionLinenumberEnd: 508
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          153
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:481,2'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:487,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:496,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:497,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:497,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:499,3'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:500,10'
          Dst:             sc_check_sw
    - functionName:    asepcos_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 444
      functionLinenumberEnd: 468
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          173
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:448,2'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:451,2'
          Dst:             sc_format_apdu
        - Src:             'card-asepcos.c:463,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-asepcos.c:464,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:464,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:466,3'
          Dst:             sc_check_sw
        - Src:             'card-asepcos.c:466,3'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:466,3'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:466,3'
          Dst:             sc_do_log
    - functionName:    asepcos_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 330
      functionLinenumberEnd: 331
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    asepcos_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 274
      functionLinenumberEnd: 326
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          276
      EdgeCount:       68
      CyclomaticComplexity: 19
      functionsReached:
        - asepcos_get_current_df_path
        - asepcos_parse_sec_attr
        - sc_compare_path_prefix
        - sc_do_log
        - sc_do_log_color
        - sc_path_set
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:278,2'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:286,7'
          Dst:             asepcos_get_current_df_path
        - Src:             'card-asepcos.c:293,26'
          Dst:             sc_compare_path_prefix
        - Src:             'card-asepcos.c:303,9'
          Dst:             sc_path_set
        - Src:             'card-asepcos.c:321,7'
          Dst:             asepcos_parse_sec_attr
        - Src:             'card-asepcos.c:323,4'
          Dst:             sc_do_log
        - Src:             'card-asepcos.c:325,2'
          Dst:             sc_strerror
        - Src:             'card-asepcos.c:325,2'
          Dst:             sc_do_log_color
        - Src:             'card-asepcos.c:325,2'
          Dst:             sc_do_log
    - functionName:    asepcos_init
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 76
      functionLinenumberEnd: 104
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          75
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_card_add_rsa_alg
        - asepcos_select_asepcos_applet
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:84,11'
          Dst:             asepcos_select_asepcos_applet
        - Src:             'card-asepcos.c:94,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-asepcos.c:95,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-asepcos.c:96,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-asepcos.c:97,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-asepcos.c:98,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-asepcos.c:99,2'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    asepcos_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 47
      functionLinenumberEnd: 52
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:48,10'
          Dst:             _sc_match_atr
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1064
      functionLinenumberEnd: 1082
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:1066,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_asepcos_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1086
      functionLinenumberEnd: 1087
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-asepcos.c:1087,9'
          Dst:             sc_get_driver
    - functionName:    gemsafe_sc2acl
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 233
      functionLinenumberEnd: 256
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          113
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:238,7'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-gemsafeV1.c:242,7'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-gemsafeV1.c:255,9'
          Dst:             sc_file_add_acl_entry
    - functionName:    gemsafe_setacl
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 317
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          226
      EdgeCount:       42
      CyclomaticComplexity: 13
      functionsReached:
        - gemsafe_sc2acl
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:271,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:273,7'
          Dst:             gemsafe_sc2acl
        - Src:             'card-gemsafeV1.c:280,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:284,7'
          Dst:             gemsafe_sc2acl
        - Src:             'card-gemsafeV1.c:294,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:296,7'
          Dst:             gemsafe_sc2acl
        - Src:             'card-gemsafeV1.c:299,7'
          Dst:             gemsafe_sc2acl
        - Src:             'card-gemsafeV1.c:302,7'
          Dst:             gemsafe_sc2acl
        - Src:             'card-gemsafeV1.c:309,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:311,7'
          Dst:             gemsafe_sc2acl
    - functionName:    gemsafe_flags2algref
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 363
      functionLinenumberEnd: 384
      functionDepth:   0
      returnType:      char
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          128
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    get_conf_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          120
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_hex_to_bin
        - scconf_find_blocks
        - scconf_get_str
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:99,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:103,12'
          Dst:             scconf_find_blocks
        - Src:             'card-gemsafeV1.c:111,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:115,12'
          Dst:             scconf_get_str
        - Src:             'card-gemsafeV1.c:117,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:120,9'
          Dst:             sc_hex_to_bin
    - functionName:    gemsafe_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 559
      functionLinenumberEnd: 562
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - iso7816_select_aid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:562,9'
          Dst:             iso7816_select_aid
    - functionName:    gemsafe_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 545
      functionLinenumberEnd: 555
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          94
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - iso7816_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:549,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:552,7'
          Dst:             iso7816_select_aid
        - Src:             'card-gemsafeV1.c:555,2'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:555,2'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:555,2'
          Dst:             sc_do_log
    - functionName:    gemsafe_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 321
      functionLinenumberEnd: 360
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          139
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - gemsafe_setacl
        - sc_asn1_find_tag
        - sc_do_log
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:328,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:333,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:337,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gemsafeV1.c:347,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:349,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gemsafeV1.c:351,39'
          Dst:             strcmp
        - Src:             'card-gemsafeV1.c:351,7'
          Dst:             gemsafe_setacl
        - Src:             'card-gemsafeV1.c:353,4'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:357,3'
          Dst:             sc_do_log
    - functionName:    gemsafe_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 526
      functionLinenumberEnd: 541
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          70
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    gemsafe_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 430
      functionLinenumberEnd: 491
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          401
      EdgeCount:       75
      CyclomaticComplexity: 18
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:438,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:442,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:450,3'
          Dst:             sc_format_apdu
        - Src:             'card-gemsafeV1.c:452,3'
          Dst:             sc_format_apdu
        - Src:             'card-gemsafeV1.c:466,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gemsafeV1.c:467,2'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:467,2'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:472,4'
          Dst:             sc_format_apdu
        - Src:             'card-gemsafeV1.c:480,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-gemsafeV1.c:481,4'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:481,4'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:483,5'
          Dst:             sc_check_sw
        - Src:             'card-gemsafeV1.c:483,5'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:483,5'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:483,5'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:488,3'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:488,3'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:488,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:490,2'
          Dst:             sc_check_sw
        - Src:             'card-gemsafeV1.c:490,2'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:490,2'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:490,2'
          Dst:             sc_do_log
    - functionName:    gemsafe_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 495
      functionLinenumberEnd: 523
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          254
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:501,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:503,3'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:503,3'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:503,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:505,2'
          Dst:             sc_format_apdu
        - Src:             'card-gemsafeV1.c:514,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gemsafeV1.c:515,2'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:515,2'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:520,3'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:520,3'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:520,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:522,2'
          Dst:             sc_check_sw
        - Src:             'card-gemsafeV1.c:522,2'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:522,2'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:522,2'
          Dst:             sc_do_log
    - functionName:    gemsafe_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 406
      functionLinenumberEnd: 425
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          94
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - gemsafe_flags2algref
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:411,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:415,13'
          Dst:             gemsafe_flags2algref
        - Src:             'card-gemsafeV1.c:422,3'
          Dst:             sc_do_log
    - functionName:    gemsafe_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 388
      functionLinenumberEnd: 400
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:392,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:394,2'
          Dst:             sc_format_apdu
        - Src:             'card-gemsafeV1.c:396,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gemsafeV1.c:397,2'
          Dst:             sc_strerror
        - Src:             'card-gemsafeV1.c:397,2'
          Dst:             sc_do_log_color
        - Src:             'card-gemsafeV1.c:399,9'
          Dst:             sc_check_sw
    - functionName:    gemsafe_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 225
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          35
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:227,2'
          Dst:             sc_do_log
    - functionName:    gemsafe_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 215
      functionLinenumberEnd: 220
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          31
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    gemsafe_init
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 212
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         34
      ICount:          257
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - _sc_card_add_rsa_alg
        - calloc
        - get_conf_aid
        - iso7816_select_aid
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:139,2'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:144,29'
          Dst:             calloc
        - Src:             'card-gemsafeV1.c:150,7'
          Dst:             get_conf_aid
        - Src:             'card-gemsafeV1.c:168,6'
          Dst:             iso7816_select_aid
        - Src:             'card-gemsafeV1.c:171,3'
          Dst:             sc_do_log
        - Src:             'card-gemsafeV1.c:189,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-gemsafeV1.c:190,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-gemsafeV1.c:191,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-gemsafeV1.c:192,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-gemsafeV1.c:193,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-gemsafeV1.c:194,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-gemsafeV1.c:205,3'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    gemsafe_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 132
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:127,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 566
      functionLinenumberEnd: 587
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:567,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_gemsafeV1_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 591
      functionLinenumberEnd: 592
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gemsafeV1.c:592,9'
          Dst:             sc_get_driver
    - functionName:    rutoken_cipher_p
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1012
      functionLinenumberEnd: 1066
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          385
      EdgeCount:       73
      CyclomaticComplexity: 17
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1018,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1019,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1022,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1022,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1022,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1024,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1024,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1024,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1026,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:1041,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:1042,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1042,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1043,9'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:1062,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1065,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1065,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1065,2'
          Dst:             sc_do_log
    - functionName:    swap_four
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 229
      functionLinenumberEnd: 240
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          61
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - swap_pair
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:238,3'
          Dst:             swap_pair
    - functionName:    swap_pair
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 226
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         5
      ICount:          49
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rutoken_set_do_hdr
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 828
      functionLinenumberEnd: 857
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          164
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - sc_asn1_put_tag
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:837,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:842,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:848,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:852,2'
          Dst:             sc_asn1_put_tag
    - functionName:    rutoken_format
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1209
      functionLinenumberEnd: 1220
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          98
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1213,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1214,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:1216,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:1217,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1217,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1218,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:1219,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1219,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1219,2'
          Dst:             sc_do_log
    - functionName:    rutoken_cipher_gost
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1072
      functionLinenumberEnd: 1088
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          88
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - rutoken_cipher_p
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1076,9'
          Dst:             rutoken_cipher_p
        - Src:             'card-rutoken.c:1079,9'
          Dst:             rutoken_cipher_p
    - functionName:    rutoken_get_info
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1190
      functionLinenumberEnd: 1206
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          121
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1195,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1196,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:1200,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:1201,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1201,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1202,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:1205,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1205,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1205,2'
          Dst:             sc_do_log
    - functionName:    rutoken_get_serial
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1172
      functionLinenumberEnd: 1187
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          116
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - swap_four
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1176,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1177,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:1181,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:1182,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1182,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1183,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:1185,2'
          Dst:             swap_four
        - Src:             'card-rutoken.c:1186,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1186,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1186,2'
          Dst:             sc_do_log
    - functionName:    rutoken_get_do_info
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 937
      functionLinenumberEnd: 980
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          228
      EdgeCount:       39
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-rutoken.c:957,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-rutoken.c:942,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:951,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:972,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:972,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:972,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:975,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:976,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:976,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:977,9'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:979,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:979,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:979,2'
          Dst:             sc_do_log
    - functionName:    rutoken_delete_do
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 983
      functionLinenumberEnd: 1006
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          133
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:988,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:996,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:1001,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:1002,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1002,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1003,9'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:1005,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1005,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1005,2'
          Dst:             sc_do_log
    - functionName:    rutoken_key_gen
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 860
      functionLinenumberEnd: 890
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          192
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - rutoken_set_do_hdr
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:866,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:881,3'
          Dst:             rutoken_set_do_hdr
        - Src:             'card-rutoken.c:882,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:885,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:886,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:886,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:887,9'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:889,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:889,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:889,2'
          Dst:             sc_do_log
    - functionName:    rutoken_create_do
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 893
      functionLinenumberEnd: 934
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         49
      ICount:          339
      EdgeCount:       65
      CyclomaticComplexity: 18
      functionsReached:
        - rutoken_set_do_hdr
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:899,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:919,3'
          Dst:             rutoken_set_do_hdr
        - Src:             'card-rutoken.c:922,9'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:926,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:929,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:930,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:930,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:931,9'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:933,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:933,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:933,2'
          Dst:             sc_do_log
    - functionName:    set_sec_attr_from_acl
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 554
      functionLinenumberEnd: 602
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          259
      EdgeCount:       40
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_file_set_sec_attr
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:561,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:573,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:577,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-rutoken.c:584,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:586,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:590,5'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:595,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:601,8'
          Dst:             sc_file_set_sec_attr
        - Src:             'card-rutoken.c:602,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:602,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:602,2'
          Dst:             sc_do_log
    - functionName:    rutoken_compute_mac_gost
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1095
      functionLinenumberEnd: 1130
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          259
      EdgeCount:       53
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1101,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1103,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1103,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1103,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1106,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:1125,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:1126,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1126,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1127,9'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:1129,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1129,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1129,2'
          Dst:             sc_do_log
    - functionName:    set_acl_from_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 311
      functionLinenumberEnd: 359
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          238
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_file_add_acl_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:314,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rutoken.c:318,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:321,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rutoken.c:327,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:331,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rutoken.c:339,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rutoken.c:345,5'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:348,5'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rutoken.c:351,5'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:354,5'
          Dst:             sc_file_add_acl_entry
    - functionName:    token_init
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 114
      functionLinenumberEnd: 124
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          116
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:115,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:119,19'
          Dst:             calloc
        - Src:             'card-rutoken.c:121,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:121,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:121,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:123,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:123,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:123,2'
          Dst:             sc_do_log
    - functionName:    rutoken_construct_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 482
      functionLinenumberEnd: 551
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          415
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - sc_asn1_put_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-rutoken.c:512,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-rutoken.c:487,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:499,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:507,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:522,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:522,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:522,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:525,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:530,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:537,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:545,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rutoken.c:550,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:550,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:550,2'
          Dst:             sc_do_log
    - functionName:    rutoken_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 455
      functionLinenumberEnd: 477
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          154
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:460,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:467,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:469,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-rutoken.c:474,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:477,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:477,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:477,2'
          Dst:             sc_do_log
    - functionName:    rutoken_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1223
      functionLinenumberEnd: 1277
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          193
      EdgeCount:       34
      CyclomaticComplexity: 5
      functionsReached:
        - rutoken_cipher_gost
        - rutoken_create_do
        - rutoken_delete_do
        - rutoken_format
        - rutoken_get_do_info
        - rutoken_get_info
        - rutoken_get_serial
        - rutoken_key_gen
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-rutoken.c:1234,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-rutoken.c:1230,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1237,10'
          Dst:             rutoken_create_do
        - Src:             'card-rutoken.c:1240,10'
          Dst:             rutoken_key_gen
        - Src:             'card-rutoken.c:1243,10'
          Dst:             rutoken_delete_do
        - Src:             'card-rutoken.c:1246,10'
          Dst:             rutoken_get_do_info
        - Src:             'card-rutoken.c:1249,10'
          Dst:             rutoken_get_serial
        - Src:             'card-rutoken.c:1255,10'
          Dst:             rutoken_get_info
        - Src:             'card-rutoken.c:1258,10'
          Dst:             rutoken_cipher_gost
        - Src:             'card-rutoken.c:1261,10'
          Dst:             rutoken_cipher_gost
        - Src:             'card-rutoken.c:1266,10'
          Dst:             rutoken_format
        - Src:             'card-rutoken.c:1269,10'
          Dst:             rutoken_format
        - Src:             'card-rutoken.c:1272,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1277,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1277,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1277,2'
          Dst:             sc_do_log
    - functionName:    rutoken_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 200
      functionLinenumberEnd: 213
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          90
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:206,5'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:207,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:211,2'
          Dst:             sc_do_log
    - functionName:    rutoken_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 308
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         76
      ICount:          477
      EdgeCount:       96
      CyclomaticComplexity: 22
      functionsReached:
        - sc_asn1_find_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:252,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:256,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:262,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:263,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:263,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:267,9'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:268,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:268,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:271,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:271,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:271,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:274,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-rutoken.c:277,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:277,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:277,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:286,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-rutoken.c:289,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:289,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:289,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:293,4'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:297,10'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:298,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:298,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:299,10'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:300,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:300,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:302,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:307,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:307,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:307,2'
          Dst:             sc_do_log
    - functionName:    rutoken_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 627
      functionLinenumberEnd: 650
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          210
      EdgeCount:       40
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:631,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:634,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:635,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:635,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:635,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:641,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:647,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:648,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:648,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:648,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:649,2'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:649,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:649,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:649,2'
          Dst:             sc_do_log
    - functionName:    rutoken_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 606
      functionLinenumberEnd: 624
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          153
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - set_sec_attr_from_acl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:611,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:617,9'
          Dst:             set_sec_attr_from_acl
        - Src:             'card-rutoken.c:618,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:618,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:623,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:623,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:623,2'
          Dst:             sc_do_log
    - functionName:    rutoken_reset_retry_counter
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 741
      functionLinenumberEnd: 762
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          106
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:748,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:757,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:758,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:759,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:759,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:760,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:761,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:761,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:761,2'
          Dst:             sc_do_log
    - functionName:    rutoken_change_reference_data
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 718
      functionLinenumberEnd: 736
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          166
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - rutoken_verify
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:722,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:725,9'
          Dst:             rutoken_verify
        - Src:             'card-rutoken.c:726,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:726,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:728,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:732,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:733,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:733,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:734,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:735,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:735,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:735,2'
          Dst:             sc_do_log
    - functionName:    rutoken_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 654
      functionLinenumberEnd: 694
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          292
      EdgeCount:       57
      CyclomaticComplexity: 14
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:658,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:659,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:660,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:669,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:671,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:672,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:672,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:673,9'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:674,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:674,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:677,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:681,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:682,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:682,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:683,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:686,3'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:687,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:688,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:688,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:689,9'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:693,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:693,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:693,2'
          Dst:             sc_do_log
    - functionName:    rutoken_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1135
      functionLinenumberEnd: 1148
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          136
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - rutoken_compute_mac_gost
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1139,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1141,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1141,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1141,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1144,9'
          Dst:             rutoken_compute_mac_gost
        - Src:             'card-rutoken.c:1147,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1147,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1147,2'
          Dst:             sc_do_log
    - functionName:    rutoken_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 780
      functionLinenumberEnd: 825
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          365
      EdgeCount:       66
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-rutoken.c:806,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-rutoken.c:786,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:788,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:788,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:788,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:791,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:791,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:791,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:793,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:793,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:793,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:798,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:799,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:799,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:799,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:803,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:818,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:818,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:818,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:821,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:822,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:822,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:823,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:824,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:824,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:824,2'
          Dst:             sc_do_log
    - functionName:    rutoken_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 765
      functionLinenumberEnd: 775
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          96
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:769,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:770,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:771,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:772,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:772,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:773,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:774,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:774,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:774,2'
          Dst:             sc_do_log
    - functionName:    rutoken_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 697
      functionLinenumberEnd: 713
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          122
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - rutoken_select_file
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_format_path
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:702,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:703,2'
          Dst:             sc_format_path
        - Src:             'card-rutoken.c:704,8'
          Dst:             rutoken_select_file
        - Src:             'card-rutoken.c:705,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:705,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:707,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:709,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:710,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:710,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:711,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:712,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:712,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:712,2'
          Dst:             sc_do_log
    - functionName:    rutoken_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 363
      functionLinenumberEnd: 451
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         118
      ICount:          719
      EdgeCount:       147
      CyclomaticComplexity: 31
      functionsReached:
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - set_acl_from_sec_attr
        - swap_pair
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-rutoken.c:381,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-rutoken.c:372,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:380,2'
          Dst:             sc_format_apdu
        - Src:             'card-rutoken.c:385,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:385,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:385,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:388,23'
          Dst:             memcmp
        - Src:             'card-rutoken.c:400,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:400,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:400,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:402,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:402,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:402,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:404,2'
          Dst:             swap_pair
        - Src:             'card-rutoken.c:413,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rutoken.c:414,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:414,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:418,4'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:418,4'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:418,4'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:419,3'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:419,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:419,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:419,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:421,8'
          Dst:             sc_check_sw
        - Src:             'card-rutoken.c:422,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:422,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:425,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:425,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:425,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:427,9'
          Dst:             sc_file_new
        - Src:             'card-rutoken.c:429,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:429,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:429,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:433,3'
          Dst:             sc_file_free
        - Src:             'card-rutoken.c:434,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:434,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:434,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:441,3'
          Dst:             set_acl_from_sec_attr
        - Src:             'card-rutoken.c:445,3'
          Dst:             sc_file_free
        - Src:             'card-rutoken.c:450,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:450,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:450,2'
          Dst:             sc_do_log
    - functionName:    rutoken_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1151
      functionLinenumberEnd: 1169
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          119
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1156,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:1159,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1159,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1168,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:1168,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:1168,2'
          Dst:             sc_do_log
    - functionName:    rutoken_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 94
      functionLinenumberEnd: 100
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          70
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:95,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:99,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:99,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:99,2'
          Dst:             sc_do_log
    - functionName:    rutoken_init
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 127
      functionLinenumberEnd: 140
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          92
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_match_atr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - token_init
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:130,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:132,6'
          Dst:             _sc_match_atr
        - Src:             'card-rutoken.c:133,9'
          Dst:             token_init
        - Src:             'card-rutoken.c:135,9'
          Dst:             token_init
        - Src:             'card-rutoken.c:140,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:140,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:140,2'
          Dst:             sc_do_log
    - functionName:    rutoken_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 103
      functionLinenumberEnd: 111
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          107
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_match_atr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:104,2'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:105,6'
          Dst:             _sc_match_atr
        - Src:             'card-rutoken.c:107,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:108,3'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:108,3'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:108,3'
          Dst:             sc_do_log
        - Src:             'card-rutoken.c:110,2'
          Dst:             sc_strerror
        - Src:             'card-rutoken.c:110,2'
          Dst:             sc_do_log_color
        - Src:             'card-rutoken.c:110,2'
          Dst:             sc_do_log
    - functionName:    get_rutoken_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1281
      functionLinenumberEnd: 1316
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          55
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1283,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_rutoken_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1320
      functionLinenumberEnd: 1321
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_rutoken_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rutoken.c:1321,9'
          Dst:             get_rutoken_driver
    - functionName:    reverse
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 123
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          73
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    to_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 164
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          62
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    set_sec_attr_from_acl
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 281
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         42
      ICount:          314
      EdgeCount:       56
      CyclomaticComplexity: 16
      functionsReached:
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_file_set_sec_attr
        - sc_strerror
        - to_sec_attr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:231,10'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-rtecp.c:235,21'
          Dst:             to_sec_attr
        - Src:             'card-rtecp.c:239,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-rtecp.c:244,22'
          Dst:             to_sec_attr
        - Src:             'card-rtecp.c:247,22'
          Dst:             to_sec_attr
        - Src:             'card-rtecp.c:252,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-rtecp.c:256,22'
          Dst:             to_sec_attr
        - Src:             'card-rtecp.c:258,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-rtecp.c:262,22'
          Dst:             to_sec_attr
        - Src:             'card-rtecp.c:264,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-rtecp.c:269,22'
          Dst:             to_sec_attr
        - Src:             'card-rtecp.c:273,30'
          Dst:             memcmp
        - Src:             'card-rtecp.c:279,6'
          Dst:             sc_file_set_sec_attr
        - Src:             'card-rtecp.c:280,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:280,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:280,2'
          Dst:             sc_do_log
    - functionName:    rtecp_cipher
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 396
      functionLinenumberEnd: 458
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         71
      ICount:          426
      EdgeCount:       92
      CyclomaticComplexity: 23
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:411,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:411,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:411,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:418,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:420,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:429,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:431,3'
          Dst:             sc_mem_clear
        - Src:             'card-rtecp.c:435,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:435,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:442,5'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:442,5'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:442,5'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:450,8'
          Dst:             sc_check_sw
        - Src:             'card-rtecp.c:453,3'
          Dst:             sc_mem_clear
        - Src:             'card-rtecp.c:456,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:456,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:456,2'
          Dst:             sc_do_log
    - functionName:    sec_attr_to_key_ref
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 155
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          33
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sec_attr_to_method
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 139
      functionLinenumberEnd: 148
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          41
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    set_acl_from_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 167
      functionLinenumberEnd: 219
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          231
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_file_add_acl_entry
        - sec_attr_to_key_ref
        - sec_attr_to_method
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:178,2'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rtecp.c:181,12'
          Dst:             sec_attr_to_method
        - Src:             'card-rtecp.c:182,13'
          Dst:             sec_attr_to_key_ref
        - Src:             'card-rtecp.c:183,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:186,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rtecp.c:190,12'
          Dst:             sec_attr_to_method
        - Src:             'card-rtecp.c:191,13'
          Dst:             sec_attr_to_key_ref
        - Src:             'card-rtecp.c:192,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:197,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rtecp.c:202,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rtecp.c:208,13'
          Dst:             sec_attr_to_method
        - Src:             'card-rtecp.c:209,14'
          Dst:             sec_attr_to_key_ref
        - Src:             'card-rtecp.c:210,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:213,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-rtecp.c:214,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:217,4'
          Dst:             sc_file_add_acl_entry
    - functionName:    rtecp_construct_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 800
      functionLinenumberEnd: 865
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          502
      EdgeCount:       81
      CyclomaticComplexity: 18
      functionsReached:
        - sc_asn1_put_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-rtecp.c:826,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-rtecp.c:813,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rtecp.c:819,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:819,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:819,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:821,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rtecp.c:836,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:836,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:836,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:839,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rtecp.c:844,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rtecp.c:849,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:849,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:849,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:851,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rtecp.c:857,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:857,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:857,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:859,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rtecp.c:864,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:864,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:864,2'
          Dst:             sc_do_log
    - functionName:    rtecp_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 704
      functionLinenumberEnd: 796
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         76
      ICount:          501
      EdgeCount:       95
      CyclomaticComplexity: 21
      functionsReached:
        - reverse
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-rtecp.c:716,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-rtecp.c:719,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:723,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:728,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:728,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:728,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:729,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:737,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:737,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:737,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:738,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:751,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:756,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:758,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:758,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:758,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:760,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:761,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:761,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:762,6'
          Dst:             sc_check_sw
        - Src:             'card-rtecp.c:771,4'
          Dst:             reverse
        - Src:             'card-rtecp.c:795,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:795,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:795,2'
          Dst:             sc_do_log
    - functionName:    rtecp_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 638
      functionLinenumberEnd: 701
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         74
      ICount:          462
      EdgeCount:       94
      CyclomaticComplexity: 22
      functionsReached:
        - sc_asn1_find_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:648,2'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:654,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:655,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:655,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:659,7'
          Dst:             sc_check_sw
        - Src:             'card-rtecp.c:660,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:660,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:663,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:663,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:663,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:666,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-rtecp.c:669,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:669,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:669,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:678,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-rtecp.c:681,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:681,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:681,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:685,4'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:690,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:691,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:691,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:692,8'
          Dst:             sc_check_sw
        - Src:             'card-rtecp.c:693,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:693,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:695,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:700,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:700,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:700,2'
          Dst:             sc_do_log
    - functionName:    rtecp_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 621
      functionLinenumberEnd: 635
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          128
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - set_sec_attr_from_acl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:629,7'
          Dst:             set_sec_attr_from_acl
        - Src:             'card-rtecp.c:630,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:630,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:634,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:634,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:634,2'
          Dst:             sc_do_log
    - functionName:    rtecp_reset_retry_counter
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 581
      functionLinenumberEnd: 618
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          294
      EdgeCount:       48
      CyclomaticComplexity: 12
      functionsReached:
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:590,2'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:591,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:592,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:592,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:593,6'
          Dst:             sc_check_sw
        - Src:             'card-rtecp.c:594,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:594,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:602,3'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rtecp.c:603,7'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rtecp.c:604,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:604,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:606,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:611,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:612,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:612,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:613,7'
          Dst:             sc_check_sw
        - Src:             'card-rtecp.c:614,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:614,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:617,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:617,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:617,2'
          Dst:             sc_do_log
    - functionName:    rtecp_change_reference_data
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 497
      functionLinenumberEnd: 576
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         87
      ICount:          627
      EdgeCount:       111
      CyclomaticComplexity: 26
      functionsReached:
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_max_send_size
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
        - sc_verify
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:506,2'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:508,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:508,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:508,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:511,7'
          Dst:             sc_verify
        - Src:             'card-rtecp.c:512,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:512,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:515,24'
          Dst:             sc_get_max_send_size
        - Src:             'card-rtecp.c:517,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:517,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:517,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:527,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:527,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:527,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:530,2'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:537,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:537,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:537,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:540,2'
          Dst:             sc_asn1_put_tag
        - Src:             'card-rtecp.c:546,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:546,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:546,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:557,4'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:557,4'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:557,4'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:570,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:571,2'
          Dst:             sc_mem_clear
        - Src:             'card-rtecp.c:573,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:573,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:574,6'
          Dst:             sc_check_sw
        - Src:             'card-rtecp.c:575,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:575,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:575,2'
          Dst:             sc_do_log
    - functionName:    rtecp_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 479
      functionLinenumberEnd: 492
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          159
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - rtecp_cipher
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:487,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:487,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:487,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:490,6'
          Dst:             rtecp_cipher
        - Src:             'card-rtecp.c:491,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:491,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:491,2'
          Dst:             sc_do_log
    - functionName:    rtecp_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 462
      functionLinenumberEnd: 475
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          159
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - rtecp_cipher
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:470,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:470,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:470,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:473,6'
          Dst:             rtecp_cipher
        - Src:             'card-rtecp.c:474,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:474,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:474,2'
          Dst:             sc_do_log
    - functionName:    rtecp_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 384
      functionLinenumberEnd: 392
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          47
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rtecp_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 366
      functionLinenumberEnd: 379
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          107
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:373,2'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:375,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:376,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:376,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:377,6'
          Dst:             sc_check_sw
        - Src:             'card-rtecp.c:378,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:378,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:378,2'
          Dst:             sc_do_log
    - functionName:    rtecp_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 326
      functionLinenumberEnd: 363
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          269
      EdgeCount:       61
      CyclomaticComplexity: 16
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_logout
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:337,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:342,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:343,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:343,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:346,9'
          Dst:             sc_logout
        - Src:             'card-rtecp.c:347,5'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:347,5'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:355,3'
          Dst:             sc_format_apdu
        - Src:             'card-rtecp.c:356,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-rtecp.c:357,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:357,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:359,6'
          Dst:             sc_check_sw
        - Src:             'card-rtecp.c:362,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:362,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:362,2'
          Dst:             sc_do_log
    - functionName:    rtecp_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 285
      functionLinenumberEnd: 322
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          282
      EdgeCount:       60
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
        - set_acl_from_sec_attr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-rtecp.c:294,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-rtecp.c:292,2'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:299,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:299,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:299,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:306,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:306,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:306,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:309,3'
          Dst:             set_acl_from_sec_attr
        - Src:             'card-rtecp.c:312,3'
          Dst:             sc_file_free
        - Src:             'card-rtecp.c:313,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:313,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:313,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:319,3'
          Dst:             sc_file_free
        - Src:             'card-rtecp.c:321,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:321,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:321,2'
          Dst:             sc_do_log
    - functionName:    rtecp_init
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 84
      functionLinenumberEnd: 120
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          175
      EdgeCount:       30
      CyclomaticComplexity: 8
      functionsReached:
        - _sc_card_add_algorithm
        - _sc_card_add_rsa_alg
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:95,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:95,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:95,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:102,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-rtecp.c:103,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-rtecp.c:104,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-rtecp.c:105,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-rtecp.c:106,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-rtecp.c:107,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-rtecp.c:108,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-rtecp.c:109,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-rtecp.c:110,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-rtecp.c:117,2'
          Dst:             _sc_card_add_algorithm
        - Src:             'card-rtecp.c:119,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:119,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:119,2'
          Dst:             sc_do_log
    - functionName:    rtecp_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 81
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          109
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_match_atr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:75,6'
          Dst:             _sc_match_atr
        - Src:             'card-rtecp.c:78,3'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:78,3'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:78,3'
          Dst:             sc_do_log
        - Src:             'card-rtecp.c:80,2'
          Dst:             sc_strerror
        - Src:             'card-rtecp.c:80,2'
          Dst:             sc_do_log_color
        - Src:             'card-rtecp.c:80,2'
          Dst:             sc_do_log
    - functionName:    sc_get_rtecp_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 868
      functionLinenumberEnd: 901
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-rtecp.c:870,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    myeid_enc_dec_sym
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1852
      functionLinenumberEnd: 2083
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         181
      ICount:          1166
      EdgeCount:       229
      CyclomaticComplexity: 50
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_max_recv_size
        - sc_get_max_send_size
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-myeid.c:1903,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-myeid.c:1873,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1882,21'
          Dst:             sc_get_max_send_size
        - Src:             'card-myeid.c:1883,25'
          Dst:             sc_get_max_recv_size
        - Src:             'card-myeid.c:1884,22'
          Dst:             sc_get_max_recv_size
        - Src:             'card-myeid.c:1889,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1897,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1918,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1918,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1918,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1936,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1936,4'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1936,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1941,5'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1941,5'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1941,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1944,5'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1944,5'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1944,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1951,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1953,6'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1953,6'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1953,6'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1957,7'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1957,7'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1957,7'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1963,5'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1963,5'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1963,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1966,5'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1966,5'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1966,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1969,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1975,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1981,5'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1981,5'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1981,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1989,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1996,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1996,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1996,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1999,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1999,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1999,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:2004,4'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:2006,4'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:2040,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:2041,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:2041,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:2042,7'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:2043,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:2043,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:2045,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:2045,4'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:2045,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:2063,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:2077,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:2080,2'
          Dst:             sc_do_log
    - functionName:    myeid_loadkey
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1526
      functionLinenumberEnd: 1580
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          287
      EdgeCount:       54
      CyclomaticComplexity: 14
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1532,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1540,3'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1547,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1548,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1548,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1550,7'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1551,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1551,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1568,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1575,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1576,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1576,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1578,6'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1579,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1579,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1579,2'
          Dst:             sc_do_log
    - functionName:    myeid_get_change_counter
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1753
      functionLinenumberEnd: 1766
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          98
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - myeid_get_info
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1757,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1760,6'
          Dst:             myeid_get_info
        - Src:             'card-myeid.c:1761,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1761,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1765,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1765,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1765,2'
          Dst:             sc_do_log
    - functionName:    myeid_get_info
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1690
      functionLinenumberEnd: 1722
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          174
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - snprintf
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1694,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1696,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1701,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1702,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1702,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1709,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1717,2'
          Dst:             snprintf
        - Src:             'card-myeid.c:1721,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1721,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1721,2'
          Dst:             sc_do_log
    - functionName:    myeid_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1725
      functionLinenumberEnd: 1749
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          101
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - myeid_get_info
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1729,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1738,6'
          Dst:             myeid_get_info
        - Src:             'card-myeid.c:1739,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1739,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1748,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1748,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1748,2'
          Dst:             sc_do_log
    - functionName:    myeid_activate_card
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1668
      functionLinenumberEnd: 1687
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          126
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1673,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1674,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1680,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1681,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1681,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1683,6'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1684,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1684,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1686,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1686,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1686,2'
          Dst:             sc_do_log
    - functionName:    myeid_generate_store_key
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1585
      functionLinenumberEnd: 1665
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         77
      ICount:          547
      EdgeCount:       100
      CyclomaticComplexity: 25
      functionsReached:
        - myeid_loadkey
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1590,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1606,4'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1611,4'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1623,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1624,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1624,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1626,7'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1627,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1627,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1633,10'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1635,7'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1637,7'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1639,7'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1641,7'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1643,7'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1645,7'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1647,5'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1647,5'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1647,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1650,12'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1652,10'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1654,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1654,4'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1654,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1658,12'
          Dst:             myeid_loadkey
        - Src:             'card-myeid.c:1660,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1660,4'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1660,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1664,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1664,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1664,2'
          Dst:             sc_do_log
    - functionName:    myeid_getdata
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1491
      functionLinenumberEnd: 1523
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          180
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1495,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1511,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1512,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1512,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1514,6'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1515,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1515,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1522,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1522,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1522,2'
          Dst:             sc_do_log
    - functionName:    myeid_putdata
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1464
      functionLinenumberEnd: 1487
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          149
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1468,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1480,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1481,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1481,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1483,6'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1484,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1484,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1486,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1486,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1486,2'
          Dst:             sc_do_log
    - functionName:    myeid_transmit_decipher_pi_split
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1274
      functionLinenumberEnd: 1311
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          231
      EdgeCount:       31
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1284,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1295,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1296,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1296,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1309,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1310,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1310,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1310,2'
          Dst:             sc_do_log
    - functionName:    myeid_transmit_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1315
      functionLinenumberEnd: 1366
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - char
        - char
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          384
      EdgeCount:       79
      CyclomaticComplexity: 20
      functionsReached:
        - myeid_transmit_decipher_pi_split
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1322,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1329,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1332,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1332,4'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1332,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1349,7'
          Dst:             myeid_transmit_decipher_pi_split
        - Src:             'card-myeid.c:1352,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1354,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1354,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1356,6'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1357,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1357,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1365,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1365,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1365,2'
          Dst:             sc_do_log
    - functionName:    myeid_convert_ec_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1020
      functionLinenumberEnd: 1077
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          294
      EdgeCount:       63
      CyclomaticComplexity: 17
      functionsReached:
        - calloc
        - sc_asn1_sig_value_sequence_to_rs
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1061,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1061,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1061,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1063,8'
          Dst:             calloc
        - Src:             'card-myeid.c:1065,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1065,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1065,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1067,6'
          Dst:             sc_asn1_sig_value_sequence_to_rs
        - Src:             'card-myeid.c:1070,3'
          Dst:             sc_do_log
    - functionName:    myeid_compute_raw_2048_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1085
      functionLinenumberEnd: 1143
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          318
      EdgeCount:       45
      CyclomaticComplexity: 11
      functionsReached:
        - myeid_set_security_env_rsa
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1095,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1105,2'
          Dst:             myeid_set_security_env_rsa
        - Src:             'card-myeid.c:1107,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1119,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1120,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1120,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1123,3'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1133,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1134,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1134,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1139,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1139,4'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1139,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1142,2'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1142,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1142,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1142,2'
          Dst:             sc_do_log
    - functionName:    myeid_set_security_env_rsa
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 693
      functionLinenumberEnd: 841
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         101
      ICount:          710
      EdgeCount:       133
      CyclomaticComplexity: 34
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    4
      BranchProfiles:
        - Branch String:   'card-myeid.c:717,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-myeid.c:703,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:707,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:712,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:716,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:779,5'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:799,6'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:824,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:827,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:827,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:831,7'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:834,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:834,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:840,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:840,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:840,2'
          Dst:             sc_do_log
    - functionName:    myeid_set_security_env_ec
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 845
      functionLinenumberEnd: 931
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          316
      EdgeCount:       51
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-myeid.c:868,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-myeid.c:854,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:858,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:863,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:867,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:871,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:914,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:917,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:917,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:921,7'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:924,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:924,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:930,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:930,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:930,2'
          Dst:             sc_do_log
    - functionName:    acl_to_byte
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 309
      functionLinenumberEnd: 327
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          90
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    10
      BranchProfiles:
        - Branch String:   'card-myeid.c:312,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    encode_file_structure
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 485
      functionLinenumberEnd: 614
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          562
      EdgeCount:       64
      CyclomaticComplexity: 12
      functionsReached:
        - acl_to_byte
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-myeid.c:538,3'
          Branch Sides:    []
        - Branch String:   'card-myeid.c:584,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-myeid.c:489,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:492,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:492,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:492,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:530,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:534,12'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-myeid.c:536,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:541,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-myeid.c:542,13'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-myeid.c:544,15'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:544,41'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:545,15'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:549,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-myeid.c:550,13'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-myeid.c:551,15'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-myeid.c:553,15'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:553,41'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:554,15'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:554,42'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:558,13'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-myeid.c:560,15'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:560,43'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:561,15'
          Dst:             acl_to_byte
        - Src:             'card-myeid.c:607,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:613,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:613,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:613,2'
          Dst:             sc_do_log
    - functionName:    add_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 330
      functionLinenumberEnd: 347
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          49
      EdgeCount:       13
      CyclomaticComplexity: 8
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-myeid.c:333,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-myeid.c:346,2'
          Dst:             sc_file_add_acl_entry
    - functionName:    parse_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 350
      functionLinenumberEnd: 388
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          135
      EdgeCount:       23
      CyclomaticComplexity: 5
      functionsReached:
        - add_acl_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-myeid.c:364,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-myeid.c:384,4'
          Dst:             add_acl_entry
        - Src:             'card-myeid.c:386,4'
          Dst:             add_acl_entry
    - functionName:    myeid_get_card_caps
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1773
      functionLinenumberEnd: 1805
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          200
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1778,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1780,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1785,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1786,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1786,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1792,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1804,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1804,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1804,2'
          Dst:             sc_do_log
    - functionName:    myeid_load_options
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 143
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          114
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - scconf_find_blocks
        - scconf_get_int
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:154,18'
          Dst:             scconf_find_blocks
        - Src:             'card-myeid.c:159,37'
          Dst:             scconf_get_int
        - Src:             'card-myeid.c:160,4'
          Dst:             sc_do_log
    - functionName:    myeid_decrypt_sym
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2093
      functionLinenumberEnd: 2094
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - myeid_enc_dec_sym
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:2094,9'
          Dst:             myeid_enc_dec_sym
    - functionName:    myeid_encrypt_sym
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2087
      functionLinenumberEnd: 2088
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - myeid_enc_dec_sym
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:2088,9'
          Dst:             myeid_enc_dec_sym
    - functionName:    myeid_unwrap_key
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1428
      functionLinenumberEnd: 1459
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          236
      EdgeCount:       58
      CyclomaticComplexity: 15
      functionsReached:
        - myeid_transmit_decipher
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1437,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1440,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1440,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1440,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1451,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1451,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1457,6'
          Dst:             myeid_transmit_decipher
        - Src:             'card-myeid.c:1458,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1458,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1458,2'
          Dst:             sc_do_log
    - functionName:    myeid_wrap_key
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1396
      functionLinenumberEnd: 1425
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          161
      EdgeCount:       31
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1405,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1410,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1416,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1417,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1417,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1418,6'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1419,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1419,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1424,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1424,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1424,2'
          Dst:             sc_do_log
    - functionName:    myeid_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 667
      functionLinenumberEnd: 687
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          193
      EdgeCount:       32
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:670,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:672,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:676,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:676,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:676,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:682,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:686,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:686,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:686,2'
          Dst:             sc_do_log
    - functionName:    myeid_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1808
      functionLinenumberEnd: 1839
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          130
      EdgeCount:       22
      CyclomaticComplexity: 2
      functionsReached:
        - myeid_activate_card
        - myeid_generate_store_key
        - myeid_get_change_counter
        - myeid_get_serialnr
        - myeid_getdata
        - myeid_putdata
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-myeid.c:1812,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-myeid.c:1810,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1814,7'
          Dst:             myeid_putdata
        - Src:             'card-myeid.c:1818,7'
          Dst:             myeid_getdata
        - Src:             'card-myeid.c:1822,7'
          Dst:             myeid_generate_store_key
        - Src:             'card-myeid.c:1826,7'
          Dst:             myeid_activate_card
        - Src:             'card-myeid.c:1829,7'
          Dst:             myeid_get_serialnr
        - Src:             'card-myeid.c:1832,7'
          Dst:             myeid_get_change_counter
        - Src:             'card-myeid.c:1839,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1839,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1839,2'
          Dst:             sc_do_log
    - functionName:    myeid_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 442
      functionLinenumberEnd: 481
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          265
      EdgeCount:       42
      CyclomaticComplexity: 9
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-myeid.c:468,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-myeid.c:448,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:451,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:451,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:451,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:455,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-myeid.c:463,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:471,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:474,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:477,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:480,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:480,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:480,2'
          Dst:             sc_do_log
    - functionName:    myeid_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1370
      functionLinenumberEnd: 1392
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          197
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached:
        - myeid_ecdh_derive
        - myeid_transmit_decipher
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1377,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1385,7'
          Dst:             myeid_ecdh_derive
        - Src:             'card-myeid.c:1387,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1387,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1387,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1390,6'
          Dst:             myeid_transmit_decipher
        - Src:             'card-myeid.c:1391,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1391,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1391,2'
          Dst:             sc_do_log
    - functionName:    myeid_ecdh_derive
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1218
      functionLinenumberEnd: 1271
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          250
      EdgeCount:       38
      CyclomaticComplexity: 9
      functionsReached:
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1231,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1242,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-myeid.c:1243,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1243,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1247,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-myeid.c:1248,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1248,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1255,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1257,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1257,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1259,6'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1260,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1260,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1265,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1265,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1270,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1270,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1270,2'
          Dst:             sc_do_log
    - functionName:    myeid_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1148
      functionLinenumberEnd: 1213
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          422
      EdgeCount:       78
      CyclomaticComplexity: 19
      functionsReached:
        - myeid_compute_raw_2048_signature
        - myeid_convert_ec_signature
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:1161,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1164,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1179,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1179,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1179,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1182,10'
          Dst:             myeid_compute_raw_2048_signature
        - Src:             'card-myeid.c:1187,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:1197,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:1198,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1198,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1199,6'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:1200,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1200,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1203,7'
          Dst:             myeid_convert_ec_signature
        - Src:             'card-myeid.c:1204,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1204,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1209,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1209,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1209,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1212,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:1212,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:1212,2'
          Dst:             sc_do_log
    - functionName:    myeid_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 935
      functionLinenumberEnd: 1015
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          289
      EdgeCount:       65
      CyclomaticComplexity: 18
      functionsReached:
        - myeid_set_security_env_ec
        - myeid_set_security_env_rsa
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:939,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:975,11'
          Dst:             myeid_set_security_env_rsa
        - Src:             'card-myeid.c:981,11'
          Dst:             myeid_set_security_env_ec
        - Src:             'card-myeid.c:1005,11'
          Dst:             myeid_set_security_env_rsa
        - Src:             'card-myeid.c:1010,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:1014,9'
          Dst:             myeid_set_security_env_rsa
    - functionName:    myeid_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 421
      functionLinenumberEnd: 438
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          100
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:425,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:427,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:432,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:434,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:434,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:436,10'
          Dst:             sc_check_sw
    - functionName:    myeid_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 644
      functionLinenumberEnd: 664
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          184
      EdgeCount:       34
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_select_file
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:648,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:651,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:652,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:652,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:652,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:654,6'
          Dst:             sc_select_file
        - Src:             'card-myeid.c:655,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:655,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:657,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:660,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:661,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:661,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:663,2'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:663,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:663,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:663,2'
          Dst:             sc_do_log
    - functionName:    myeid_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 617
      functionLinenumberEnd: 641
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          214
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - encode_file_structure
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:623,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:625,6'
          Dst:             encode_file_structure
        - Src:             'card-myeid.c:627,4'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:627,4'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:627,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:629,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:634,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:635,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:635,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:637,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:637,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:637,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:639,6'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:640,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:640,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:640,2'
          Dst:             sc_do_log
    - functionName:    myeid_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 405
      functionLinenumberEnd: 418
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          93
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:409,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:411,2'
          Dst:             sc_format_apdu
        - Src:             'card-myeid.c:414,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-myeid.c:415,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:415,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:417,2'
          Dst:             sc_check_sw
        - Src:             'card-myeid.c:417,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:417,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:417,2'
          Dst:             sc_do_log
    - functionName:    myeid_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 392
      functionLinenumberEnd: 401
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          110
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - parse_sec_attr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:395,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:399,3'
          Dst:             parse_sec_attr
        - Src:             'card-myeid.c:401,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:401,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:401,2'
          Dst:             sc_do_log
    - functionName:    myeid_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1843
      functionLinenumberEnd: 1846
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    myeid_init
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 304
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         110
      ICount:          699
      EdgeCount:       139
      CyclomaticComplexity: 31
      functionsReached:
        - _sc_card_add_ec_alg
        - _sc_card_add_rsa_alg
        - _sc_card_add_symmetric_alg
        - calloc
        - iso7816_select_aid
        - myeid_get_card_caps
        - myeid_get_info
        - myeid_load_options
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-myeid.c:183,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-myeid.c:181,2'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:191,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:191,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:191,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:194,9'
          Dst:             calloc
        - Src:             'card-myeid.c:197,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:197,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:197,3'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:199,7'
          Dst:             myeid_load_options
        - Src:             'card-myeid.c:200,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:200,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:206,7'
          Dst:             iso7816_select_aid
        - Src:             'card-myeid.c:207,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:207,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:213,10'
          Dst:             myeid_get_info
        - Src:             'card-myeid.c:214,3'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:214,3'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:225,10'
          Dst:             myeid_get_card_caps
        - Src:             'card-myeid.c:226,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:235,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-myeid.c:236,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-myeid.c:237,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-myeid.c:238,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-myeid.c:239,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-myeid.c:243,4'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-myeid.c:245,4'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-myeid.c:258,5'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-myeid.c:266,4'
          Dst:             _sc_card_add_symmetric_alg
        - Src:             'card-myeid.c:268,4'
          Dst:             _sc_card_add_symmetric_alg
        - Src:             'card-myeid.c:270,4'
          Dst:             _sc_card_add_symmetric_alg
        - Src:             'card-myeid.c:274,4'
          Dst:             _sc_card_add_symmetric_alg
        - Src:             'card-myeid.c:276,4'
          Dst:             _sc_card_add_symmetric_alg
        - Src:             'card-myeid.c:303,2'
          Dst:             sc_strerror
        - Src:             'card-myeid.c:303,2'
          Dst:             sc_do_log_color
        - Src:             'card-myeid.c:303,2'
          Dst:             sc_do_log
    - functionName:    myeid_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 122
      functionLinenumberEnd: 140
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          87
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - memcmp
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:127,8'
          Dst:             memcmp
        - Src:             'card-myeid.c:128,4'
          Dst:             sc_do_log
        - Src:             'card-myeid.c:133,8'
          Dst:             memcmp
        - Src:             'card-myeid.c:134,4'
          Dst:             sc_do_log
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2098
      functionLinenumberEnd: 2129
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:2099,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_myeid_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2133
      functionLinenumberEnd: 2134
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-myeid.c:2134,9'
          Dst:             sc_get_driver
    - functionName:    itacns_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 434
      functionLinenumberEnd: 482
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          118
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_file_free
        - sc_format_path
        - sc_read_binary
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:449,2'
          Dst:             sc_do_log
        - Src:             'card-itacns.c:451,2'
          Dst:             sc_format_path
        - Src:             'card-itacns.c:453,6'
          Dst:             sc_select_file
        - Src:             'card-itacns.c:458,2'
          Dst:             sc_file_free
        - Src:             'card-itacns.c:465,3'
          Dst:             sc_do_log
        - Src:             'card-itacns.c:470,6'
          Dst:             sc_read_binary
    - functionName:    add_acl_entry
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 350
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          65
      EdgeCount:       12
      CyclomaticComplexity: 2
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-itacns.c:353,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-itacns.c:370,2'
          Dst:             sc_file_add_acl_entry
    - functionName:    parse_sec_attr
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 403
      functionLinenumberEnd: 416
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          82
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - add_acl_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:412,4'
          Dst:             add_acl_entry
    - functionName:    itacns_init_cns_card
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 67
      functionLinenumberEnd: 82
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          93
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:78,3'
          Dst:             snprintf
        - Src:             'card-itacns.c:79,3'
          Dst:             sc_do_log
    - functionName:    itacns_match_cie_card
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 110
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          56
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:113,11'
          Dst:             memcmp
    - functionName:    itacns_match_cns_card
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 85
      functionLinenumberEnd: 107
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          114
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:91,11'
          Dst:             memcmp
    - functionName:    itacns_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 496
      functionLinenumberEnd: 500
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          52
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    itacns_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 486
      functionLinenumberEnd: 492
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       11
      CyclomaticComplexity: 7
      functionsReached:
        - itacns_get_serialnr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-itacns.c:487,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-itacns.c:489,10'
          Dst:             itacns_get_serialnr
    - functionName:    itacns_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 421
      functionLinenumberEnd: 430
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          102
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - parse_sec_attr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:424,2'
          Dst:             sc_do_log
        - Src:             'card-itacns.c:427,3'
          Dst:             parse_sec_attr
        - Src:             'card-itacns.c:430,2'
          Dst:             sc_strerror
        - Src:             'card-itacns.c:430,2'
          Dst:             sc_do_log_color
        - Src:             'card-itacns.c:430,2'
          Dst:             sc_do_log
    - functionName:    itacns_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 336
      functionLinenumberEnd: 347
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          63
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - sc_get_cardos_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:341,14'
          Dst:             sc_get_cardos_driver
    - functionName:    itacns_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 316
      functionLinenumberEnd: 334
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          112
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    itacns_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 297
      functionLinenumberEnd: 310
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          88
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    itacns_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 219
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          126
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:196,2'
          Dst:             sc_do_log
        - Src:             'card-itacns.c:207,2'
          Dst:             sc_format_apdu
        - Src:             'card-itacns.c:212,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-itacns.c:213,2'
          Dst:             sc_strerror
        - Src:             'card-itacns.c:213,2'
          Dst:             sc_do_log_color
        - Src:             'card-itacns.c:215,6'
          Dst:             sc_check_sw
        - Src:             'card-itacns.c:216,2'
          Dst:             sc_strerror
        - Src:             'card-itacns.c:216,2'
          Dst:             sc_do_log_color
        - Src:             'card-itacns.c:218,2'
          Dst:             sc_strerror
        - Src:             'card-itacns.c:218,2'
          Dst:             sc_do_log_color
        - Src:             'card-itacns.c:218,2'
          Dst:             sc_do_log
    - functionName:    itacns_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 233
      functionLinenumberEnd: 286
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          240
      EdgeCount:       41
      CyclomaticComplexity: 9
      functionsReached:
        - itacns_restore_security_env
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-itacns.c:259,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-itacns.c:246,3'
          Dst:             sc_do_log
        - Src:             'card-itacns.c:254,6'
          Dst:             itacns_restore_security_env
        - Src:             'card-itacns.c:256,2'
          Dst:             sc_strerror
        - Src:             'card-itacns.c:256,2'
          Dst:             sc_do_log_color
        - Src:             'card-itacns.c:258,2'
          Dst:             sc_format_apdu
        - Src:             'card-itacns.c:270,2'
          Dst:             sc_do_log
        - Src:             'card-itacns.c:279,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-itacns.c:280,2'
          Dst:             sc_strerror
        - Src:             'card-itacns.c:280,2'
          Dst:             sc_do_log_color
        - Src:             'card-itacns.c:282,6'
          Dst:             sc_check_sw
        - Src:             'card-itacns.c:283,2'
          Dst:             sc_strerror
        - Src:             'card-itacns.c:283,2'
          Dst:             sc_do_log_color
        - Src:             'card-itacns.c:285,2'
          Dst:             sc_strerror
        - Src:             'card-itacns.c:285,2'
          Dst:             sc_do_log_color
        - Src:             'card-itacns.c:285,2'
          Dst:             sc_do_log
    - functionName:    itacns_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 178
      functionLinenumberEnd: 182
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    itacns_init
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 175
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          165
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached:
        - _sc_card_add_rsa_alg
        - calloc
        - itacns_init_cns_card
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:144,2'
          Dst:             sc_do_log
        - Src:             'card-itacns.c:149,19'
          Dst:             calloc
        - Src:             'card-itacns.c:154,3'
          Dst:             itacns_init_cns_card
        - Src:             'card-itacns.c:170,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-itacns.c:172,3'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    itacns_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 122
      functionLinenumberEnd: 134
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          56
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_match_atr
        - itacns_match_cie_card
        - itacns_match_cns_card
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:126,6'
          Dst:             _sc_match_atr
        - Src:             'card-itacns.c:129,6'
          Dst:             itacns_match_cns_card
        - Src:             'card-itacns.c:130,6'
          Dst:             itacns_match_cie_card
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 504
      functionLinenumberEnd: 519
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:506,17'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_itacns_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 523
      functionLinenumberEnd: 524
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-itacns.c:524,9'
          Dst:             sc_get_driver
    - functionName:    authentic_parse_credential_data
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 286
      functionLinenumberEnd: 355
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         70
      ICount:          461
      EdgeCount:       90
      CyclomaticComplexity: 22
      functionsReached:
        - authentic_get_tagged_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:292,7'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:293,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:293,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:295,7'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:296,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:296,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:299,7'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:300,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:300,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:306,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:306,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:310,8'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:311,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:311,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:312,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:319,5'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:328,6'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:340,7'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:345,8'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:346,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:346,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:349,8'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:350,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:350,3'
          Dst:             sc_do_log_color
    - functionName:    authentic_get_tagged_data
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          314
      EdgeCount:       65
      CyclomaticComplexity: 16
      functionsReached:
        - authentic_parse_size
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:183,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:183,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:183,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:188,5'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:188,5'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:198,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:198,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:200,8'
          Dst:             authentic_parse_size
        - Src:             'card-authentic.c:201,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:201,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:206,5'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:206,5'
          Dst:             sc_do_log_color
    - functionName:    authentic_parse_size
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 149
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          118
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    authentic_chv_set_pinpad
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1251
      functionLinenumberEnd: 1288
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          216
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - authentic_pin_get_policy
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1257,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1258,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1261,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1262,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1262,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1262,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1271,7'
          Dst:             authentic_pin_get_policy
        - Src:             'card-authentic.c:1272,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1272,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1283,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1287,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1287,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1287,2'
          Dst:             sc_do_log
    - functionName:    authentic_pin_get_policy
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1293
      functionLinenumberEnd: 1337
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          250
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - authentic_parse_credential_data
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1299,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1300,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1302,2'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1308,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1309,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1309,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1310,8'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1317,9'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1317,9'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1321,7'
          Dst:             authentic_parse_credential_data
        - Src:             'card-authentic.c:1322,9'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1322,9'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1332,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1336,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1336,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1336,2'
          Dst:             sc_do_log
    - functionName:    authentic_pin_change_pinpad
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1146
      functionLinenumberEnd: 1187
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          237
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - authentic_pin_get_policy
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1152,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1153,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1156,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1157,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1157,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1157,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1166,7'
          Dst:             authentic_pin_get_policy
        - Src:             'card-authentic.c:1167,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1167,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1179,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1181,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1186,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1186,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1186,2'
          Dst:             sc_do_log
    - functionName:    authentic_chv_verify_pinpad
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 979
      functionLinenumberEnd: 1009
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         31
      ICount:          222
      EdgeCount:       38
      CyclomaticComplexity: 9
      functionsReached:
        - authentic_pin_is_verified
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:985,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:986,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:988,7'
          Dst:             authentic_pin_is_verified
        - Src:             'card-authentic.c:990,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:990,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:990,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:993,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:994,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:994,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:994,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1008,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1008,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1008,2'
          Dst:             sc_do_log
    - functionName:    authentic_pin_is_verified
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1075
      functionLinenumberEnd: 1092
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          104
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - authentic_chv_verify
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1080,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1083,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1083,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1089,7'
          Dst:             authentic_chv_verify
        - Src:             'card-authentic.c:1091,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1091,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1091,2'
          Dst:             sc_do_log
    - functionName:    authentic_chv_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1014
      functionLinenumberEnd: 1070
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         76
      ICount:          475
      EdgeCount:       97
      CyclomaticComplexity: 23
      functionsReached:
        - authentic_chv_verify_pinpad
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1022,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1023,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1026,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1030,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1030,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1030,4'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1037,5'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1037,5'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1037,5'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1046,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1052,8'
          Dst:             authentic_chv_verify_pinpad
        - Src:             'card-authentic.c:1053,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1054,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1054,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1054,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1057,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1057,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1057,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1060,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1061,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1061,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1067,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1069,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1069,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1069,2'
          Dst:             sc_do_log
    - functionName:    authentic_pin_reset
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1342
      functionLinenumberEnd: 1427
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         84
      ICount:          559
      EdgeCount:       106
      CyclomaticComplexity: 24
      functionsReached:
        - authentic_chv_set_pinpad
        - authentic_pin_get_policy
        - authentic_pin_verify
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1351,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1352,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1355,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1355,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1366,7'
          Dst:             authentic_pin_get_policy
        - Src:             'card-authentic.c:1367,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1367,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1376,10'
          Dst:             authentic_pin_get_policy
        - Src:             'card-authentic.c:1377,5'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1377,5'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1387,9'
          Dst:             authentic_pin_verify
        - Src:             'card-authentic.c:1389,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1389,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1398,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1398,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1403,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1408,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1409,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1409,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1410,8'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1411,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1411,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1414,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1416,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1417,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1417,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1418,8'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1419,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1419,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1422,8'
          Dst:             authentic_chv_set_pinpad
        - Src:             'card-authentic.c:1423,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1423,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1426,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1426,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1426,2'
          Dst:             sc_do_log
    - functionName:    authentic_pin_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1097
      functionLinenumberEnd: 1141
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         56
      ICount:          379
      EdgeCount:       70
      CyclomaticComplexity: 16
      functionsReached:
        - SHA1
        - authentic_chv_verify
        - authentic_pin_get_policy
        - authentic_pin_is_verified
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1103,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1104,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1108,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1108,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1113,8'
          Dst:             authentic_pin_is_verified
        - Src:             'card-authentic.c:1114,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1114,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1114,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1118,3'
          Dst:             SHA1
        - Src:             'card-authentic.c:1120,3'
          Dst:             SHA1
        - Src:             'card-authentic.c:1122,7'
          Dst:             memcmp
        - Src:             'card-authentic.c:1123,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1124,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1124,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1124,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1129,7'
          Dst:             authentic_pin_get_policy
        - Src:             'card-authentic.c:1130,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1130,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1133,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1133,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1136,7'
          Dst:             authentic_chv_verify
        - Src:             'card-authentic.c:1137,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1137,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1140,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1140,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1140,2'
          Dst:             sc_do_log
    - functionName:    authentic_pin_change
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1192
      functionLinenumberEnd: 1246
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         83
      ICount:          547
      EdgeCount:       108
      CyclomaticComplexity: 27
      functionsReached:
        - authentic_pin_change_pinpad
        - authentic_pin_get_policy
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1200,7'
          Dst:             authentic_pin_get_policy
        - Src:             'card-authentic.c:1201,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1201,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1204,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1204,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1211,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1211,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1212,8'
          Dst:             authentic_pin_change_pinpad
        - Src:             'card-authentic.c:1213,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1214,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1214,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1214,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1218,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1218,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1224,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1224,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1231,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1231,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1236,2'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1241,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1242,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1242,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1243,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1245,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1245,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1245,2'
          Dst:             sc_do_log
    - functionName:    authentic_decode_pubkey_rsa
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 224
      functionLinenumberEnd: 280
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         70
      ICount:          421
      EdgeCount:       88
      CyclomaticComplexity: 20
      functionsReached:
        - authentic_get_tagged_data
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:230,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:233,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:233,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:233,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:236,14'
          Dst:             calloc
        - Src:             'card-authentic.c:239,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:239,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:244,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:244,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:244,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:249,7'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:250,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:250,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:256,7'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:257,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:257,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:261,22'
          Dst:             calloc
        - Src:             'card-authentic.c:263,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:263,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:268,7'
          Dst:             authentic_get_tagged_data
        - Src:             'card-authentic.c:269,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:269,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:273,23'
          Dst:             calloc
        - Src:             'card-authentic.c:275,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:275,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:279,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:279,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:279,2'
          Dst:             sc_do_log
    - functionName:    authentic_manage_sdo_encode_prvkey
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1516
      functionLinenumberEnd: 1575
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         68
      ICount:          440
      EdgeCount:       85
      CyclomaticComplexity: 19
      functionsReached:
        - authentic_update_blob
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1524,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1524,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1526,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1526,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1530,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1531,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1531,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1533,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1534,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1534,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1536,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1537,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1537,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1539,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1540,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1540,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1542,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1543,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1543,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1545,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1546,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1546,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1553,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1554,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1555,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1555,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1557,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1558,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1559,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1559,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1561,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1562,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1562,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1568,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1569,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1569,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1574,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1574,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1574,2'
          Dst:             sc_do_log
    - functionName:    authentic_update_blob
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 103
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          270
      EdgeCount:       45
      CyclomaticComplexity: 12
      functionsReached:
        - realloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:121,7'
          Dst:             realloc
        - Src:             'card-authentic.c:123,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:123,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:123,3'
          Dst:             sc_do_log
    - functionName:    authentic_manage_sdo_encode
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1581
      functionLinenumberEnd: 1656
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         97
      ICount:          544
      EdgeCount:       124
      CyclomaticComplexity: 29
      functionsReached:
        - _sc_debug_hex
        - authentic_manage_sdo_encode_prvkey
        - authentic_update_blob
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1588,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1589,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1592,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1592,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1594,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1596,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1596,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1598,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1600,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1600,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1603,8'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1605,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1605,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1608,9'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1611,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1611,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1614,9'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1617,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1617,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1626,9'
          Dst:             authentic_manage_sdo_encode_prvkey
        - Src:             'card-authentic.c:1627,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1627,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1630,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1630,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1635,16'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1638,11'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1638,11'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1644,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1644,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1647,7'
          Dst:             authentic_update_blob
        - Src:             'card-authentic.c:1648,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1648,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1650,2'
          Dst:             _sc_debug_hex
        - Src:             'card-authentic.c:1655,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1655,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1655,2'
          Dst:             sc_do_log
    - functionName:    authentic_manage_sdo_generate
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1661
      functionLinenumberEnd: 1694
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          205
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - authentic_decode_pubkey_rsa
        - authentic_manage_sdo_encode
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1669,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1670,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1672,7'
          Dst:             authentic_manage_sdo_encode
        - Src:             'card-authentic.c:1673,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1673,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1674,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1676,2'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1684,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1685,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1685,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1686,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1687,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1687,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1689,7'
          Dst:             authentic_decode_pubkey_rsa
        - Src:             'card-authentic.c:1690,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1690,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1693,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1693,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1693,2'
          Dst:             sc_do_log
    - functionName:    authentic_manage_sdo
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1699
      functionLinenumberEnd: 1733
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          212
      EdgeCount:       34
      CyclomaticComplexity: 8
      functionsReached:
        - authentic_manage_sdo_encode
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1706,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1707,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1709,7'
          Dst:             authentic_manage_sdo_encode
        - Src:             'card-authentic.c:1710,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1710,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1711,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1713,2'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1722,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1726,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1726,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1729,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1730,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1730,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1732,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1732,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1732,2'
          Dst:             sc_do_log
    - functionName:    authentic_fcp_encode
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 840
      functionLinenumberEnd: 901
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          411
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:849,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:871,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-authentic.c:872,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:886,5'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:886,5'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:891,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:891,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:896,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:896,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:900,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:900,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:900,2'
          Dst:             sc_do_log
    - functionName:    authentic_get_cplc
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 360
      functionLinenumberEnd: 386
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          134
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:368,2'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:374,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:375,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:375,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:376,8'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:382,9'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:382,9'
          Dst:             sc_do_log_color
    - functionName:    authentic_set_current_files
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 505
      functionLinenumberEnd: 539
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          238
      EdgeCount:       52
      CyclomaticComplexity: 10
      functionsReached:
        - authentic_process_fci
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_strerror
      functionUses:    3
      BranchProfiles:
        - Branch String:   'card-authentic.c:512,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-authentic.c:510,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:515,11'
          Dst:             sc_file_new
        - Src:             'card-authentic.c:517,5'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:517,5'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:517,5'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:521,9'
          Dst:             authentic_process_fci
        - Src:             'card-authentic.c:523,5'
          Dst:             sc_file_free
        - Src:             'card-authentic.c:524,5'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:524,5'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:529,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:529,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:529,4'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:535,4'
          Dst:             sc_file_free
        - Src:             'card-authentic.c:538,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:538,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:538,2'
          Dst:             sc_do_log
    - functionName:    authentic_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 769
      functionLinenumberEnd: 835
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          421
      EdgeCount:       78
      CyclomaticComplexity: 19
      functionsReached:
        - _sc_debug_hex
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_file_add_acl_entry
        - sc_print_path
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:782,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:784,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-authentic.c:786,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:791,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-authentic.c:793,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:799,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:799,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:802,3'
          Dst:             _sc_debug_hex
        - Src:             'card-authentic.c:803,3'
          Dst:             sc_print_path
        - Src:             'card-authentic.c:803,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:808,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:808,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:812,2'
          Dst:             _sc_debug_hex
        - Src:             'card-authentic.c:819,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:823,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-authentic.c:825,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-authentic.c:827,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-authentic.c:829,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-authentic.c:831,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-authentic.c:834,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:834,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:834,2'
          Dst:             sc_do_log
    - functionName:    authentic_sm_execute
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1937
      functionLinenumberEnd: 1969
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          262
      EdgeCount:       49
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_remote_data_init
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1943,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1943,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1943,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1945,2'
          Dst:             sc_remote_data_init
        - Src:             'card-authentic.c:1947,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1947,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1949,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1949,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1949,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1951,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1958,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1962,8'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1968,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1968,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1968,2'
          Dst:             sc_do_log
    - functionName:    authentic_sm_acl_init
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1884
      functionLinenumberEnd: 1931
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          429
      EdgeCount:       85
      CyclomaticComplexity: 20
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_remote_data_init
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1897,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1897,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1897,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1900,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1900,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1900,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1911,2'
          Dst:             sc_remote_data_init
        - Src:             'card-authentic.c:1914,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1914,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1916,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1916,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1916,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1918,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1919,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1919,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1920,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1921,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1921,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1924,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1924,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1924,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1930,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1930,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1930,2'
          Dst:             sc_do_log
    - functionName:    authentic_select_mf
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 544
      functionLinenumberEnd: 571
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          150
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - authentic_set_current_files
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_format_path
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:552,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:554,2'
          Dst:             sc_format_path
        - Src:             'card-authentic.c:557,2'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:562,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:563,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:563,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:564,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:565,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:565,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:567,7'
          Dst:             authentic_set_current_files
        - Src:             'card-authentic.c:568,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:568,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:570,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:570,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:570,2'
          Dst:             sc_do_log
    - functionName:    authentic_sm_free_wrapped_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2002
      functionLinenumberEnd: 2028
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          259
      EdgeCount:       52
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:2005,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2007,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2007,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2007,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2009,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2009,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2009,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2013,4'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2013,4'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2027,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2027,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2027,2'
          Dst:             sc_do_log
    - functionName:    authentic_sm_get_wrapped_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2032
      functionLinenumberEnd: 2098
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         121
      ICount:          736
      EdgeCount:       157
      CyclomaticComplexity: 38
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:2037,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2040,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2040,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2040,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2041,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2055,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2056,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2056,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2056,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2060,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2060,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2060,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2063,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2063,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2063,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2065,9'
          Dst:             calloc
        - Src:             'card-authentic.c:2067,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2067,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2067,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2070,15'
          Dst:             calloc
        - Src:             'card-authentic.c:2073,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2073,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2073,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2078,15'
          Dst:             calloc
        - Src:             'card-authentic.c:2082,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2082,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2082,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:2094,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2094,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2097,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:2097,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:2097,2'
          Dst:             sc_do_log
    - functionName:    authentic_sm_open
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1974
      functionLinenumberEnd: 1997
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         23
      ICount:          173
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - authentic_sm_acl_init
        - authentic_sm_execute
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1980,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1984,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1989,7'
          Dst:             authentic_sm_acl_init
        - Src:             'card-authentic.c:1990,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1990,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1992,7'
          Dst:             authentic_sm_execute
        - Src:             'card-authentic.c:1993,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1993,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1996,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1996,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1996,2'
          Dst:             sc_do_log
    - functionName:    authentic_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1464
      functionLinenumberEnd: 1486
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          156
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - authentic_get_cplc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1469,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1471,8'
          Dst:             authentic_get_cplc
        - Src:             'card-authentic.c:1472,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1472,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1477,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1485,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1485,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1485,2'
          Dst:             sc_do_log
    - functionName:    authentic_init_oberthur_authentic_3_2
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 408
      functionLinenumberEnd: 437
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          142
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_card_add_rsa_alg
        - authentic_select_mf
        - iso7816_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:413,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:427,7'
          Dst:             iso7816_select_aid
        - Src:             'card-authentic.c:428,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:428,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:430,7'
          Dst:             authentic_select_mf
        - Src:             'card-authentic.c:431,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:431,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:433,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-authentic.c:434,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-authentic.c:436,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:436,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:436,2'
          Dst:             sc_do_log
    - functionName:    authentic_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1865
      functionLinenumberEnd: 1875
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          86
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - iso7816_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1868,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1872,7'
          Dst:             iso7816_select_aid
        - Src:             'card-authentic.c:1875,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1875,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1875,2'
          Dst:             sc_do_log
    - functionName:    authentic_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1432
      functionLinenumberEnd: 1459
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          156
      EdgeCount:       21
      CyclomaticComplexity: 3
      functionsReached:
        - authentic_pin_change
        - authentic_pin_get_policy
        - authentic_pin_reset
        - authentic_pin_verify
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-authentic.c:1441,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-authentic.c:1436,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1437,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1438,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1439,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1443,8'
          Dst:             authentic_pin_verify
        - Src:             'card-authentic.c:1446,8'
          Dst:             authentic_pin_change
        - Src:             'card-authentic.c:1449,8'
          Dst:             authentic_pin_reset
        - Src:             'card-authentic.c:1452,8'
          Dst:             authentic_pin_get_policy
        - Src:             'card-authentic.c:1455,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1455,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1458,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1458,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1458,2'
          Dst:             sc_do_log
    - functionName:    authentic_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1738
      functionLinenumberEnd: 1759
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          126
      EdgeCount:       19
      CyclomaticComplexity: 11
      functionsReached:
        - authentic_get_serialnr
        - authentic_manage_sdo
        - authentic_manage_sdo_generate
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-authentic.c:1742,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-authentic.c:1744,10'
          Dst:             authentic_get_serialnr
        - Src:             'card-authentic.c:1746,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1747,10'
          Dst:             authentic_manage_sdo
        - Src:             'card-authentic.c:1749,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1750,10'
          Dst:             authentic_manage_sdo
        - Src:             'card-authentic.c:1752,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1753,10'
          Dst:             authentic_manage_sdo
        - Src:             'card-authentic.c:1755,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1756,10'
          Dst:             authentic_manage_sdo_generate
    - functionName:    authentic_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 948
      functionLinenumberEnd: 974
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          207
      EdgeCount:       44
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:954,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:957,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:957,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:957,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:960,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:965,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:966,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:966,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:967,8'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:971,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:971,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:973,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:973,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:973,2'
          Dst:             sc_do_log
    - functionName:    authentic_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 906
      functionLinenumberEnd: 943
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         33
      ICount:          234
      EdgeCount:       40
      CyclomaticComplexity: 9
      functionsReached:
        - authentic_fcp_encode
        - authentic_set_current_files
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:914,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:917,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:917,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:919,7'
          Dst:             authentic_fcp_encode
        - Src:             'card-authentic.c:920,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:920,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:926,2'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:931,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:932,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:932,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:933,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:934,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:934,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:939,7'
          Dst:             authentic_set_current_files
        - Src:             'card-authentic.c:940,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:940,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:942,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:942,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:942,2'
          Dst:             sc_do_log
    - functionName:    authentic_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1810
      functionLinenumberEnd: 1842
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          227
      EdgeCount:       42
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1816,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1817,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1819,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1819,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1819,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1821,2'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1830,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1831,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1831,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1832,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1833,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1833,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1841,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1841,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1841,2'
          Dst:             sc_do_log
    - functionName:    authentic_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1765
      functionLinenumberEnd: 1804
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          237
      EdgeCount:       30
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-authentic.c:1781,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-authentic.c:1778,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1779,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1783,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1789,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:1795,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1795,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1795,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1798,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:1799,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1799,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1800,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:1801,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1801,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1803,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1803,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1803,2'
          Dst:             sc_do_log
    - functionName:    authentic_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1491
      functionLinenumberEnd: 1510
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          119
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1497,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1500,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1500,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1509,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1509,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1509,2'
          Dst:             sc_do_log
    - functionName:    authentic_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 576
      functionLinenumberEnd: 638
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          335
      EdgeCount:       75
      CyclomaticComplexity: 18
      functionsReached:
        - authentic_set_current_files
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:584,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:592,2'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:595,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:595,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:615,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:616,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:616,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:629,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:630,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:630,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:631,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:632,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:632,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:634,7'
          Dst:             authentic_set_current_files
        - Src:             'card-authentic.c:635,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:635,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:637,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:637,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:637,2'
          Dst:             sc_do_log
    - functionName:    authentic_erase_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 482
      functionLinenumberEnd: 499
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          138
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_update_binary
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:487,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:489,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:489,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:491,13'
          Dst:             calloc
        - Src:             'card-authentic.c:493,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:493,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:495,7'
          Dst:             sc_update_binary
        - Src:             'card-authentic.c:498,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:498,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:498,2'
          Dst:             sc_do_log
    - functionName:    authentic_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 728
      functionLinenumberEnd: 763
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          236
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:734,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:735,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:740,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:745,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:755,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:755,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:756,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:756,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:756,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:759,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:761,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:761,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:762,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:762,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:762,2'
          Dst:             sc_do_log
    - functionName:    authentic_write_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 687
      functionLinenumberEnd: 722
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          236
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:693,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:694,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:699,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:704,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:714,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:714,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:715,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:715,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:715,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:718,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:720,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:720,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:721,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:721,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:721,2'
          Dst:             sc_do_log
    - functionName:    authentic_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 643
      functionLinenumberEnd: 681
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          256
      EdgeCount:       48
      CyclomaticComplexity: 11
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:649,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:650,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:655,3'
          Dst:             sc_format_apdu
        - Src:             'card-authentic.c:660,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-authentic.c:671,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:671,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:672,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:672,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:672,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:675,7'
          Dst:             sc_check_sw
        - Src:             'card-authentic.c:679,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:679,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:680,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:680,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:680,2'
          Dst:             sc_do_log
    - functionName:    authentic_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1847
      functionLinenumberEnd: 1860
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          99
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:1850,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:1860,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:1860,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:1860,2'
          Dst:             sc_do_log
    - functionName:    authentic_init
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 442
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         45
      ICount:          266
      EdgeCount:       56
      CyclomaticComplexity: 13
      functionsReached:
        - authentic_get_serialnr
        - authentic_init_oberthur_authentic_3_2
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:446,2'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:456,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:456,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:456,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:459,53'
          Dst:             calloc
        - Src:             'card-authentic.c:461,3'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:461,3'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:461,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:464,8'
          Dst:             authentic_init_oberthur_authentic_3_2
        - Src:             'card-authentic.c:467,8'
          Dst:             authentic_get_serialnr
        - Src:             'card-authentic.c:477,2'
          Dst:             sc_strerror
        - Src:             'card-authentic.c:477,2'
          Dst:             sc_do_log_color
        - Src:             'card-authentic.c:477,2'
          Dst:             sc_do_log
    - functionName:    authentic_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 390
      functionLinenumberEnd: 403
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_debug_hex
        - _sc_match_atr
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:394,2'
          Dst:             _sc_debug_hex
        - Src:             'card-authentic.c:395,6'
          Dst:             _sc_match_atr
        - Src:             'card-authentic.c:397,3'
          Dst:             sc_do_log
        - Src:             'card-authentic.c:401,2'
          Dst:             sc_do_log
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2114
      functionLinenumberEnd: 2144
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:2115,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_authentic_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2149
      functionLinenumberEnd: 2150
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:2150,9'
          Dst:             sc_get_driver
    - functionName:    authentic_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2102
      functionLinenumberEnd: 2109
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - iso7816_select_aid
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-authentic.c:2106,7'
          Dst:             iso7816_select_aid
    - functionName:    iasecc_pin_get_policy
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2014
      functionLinenumberEnd: 2110
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         86
      ICount:          579
      EdgeCount:       112
      CyclomaticComplexity: 28
      functionsReached:
        - iasecc_sdo_free_fields
        - iasecc_sdo_get_data
        - iasecc_select_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_free
        - sc_format_path
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2022,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2023,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2026,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2027,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2027,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2027,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2031,3'
          Dst:             sc_file_dup
        - Src:             'card-iasecc.c:2034,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2040,3'
          Dst:             sc_file_dup
        - Src:             'card-iasecc.c:2043,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2049,3'
          Dst:             sc_format_path
        - Src:             'card-iasecc.c:2051,8'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:2052,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2052,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2060,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2062,7'
          Dst:             iasecc_sdo_get_data
        - Src:             'card-iasecc.c:2063,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2063,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2067,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2071,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2089,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2091,2'
          Dst:             iasecc_sdo_free_fields
        - Src:             'card-iasecc.c:2094,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2095,8'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:2096,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2096,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2100,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2101,8'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:2102,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2102,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2106,2'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:2107,2'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:2109,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2109,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2109,2'
          Dst:             sc_do_log
    - functionName:    iasecc_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 863
      functionLinenumberEnd: 1092
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         219
      ICount:          1255
      EdgeCount:       288
      CyclomaticComplexity: 71
      functionsReached:
        - iasecc_emulate_fcp
        - iasecc_is_cpx
        - iasecc_process_fci
        - iasecc_select_file
        - iasecc_select_mf
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_file_dup
        - sc_file_free
        - sc_file_new
        - sc_format_apdu
        - sc_invalidate_cache
        - sc_print_path
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    12
      BranchProfiles:
        - Branch String:   'card-iasecc.c:1028,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-iasecc.c:869,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:874,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:876,2'
          Dst:             sc_print_path
        - Src:             'card-iasecc.c:876,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:878,8'
          Dst:             iasecc_is_cpx
        - Src:             'card-iasecc.c:883,3'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:883,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:885,8'
          Dst:             iasecc_select_mf
        - Src:             'card-iasecc.c:886,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:886,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:896,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:897,3'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:897,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:903,8'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:904,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:904,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:907,4'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:910,4'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:922,4'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:925,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:925,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:925,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:934,3'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:942,9'
          Dst:             iasecc_is_cpx
        - Src:             'card-iasecc.c:944,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:944,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:956,8'
          Dst:             iasecc_is_cpx
        - Src:             'card-iasecc.c:968,8'
          Dst:             iasecc_is_cpx
        - Src:             'card-iasecc.c:983,8'
          Dst:             iasecc_is_cpx
        - Src:             'card-iasecc.c:988,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:990,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:990,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1002,9'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:1003,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1003,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1004,9'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:1007,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1015,10'
          Dst:             iasecc_emulate_fcp
        - Src:             'card-iasecc.c:1016,5'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1016,5'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1022,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1022,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1024,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1026,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1031,12'
          Dst:             sc_file_new
        - Src:             'card-iasecc.c:1034,7'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1037,6'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1037,6'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1037,6'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1041,10'
          Dst:             iasecc_process_fci
        - Src:             'card-iasecc.c:1043,6'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1045,7'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1048,6'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1048,6'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1048,6'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1053,6'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1056,5'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1056,5'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1056,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1059,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1061,5'
          Dst:             sc_invalidate_cache
        - Src:             'card-iasecc.c:1062,5'
          Dst:             sc_file_dup
        - Src:             'card-iasecc.c:1066,5'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1067,5'
          Dst:             sc_file_dup
        - Src:             'card-iasecc.c:1072,5'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1076,5'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1080,4'
          Dst:             sc_invalidate_cache
        - Src:             'card-iasecc.c:1085,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1085,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1085,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1088,3'
          Dst:             sc_file_free
    - functionName:    iasecc_sdo_get_data
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2848
      functionLinenumberEnd: 2865
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          127
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_sdo_get_tagged_data
        - iasecc_sdo_tag_from_class
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2852,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2854,12'
          Dst:             iasecc_sdo_tag_from_class
        - Src:             'card-iasecc.c:2856,7'
          Dst:             iasecc_sdo_get_tagged_data
        - Src:             'card-iasecc.c:2859,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2859,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2861,7'
          Dst:             iasecc_sdo_get_tagged_data
        - Src:             'card-iasecc.c:2862,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2862,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2864,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2864,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2864,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_tag_from_class
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2749
      functionLinenumberEnd: 2764
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          43
      EdgeCount:       14
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-iasecc.c:2750,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    iasecc_sdo_get_tagged_data
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2769
      functionLinenumberEnd: 2843
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          349
      EdgeCount:       46
      CyclomaticComplexity: 9
      functionsReached:
        - iasecc_is_cpx
        - iasecc_sdo_parse
        - iasecc_select_file
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_format_path
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-iasecc.c:2786,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-iasecc.c:2777,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2779,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2783,6'
          Dst:             iasecc_is_cpx
        - Src:             'card-iasecc.c:2800,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2801,4'
          Dst:             sc_format_path
        - Src:             'card-iasecc.c:2802,9'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:2803,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2803,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2826,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:2834,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:2835,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2835,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2836,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:2837,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2837,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2839,7'
          Dst:             iasecc_sdo_parse
        - Src:             'card-iasecc.c:2840,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2840,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2842,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2842,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2842,2'
          Dst:             sc_do_log
    - functionName:    iasecc_is_cpx
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 586
      functionLinenumberEnd: 596
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          29
      EdgeCount:       10
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    8
      BranchProfiles:
        - Branch String:   'card-iasecc.c:587,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    iasecc_select_mf
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 283
      functionLinenumberEnd: 349
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         47
      ICount:          329
      EdgeCount:       59
      CyclomaticComplexity: 14
      functionsReached:
        - iasecc_select_file
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_free
        - sc_file_new
        - sc_format_apdu
        - sc_format_path
        - sc_invalidate_cache
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:290,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:301,3'
          Dst:             sc_format_path
        - Src:             'card-iasecc.c:304,3'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:315,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:316,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:316,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:317,8'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:318,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:318,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:325,8'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:326,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:326,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:333,12'
          Dst:             sc_file_new
        - Src:             'card-iasecc.c:335,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:335,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:339,2'
          Dst:             sc_invalidate_cache
        - Src:             'card-iasecc.c:340,2'
          Dst:             sc_file_dup
        - Src:             'card-iasecc.c:346,3'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:348,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:348,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:348,2'
          Dst:             sc_do_log
    - functionName:    iasecc_emulate_fcp
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 828
      functionLinenumberEnd: 855
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         31
      ICount:          195
      EdgeCount:       38
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:839,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:842,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:842,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:844,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:844,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:846,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:846,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:854,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:854,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:854,2'
          Dst:             sc_do_log
    - functionName:    iasecc_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1098
      functionLinenumberEnd: 1187
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         57
      ICount:          424
      EdgeCount:       73
      CyclomaticComplexity: 18
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_file_add_acl_entry
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1111,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1113,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-iasecc.c:1114,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1116,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1121,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-iasecc.c:1122,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1124,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1130,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1130,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1137,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1138,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-iasecc.c:1140,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-iasecc.c:1142,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-iasecc.c:1145,3'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:1145,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1146,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1146,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1149,2'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:1149,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1156,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1162,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1167,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-iasecc.c:1170,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-iasecc.c:1173,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-iasecc.c:1176,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-iasecc.c:1179,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1180,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-iasecc.c:1186,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1186,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1186,2'
          Dst:             sc_do_log
    - functionName:    sc_invalidate_cache
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 164
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_file_free
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:167,3'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:168,3'
          Dst:             sc_file_free
    - functionName:    iasecc_check_update_pin
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2158
      functionLinenumberEnd: 2168
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          83
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iasecc_chv_cache_verified
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 217
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          218
      EdgeCount:       45
      CyclomaticComplexity: 11
      functionsReached:
        - SHA1
        - _sc_debug_hex
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:180,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:187,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:191,16'
          Dst:             calloc
        - Src:             'card-iasecc.c:193,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:193,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:194,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:199,3'
          Dst:             SHA1
        - Src:             'card-iasecc.c:203,2'
          Dst:             _sc_debug_hex
        - Src:             'card-iasecc.c:216,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:216,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:216,2'
          Dst:             sc_do_log
    - functionName:    iasecc_chv_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1838
      functionLinenumberEnd: 1853
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          136
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - iasecc_sm_pin_verify
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1843,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1844,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1847,8'
          Dst:             iasecc_sm_pin_verify
        - Src:             'card-iasecc.c:1848,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1848,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1848,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1852,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1852,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1852,2'
          Dst:             sc_do_log
    - functionName:    iasecc_set_pin_padding
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2174
      functionLinenumberEnd: 2181
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          37
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iasecc_pin_merge_policy
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2192
      functionLinenumberEnd: 2223
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          249
      EdgeCount:       50
      CyclomaticComplexity: 13
      functionsReached:
        - iasecc_check_update_pin
        - iasecc_pin_get_policy
        - iasecc_set_pin_padding
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2197,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2198,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2200,7'
          Dst:             iasecc_check_update_pin
        - Src:             'card-iasecc.c:2201,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2201,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2203,7'
          Dst:             iasecc_pin_get_policy
        - Src:             'card-iasecc.c:2204,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2204,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2220,3'
          Dst:             iasecc_set_pin_padding
        - Src:             'card-iasecc.c:2222,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2222,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2222,2'
          Dst:             sc_do_log
    - functionName:    iasecc_chv_cache_clean
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 249
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         39
      ICount:          213
      EdgeCount:       49
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:226,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:233,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:233,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:233,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:248,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:248,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:248,2'
          Dst:             sc_do_log
    - functionName:    iasecc_chv_cache_is_verified
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 278
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          128
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - SHA1
        - _sc_debug_hex
        - memcmp
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:259,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:262,3'
          Dst:             SHA1
        - Src:             'card-iasecc.c:265,2'
          Dst:             _sc_debug_hex
        - Src:             'card-iasecc.c:271,18'
          Dst:             memcmp
        - Src:             'card-iasecc.c:272,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:276,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pin_get_status
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1895
      functionLinenumberEnd: 1918
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          155
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1900,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1903,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1903,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1911,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1911,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1917,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1917,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1917,2'
          Dst:             sc_do_log
    - functionName:    iasecc_se_at_to_chv_reference
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1859
      functionLinenumberEnd: 1890
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          180
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - iasecc_se_get_crt
        - iasecc_se_get_info
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1865,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1866,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1869,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1869,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1869,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1874,7'
          Dst:             iasecc_se_get_info
        - Src:             'card-iasecc.c:1875,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1875,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1881,7'
          Dst:             iasecc_se_get_crt
        - Src:             'card-iasecc.c:1882,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1882,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1887,2'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1889,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1889,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1889,2'
          Dst:             sc_do_log
    - functionName:    iasecc_se_get_info
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1609
      functionLinenumberEnd: 1656
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         44
      ICount:          305
      EdgeCount:       54
      CyclomaticComplexity: 12
      functionsReached:
        - iasecc_is_cpx
        - iasecc_se_cache_info
        - iasecc_se_get_info_from_cache
        - iasecc_se_parse
        - iasecc_select_mf
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1621,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1623,6'
          Dst:             iasecc_is_cpx
        - Src:             'card-iasecc.c:1624,8'
          Dst:             iasecc_select_mf
        - Src:             'card-iasecc.c:1625,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1625,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1629,17'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1629,17'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1629,17'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1631,7'
          Dst:             iasecc_se_get_info_from_cache
        - Src:             'card-iasecc.c:1633,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1635,3'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:1643,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:1644,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1644,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1645,8'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:1646,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1646,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1648,8'
          Dst:             iasecc_se_parse
        - Src:             'card-iasecc.c:1649,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1649,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1651,8'
          Dst:             iasecc_se_cache_info
        - Src:             'card-iasecc.c:1652,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1652,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1655,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1655,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1655,2'
          Dst:             sc_do_log
    - functionName:    iasecc_se_get_info_from_cache
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1568
      functionLinenumberEnd: 1604
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         57
      ICount:          306
      EdgeCount:       75
      CyclomaticComplexity: 20
      functionsReached:
        - iasecc_docp_copy
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1574,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1584,8'
          Dst:             memcmp
        - Src:             'card-iasecc.c:1595,3'
          Dst:             sc_file_dup
        - Src:             'card-iasecc.c:1597,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1597,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1600,7'
          Dst:             iasecc_docp_copy
        - Src:             'card-iasecc.c:1601,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1601,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1603,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1603,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1603,2'
          Dst:             sc_do_log
    - functionName:    iasecc_se_cache_info
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1525
      functionLinenumberEnd: 1563
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         43
      ICount:          251
      EdgeCount:       54
      CyclomaticComplexity: 13
      functionsReached:
        - calloc
        - iasecc_docp_copy
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1531,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1533,12'
          Dst:             calloc
        - Src:             'card-iasecc.c:1535,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1535,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1539,3'
          Dst:             sc_file_dup
        - Src:             'card-iasecc.c:1542,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1542,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1546,7'
          Dst:             iasecc_docp_copy
        - Src:             'card-iasecc.c:1550,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1550,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1562,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1562,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1562,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pin_get_info
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2115
      functionLinenumberEnd: 2146
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          136
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_pin_get_policy
        - iasecc_pin_get_status
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2120,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2121,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2129,7'
          Dst:             iasecc_pin_get_status
        - Src:             'card-iasecc.c:2130,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2130,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2132,7'
          Dst:             iasecc_pin_get_policy
        - Src:             'card-iasecc.c:2133,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2133,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2145,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2145,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2145,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pin_reset
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2361
      functionLinenumberEnd: 2423
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         54
      ICount:          368
      EdgeCount:       67
      CyclomaticComplexity: 15
      functionsReached:
        - iasecc_pin_get_policy
        - iasecc_pin_merge_policy
        - iasecc_pin_verify
        - iasecc_sm_external_authentication
        - iasecc_sm_pin_reset
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2368,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2369,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2372,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2372,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2374,7'
          Dst:             iasecc_pin_get_policy
        - Src:             'card-iasecc.c:2375,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2375,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2385,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2389,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2393,9'
          Dst:             iasecc_pin_verify
        - Src:             'card-iasecc.c:2394,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2394,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2401,9'
          Dst:             iasecc_sm_pin_reset
        - Src:             'card-iasecc.c:2402,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2402,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2402,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2406,10'
          Dst:             iasecc_sm_external_authentication
        - Src:             'card-iasecc.c:2407,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2407,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2417,7'
          Dst:             iasecc_pin_merge_policy
        - Src:             'card-iasecc.c:2418,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2418,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2422,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2422,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2422,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pin_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1923
      functionLinenumberEnd: 2009
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         99
      ICount:          557
      EdgeCount:       126
      CyclomaticComplexity: 29
      functionsReached:
        - iasecc_chv_cache_clean
        - iasecc_chv_cache_is_verified
        - iasecc_chv_cache_verified
        - iasecc_chv_verify
        - iasecc_pin_get_status
        - iasecc_pin_merge_policy
        - iasecc_se_at_to_chv_reference
        - iasecc_set_pin_padding
        - iasecc_sm_external_authentication
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1932,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1933,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1937,9'
          Dst:             iasecc_sm_external_authentication
        - Src:             'card-iasecc.c:1938,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1938,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1938,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1950,8'
          Dst:             iasecc_se_at_to_chv_reference
        - Src:             'card-iasecc.c:1951,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1951,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1955,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1956,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1956,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1956,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1964,7'
          Dst:             iasecc_pin_get_status
        - Src:             'card-iasecc.c:1966,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1966,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1966,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1970,8'
          Dst:             iasecc_chv_cache_is_verified
        - Src:             'card-iasecc.c:1971,5'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1971,5'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1971,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1974,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1974,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1974,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1977,2'
          Dst:             iasecc_chv_cache_clean
        - Src:             'card-iasecc.c:1979,7'
          Dst:             iasecc_pin_merge_policy
        - Src:             'card-iasecc.c:1980,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1980,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1986,4'
          Dst:             iasecc_set_pin_padding
        - Src:             'card-iasecc.c:1989,7'
          Dst:             iasecc_chv_verify
        - Src:             'card-iasecc.c:1999,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1999,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2004,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2004,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2006,7'
          Dst:             iasecc_chv_cache_verified
        - Src:             'card-iasecc.c:2008,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2008,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2008,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pin_change
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2290
      functionLinenumberEnd: 2347
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          265
      EdgeCount:       44
      CyclomaticComplexity: 10
      functionsReached:
        - iasecc_check_update_pin
        - iasecc_chv_verify
        - iasecc_pin_merge_policy
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2296,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2297,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2301,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2302,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2302,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2302,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2315,7'
          Dst:             iasecc_pin_merge_policy
        - Src:             'card-iasecc.c:2316,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2316,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2319,8'
          Dst:             iasecc_chv_verify
        - Src:             'card-iasecc.c:2320,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2320,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2342,7'
          Dst:             iasecc_check_update_pin
        - Src:             'card-iasecc.c:2343,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2343,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2346,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2346,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2346,2'
          Dst:             sc_do_log
    - functionName:    iasecc_keyset_change
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2228
      functionLinenumberEnd: 2276
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         38
      ICount:          285
      EdgeCount:       47
      CyclomaticComplexity: 11
      functionsReached:
        - iasecc_sdo_free_fields
        - iasecc_sdo_get_data
        - iasecc_sm_sdo_update
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2235,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2236,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2238,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2238,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2244,7'
          Dst:             iasecc_sdo_get_data
        - Src:             'card-iasecc.c:2245,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2245,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2248,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2248,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2255,2'
          Dst:             iasecc_sdo_free_fields
        - Src:             'card-iasecc.c:2257,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2259,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2259,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2274,7'
          Dst:             iasecc_sm_sdo_update
        - Src:             'card-iasecc.c:2275,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2275,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2275,2'
          Dst:             sc_do_log
    - functionName:    iasecc_get_free_reference
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3483
      functionLinenumberEnd: 3586
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         96
      ICount:          609
      EdgeCount:       126
      CyclomaticComplexity: 32
      functionsReached:
        - iasecc_sdo_allocate_and_parse
        - iasecc_sdo_free
        - iasecc_sdo_get_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3488,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3491,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3491,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3491,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3493,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3502,4'
          Dst:             iasecc_sdo_free
        - Src:             'card-iasecc.c:3504,8'
          Dst:             iasecc_sdo_allocate_and_parse
        - Src:             'card-iasecc.c:3505,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3505,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3507,8'
          Dst:             iasecc_sdo_get_data
        - Src:             'card-iasecc.c:3509,4'
          Dst:             iasecc_sdo_free
        - Src:             'card-iasecc.c:3511,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3514,4'
          Dst:             iasecc_sdo_free
        - Src:             'card-iasecc.c:3516,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3517,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3517,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3517,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3523,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3526,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3532,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3534,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3539,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3546,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3552,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3559,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3565,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3572,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3583,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3583,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3583,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3585,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3585,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3585,2'
          Dst:             sc_do_log
    - functionName:    iasecc_get_chv_reference_from_se
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2942
      functionLinenumberEnd: 2968
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          152
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - iasecc_se_get_crt
        - iasecc_se_get_info
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2948,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2951,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2951,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2956,7'
          Dst:             iasecc_se_get_info
        - Src:             'card-iasecc.c:2957,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2957,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2963,7'
          Dst:             iasecc_se_get_crt
        - Src:             'card-iasecc.c:2964,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2964,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2966,2'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:2967,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2967,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2967,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_generate
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2870
      functionLinenumberEnd: 2937
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         58
      ICount:          421
      EdgeCount:       72
      CyclomaticComplexity: 16
      functionsReached:
        - iasecc_sdo_put_data
        - iasecc_sm_rsa_generate
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2877,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2880,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2880,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2883,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2883,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2886,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2895,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2895,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2898,9'
          Dst:             iasecc_sm_rsa_generate
        - Src:             'card-iasecc.c:2899,25'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2899,25'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2899,25'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2913,7'
          Dst:             iasecc_sdo_put_data
        - Src:             'card-iasecc.c:2914,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2914,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2923,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:2931,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:2932,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2932,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2933,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:2934,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2934,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2936,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2936,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2936,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_put_data
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2641
      functionLinenumberEnd: 2674
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          243
      EdgeCount:       44
      CyclomaticComplexity: 10
      functionsReached:
        - iasecc_sdo_encode_update_field
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2646,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2648,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2648,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2654,17'
          Dst:             iasecc_sdo_encode_update_field
        - Src:             'card-iasecc.c:2656,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2657,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2657,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2659,3'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:2665,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:2666,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2666,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2667,8'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:2668,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2668,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2673,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2673,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2673,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_key_rsa_put_data
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2679
      functionLinenumberEnd: 2744
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         73
      ICount:          458
      EdgeCount:       92
      CyclomaticComplexity: 21
      functionsReached:
        - iasecc_sdo_encode_rsa_update
        - iasecc_sdo_put_data
        - iasecc_sm_rsa_update
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2684,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2687,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2688,8'
          Dst:             iasecc_sdo_encode_rsa_update
        - Src:             'card-iasecc.c:2689,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2689,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2693,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2700,8'
          Dst:             iasecc_sdo_encode_rsa_update
        - Src:             'card-iasecc.c:2701,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2701,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2705,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2708,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2708,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2711,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2720,5'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2720,5'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2724,10'
          Dst:             iasecc_sm_rsa_update
        - Src:             'card-iasecc.c:2725,5'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2725,5'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2725,5'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2732,8'
          Dst:             iasecc_sdo_put_data
        - Src:             'card-iasecc.c:2733,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2733,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2737,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2739,8'
          Dst:             iasecc_sdo_put_data
        - Src:             'card-iasecc.c:2740,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2740,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2743,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2743,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2743,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_delete
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2607
      functionLinenumberEnd: 2636
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          184
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2615,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2617,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2617,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2622,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2624,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:2630,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:2631,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2631,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2632,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:2633,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2633,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2635,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2635,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2635,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_create
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2541
      functionLinenumberEnd: 2602
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         50
      ICount:          364
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - iasecc_sdo_encode_create
        - iasecc_sdo_put_data
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2549,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2551,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2551,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2553,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2556,13'
          Dst:             iasecc_sdo_encode_create
        - Src:             'card-iasecc.c:2557,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2557,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2558,2'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:2558,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2560,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:2566,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:2567,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2567,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2568,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:2569,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2569,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2593,8'
          Dst:             iasecc_sdo_put_data
        - Src:             'card-iasecc.c:2594,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2594,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2601,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2601,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2601,2'
          Dst:             sc_do_log
    - functionName:    iasecc_fcp_encode
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1192
      functionLinenumberEnd: 1306
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         68
      ICount:          616
      EdgeCount:       88
      CyclomaticComplexity: 22
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1201,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1232,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-iasecc.c:1236,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1250,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1250,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1253,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1301,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1301,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1305,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1305,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1305,2'
          Dst:             sc_do_log
    - functionName:    sc_evp_md_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 125
      functionLinenumberEnd: 126
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_evp_md
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_digestbyname
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:121,19'
          Dst:             EVP_get_digestbyname
    - functionName:    iasecc_qsign_data_sha256
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3157
      functionLinenumberEnd: 3241
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          439
      EdgeCount:       65
      CyclomaticComplexity: 16
      functionsReached:
        - EVP_DigestFinal_ex
        - EVP_DigestInit_ex
        - EVP_DigestUpdate
        - EVP_MD_CTX_free
        - EVP_MD_CTX_md_data
        - EVP_MD_CTX_new
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_dump_hex
        - sc_evp_md
        - sc_evp_md_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3170,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3172,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3172,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3172,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3174,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3177,7'
          Dst:             sc_evp_md
        - Src:             'card-iasecc.c:3178,10'
          Dst:             EVP_MD_CTX_new
        - Src:             'card-iasecc.c:3179,6'
          Dst:             EVP_DigestInit_ex
        - Src:             'card-iasecc.c:3180,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-iasecc.c:3181,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3185,12'
          Dst:             EVP_MD_CTX_md_data
        - Src:             'card-iasecc.c:3187,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-iasecc.c:3188,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3193,6'
          Dst:             EVP_DigestUpdate
        - Src:             'card-iasecc.c:3194,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-iasecc.c:3195,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3203,2'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:3203,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3212,2'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:3212,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3217,3'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:3217,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3221,6'
          Dst:             EVP_DigestFinal_ex
        - Src:             'card-iasecc.c:3222,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-iasecc.c:3223,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3228,2'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:3228,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3233,2'
          Dst:             EVP_MD_CTX_free
        - Src:             'card-iasecc.c:3234,2'
          Dst:             sc_evp_md_free
        - Src:             'card-iasecc.c:3236,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3236,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3236,2'
          Dst:             sc_do_log
    - functionName:    EVP_MD_CTX_md_data
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iasecc_qsign_data_sha1
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3061
      functionLinenumberEnd: 3151
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          461
      EdgeCount:       65
      CyclomaticComplexity: 16
      functionsReached:
        - EVP_DigestFinal_ex
        - EVP_DigestInit_ex
        - EVP_DigestUpdate
        - EVP_MD_CTX_free
        - EVP_MD_CTX_md_data
        - EVP_MD_CTX_new
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_dump_hex
        - sc_evp_md
        - sc_evp_md_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3073,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3076,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3076,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3076,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3078,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3081,7'
          Dst:             sc_evp_md
        - Src:             'card-iasecc.c:3082,10'
          Dst:             EVP_MD_CTX_new
        - Src:             'card-iasecc.c:3083,6'
          Dst:             EVP_DigestInit_ex
        - Src:             'card-iasecc.c:3084,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-iasecc.c:3085,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3089,12'
          Dst:             EVP_MD_CTX_md_data
        - Src:             'card-iasecc.c:3091,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-iasecc.c:3092,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3097,6'
          Dst:             EVP_DigestUpdate
        - Src:             'card-iasecc.c:3098,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-iasecc.c:3099,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3113,2'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:3113,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3122,2'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:3122,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3127,3'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:3127,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3131,6'
          Dst:             EVP_DigestFinal_ex
        - Src:             'card-iasecc.c:3132,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-iasecc.c:3133,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3138,2'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:3138,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3143,2'
          Dst:             EVP_MD_CTX_free
        - Src:             'card-iasecc.c:3144,2'
          Dst:             sc_evp_md_free
        - Src:             'card-iasecc.c:3146,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3146,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3146,2'
          Dst:             sc_do_log
    - functionName:    iasecc_compute_signature_at
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3338
      functionLinenumberEnd: 3388
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          347
      EdgeCount:       70
      CyclomaticComplexity: 16
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3347,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3349,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3349,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3351,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:3359,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:3360,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3360,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3361,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:3362,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3362,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3366,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3366,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3377,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3377,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3382,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3382,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3387,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3387,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3387,2'
          Dst:             sc_do_log
    - functionName:    iasecc_compute_signature_dst
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3247
      functionLinenumberEnd: 3332
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         84
      ICount:          602
      EdgeCount:       106
      CyclomaticComplexity: 24
      functionsReached:
        - iasecc_qsign_data_sha1
        - iasecc_qsign_data_sha256
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3258,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3259,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3261,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3261,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3263,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3263,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3265,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3265,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3265,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3269,8'
          Dst:             iasecc_qsign_data_sha1
        - Src:             'card-iasecc.c:3272,8'
          Dst:             iasecc_qsign_data_sha256
        - Src:             'card-iasecc.c:3275,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3275,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3276,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3276,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3278,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3298,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3301,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3301,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3303,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:3308,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:3309,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3309,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3310,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:3311,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3311,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3313,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3315,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:3320,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:3321,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3321,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3322,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:3323,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3323,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3325,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3327,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3327,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3331,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3331,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3331,2'
          Dst:             sc_do_log
    - functionName:    iasecc_get_algorithm
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1498
      functionLinenumberEnd: 1520
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          172
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1512,9'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1516,9'
          Dst:             sc_do_log
    - functionName:    iasecc_mi_match
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 525
      functionLinenumberEnd: 545
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         25
      ICount:          158
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
        - iso7816_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:531,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:533,7'
          Dst:             iso7816_select_aid
        - Src:             'card-iasecc.c:534,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:534,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:537,18'
          Dst:             calloc
        - Src:             'card-iasecc.c:539,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:539,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:539,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:544,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:544,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:544,2'
          Dst:             sc_do_log
    - functionName:    iasecc_oberthur_match
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 460
      functionLinenumberEnd: 483
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         40
      ICount:          252
      EdgeCount:       49
      CyclomaticComplexity: 11
      functionsReached:
        - _sc_debug_hex
        - calloc
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:464,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:467,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:467,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:467,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:469,2'
          Dst:             _sc_debug_hex
        - Src:             'card-iasecc.c:471,6'
          Dst:             memcmp
        - Src:             'card-iasecc.c:472,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:472,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:472,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:475,18'
          Dst:             calloc
        - Src:             'card-iasecc.c:477,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:477,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:477,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:482,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:482,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:482,2'
          Dst:             sc_do_log
    - functionName:    iasecc_parse_ef_atr
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 369
      functionLinenumberEnd: 414
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         31
      ICount:          349
      EdgeCount:       38
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_parse_ef_atr
        - sc_strerror
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:376,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:377,7'
          Dst:             sc_parse_ef_atr
        - Src:             'card-iasecc.c:378,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:378,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:381,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:381,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:387,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:391,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:391,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:398,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:411,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:413,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:413,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:413,2'
          Dst:             sc_do_log
    - functionName:    _iasecc_sm_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 795
      functionLinenumberEnd: 822
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          222
      EdgeCount:       43
      CyclomaticComplexity: 11
      functionsReached:
        - iasecc_sm_update_binary
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:804,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:805,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:808,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-iasecc.c:810,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:810,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:812,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:816,9'
          Dst:             iasecc_sm_update_binary
        - Src:             'card-iasecc.c:817,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:817,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:817,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:821,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:821,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:821,2'
          Dst:             sc_do_log
    - functionName:    _iasecc_sm_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 760
      functionLinenumberEnd: 789
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          253
      EdgeCount:       52
      CyclomaticComplexity: 13
      functionsReached:
        - iasecc_sm_read_binary
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:766,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:767,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:769,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:769,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:775,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-iasecc.c:777,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:777,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:779,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:783,9'
          Dst:             iasecc_sm_read_binary
        - Src:             'card-iasecc.c:784,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:784,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:784,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:788,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:788,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:788,2'
          Dst:             sc_do_log
    - functionName:    iasecc_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2464
      functionLinenumberEnd: 2536
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         64
      ICount:          474
      EdgeCount:       80
      CyclomaticComplexity: 18
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - sprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:2472,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2478,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:2483,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:2484,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2484,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2485,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:2486,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2486,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2489,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2489,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2526,4'
          Dst:             sprintf
        - Src:             'card-iasecc.c:2528,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2535,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2535,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2535,2'
          Dst:             sc_do_log
    - functionName:    iasecc_init_cpx
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 600
      functionLinenumberEnd: 619
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          97
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_card_add_rsa_alg
        - iasecc_parse_ef_atr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:605,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:611,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-iasecc.c:612,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-iasecc.c:613,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-iasecc.c:615,7'
          Dst:             iasecc_parse_ef_atr
        - Src:             'card-iasecc.c:616,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:616,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:618,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:618,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:618,2'
          Dst:             sc_do_log
    - functionName:    iasecc_init_amos_or_sagem
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 550
      functionLinenumberEnd: 582
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         32
      ICount:          188
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - _sc_card_add_rsa_alg
        - iasecc_mi_match
        - iasecc_parse_ef_atr
        - iasecc_select_mf
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:555,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:559,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-iasecc.c:560,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-iasecc.c:565,8'
          Dst:             iasecc_mi_match
        - Src:             'card-iasecc.c:569,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:569,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:569,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:572,7'
          Dst:             iasecc_parse_ef_atr
        - Src:             'card-iasecc.c:574,8'
          Dst:             iasecc_select_mf
        - Src:             'card-iasecc.c:575,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:575,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:577,8'
          Dst:             iasecc_parse_ef_atr
        - Src:             'card-iasecc.c:579,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:579,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:581,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:581,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:581,2'
          Dst:             sc_do_log
    - functionName:    iasecc_init_oberthur
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 488
      functionLinenumberEnd: 520
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         25
      ICount:          172
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - _sc_card_add_rsa_alg
        - gp_select_card_manager
        - gp_select_isd_rid
        - iasecc_oberthur_match
        - iasecc_parse_ef_atr
        - iasecc_select_mf
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:493,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:497,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-iasecc.c:498,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-iasecc.c:502,2'
          Dst:             iasecc_parse_ef_atr
        - Src:             'card-iasecc.c:505,6'
          Dst:             gp_select_card_manager
        - Src:             'card-iasecc.c:506,3'
          Dst:             gp_select_isd_rid
        - Src:             'card-iasecc.c:509,7'
          Dst:             iasecc_oberthur_match
        - Src:             'card-iasecc.c:510,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:510,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:512,7'
          Dst:             iasecc_select_mf
        - Src:             'card-iasecc.c:513,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:513,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:515,7'
          Dst:             iasecc_parse_ef_atr
        - Src:             'card-iasecc.c:516,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:516,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:518,2'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:518,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:519,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:519,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:519,2'
          Dst:             sc_do_log
    - functionName:    iasecc_init_gemalto
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 419
      functionLinenumberEnd: 455
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          164
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - _sc_card_add_rsa_alg
        - iasecc_parse_ef_atr
        - iasecc_select_mf
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:425,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:431,2'
          Dst:             sc_format_path
        - Src:             'card-iasecc.c:432,20'
          Dst:             sc_select_file
        - Src:             'card-iasecc.c:434,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:437,7'
          Dst:             iasecc_parse_ef_atr
        - Src:             'card-iasecc.c:438,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:440,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:441,8'
          Dst:             iasecc_select_mf
        - Src:             'card-iasecc.c:442,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:443,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:443,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:445,8'
          Dst:             iasecc_parse_ef_atr
        - Src:             'card-iasecc.c:446,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:448,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:449,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:449,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:451,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-iasecc.c:452,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-iasecc.c:454,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:454,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:454,2'
          Dst:             sc_do_log
    - functionName:    iasecc_read_public_key
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3422
      functionLinenumberEnd: 3478
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          376
      EdgeCount:       73
      CyclomaticComplexity: 17
      functionsReached:
        - iasecc_sdo_free_fields
        - iasecc_sdo_get_data
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_pkcs15_encode_pubkey_rsa
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3429,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3431,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3431,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3431,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3433,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3440,7'
          Dst:             iasecc_sdo_get_data
        - Src:             'card-iasecc.c:3441,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3441,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3450,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3450,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3456,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3456,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3463,7'
          Dst:             sc_pkcs15_encode_pubkey_rsa
        - Src:             'card-iasecc.c:3464,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3464,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3467,3'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:3467,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3475,2'
          Dst:             iasecc_sdo_free_fields
        - Src:             'card-iasecc.c:3477,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3477,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3477,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2428
      functionLinenumberEnd: 2458
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          149
      EdgeCount:       20
      CyclomaticComplexity: 3
      functionsReached:
        - iasecc_keyset_change
        - iasecc_pin_change
        - iasecc_pin_get_info
        - iasecc_pin_reset
        - iasecc_pin_verify
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-iasecc.c:2437,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-iasecc.c:2432,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2433,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2439,8'
          Dst:             iasecc_pin_verify
        - Src:             'card-iasecc.c:2443,9'
          Dst:             iasecc_keyset_change
        - Src:             'card-iasecc.c:2445,9'
          Dst:             iasecc_pin_change
        - Src:             'card-iasecc.c:2448,8'
          Dst:             iasecc_pin_reset
        - Src:             'card-iasecc.c:2451,8'
          Dst:             iasecc_pin_get_info
        - Src:             'card-iasecc.c:2454,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2458,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:2458,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:2458,2'
          Dst:             sc_do_log
    - functionName:    iasecc_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2973
      functionLinenumberEnd: 3009
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          157
      EdgeCount:       29
      CyclomaticComplexity: 16
      functionsReached:
        - iasecc_get_chv_reference_from_se
        - iasecc_get_free_reference
        - iasecc_get_serialnr
        - iasecc_sdo_create
        - iasecc_sdo_delete
        - iasecc_sdo_generate
        - iasecc_sdo_get_data
        - iasecc_sdo_key_rsa_put_data
        - iasecc_sdo_put_data
        - iasecc_se_get_info
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-iasecc.c:2977,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-iasecc.c:2979,10'
          Dst:             iasecc_get_serialnr
        - Src:             'card-iasecc.c:2981,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2982,10'
          Dst:             iasecc_sdo_create
        - Src:             'card-iasecc.c:2984,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2985,10'
          Dst:             iasecc_sdo_delete
        - Src:             'card-iasecc.c:2987,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2988,10'
          Dst:             iasecc_sdo_put_data
        - Src:             'card-iasecc.c:2990,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2991,10'
          Dst:             iasecc_sdo_key_rsa_put_data
        - Src:             'card-iasecc.c:2993,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2994,10'
          Dst:             iasecc_sdo_get_data
        - Src:             'card-iasecc.c:2996,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:2997,10'
          Dst:             iasecc_sdo_generate
        - Src:             'card-iasecc.c:2999,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3000,10'
          Dst:             iasecc_se_get_info
        - Src:             'card-iasecc.c:3002,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3003,10'
          Dst:             iasecc_get_chv_reference_from_se
        - Src:             'card-iasecc.c:3005,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3006,10'
          Dst:             iasecc_get_free_reference
    - functionName:    iasecc_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1487
      functionLinenumberEnd: 1492
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          51
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iasecc_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1439
      functionLinenumberEnd: 1482
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          297
      EdgeCount:       57
      CyclomaticComplexity: 13
      functionsReached:
        - iasecc_select_file
        - iasecc_sm_delete_file
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1446,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1448,7'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:1450,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1450,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1450,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1451,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1451,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1453,10'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-iasecc.c:1455,3'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1456,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1456,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1459,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1462,8'
          Dst:             iasecc_sm_delete_file
        - Src:             'card-iasecc.c:1463,3'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1467,3'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1468,3'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:1470,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:1471,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1471,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1472,8'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:1473,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1473,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1476,4'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1481,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1481,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1481,2'
          Dst:             sc_do_log
    - functionName:    iasecc_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1311
      functionLinenumberEnd: 1363
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         59
      ICount:          389
      EdgeCount:       74
      CyclomaticComplexity: 17
      functionsReached:
        - iasecc_fcp_encode
        - iasecc_select_file
        - iasecc_sm_create_file
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_file_get_acl_entry
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1320,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1323,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1323,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1325,7'
          Dst:             iasecc_fcp_encode
        - Src:             'card-iasecc.c:1326,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1326,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1333,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-iasecc.c:1335,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1335,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1337,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1338,3'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:1338,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1340,30'
          Dst:             iasecc_sm_create_file
        - Src:             'card-iasecc.c:1341,25'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1341,25'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1343,30'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:1344,25'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1344,25'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1344,25'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1349,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:1354,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:1355,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1355,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1356,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:1357,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1357,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1359,7'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:1360,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1360,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1362,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1362,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1362,2'
          Dst:             sc_do_log
    - functionName:    iasecc_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3394
      functionLinenumberEnd: 3415
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          134
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - iasecc_compute_signature_at
        - iasecc_compute_signature_dst
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3406,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3407,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3410,10'
          Dst:             iasecc_compute_signature_dst
        - Src:             'card-iasecc.c:3412,10'
          Dst:             iasecc_compute_signature_at
        - Src:             'card-iasecc.c:3414,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3414,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3414,2'
          Dst:             sc_do_log
    - functionName:    iasecc_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3016
      functionLinenumberEnd: 3055
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          247
      EdgeCount:       42
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3024,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3025,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3027,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3027,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3027,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:3034,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:3043,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:3044,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3044,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3045,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:3046,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3046,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3054,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:3054,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:3054,2'
          Dst:             sc_do_log
    - functionName:    iasecc_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1662
      functionLinenumberEnd: 1833
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         152
      ICount:          986
      EdgeCount:       190
      CyclomaticComplexity: 40
      functionsReached:
        - iasecc_get_algorithm
        - iasecc_sdo_convert_acl
        - iasecc_sdo_get_data
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-iasecc.c:1740,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-iasecc.c:1688,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1689,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1695,7'
          Dst:             iasecc_sdo_get_data
        - Src:             'card-iasecc.c:1696,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1696,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1699,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1699,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1699,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1702,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1704,7'
          Dst:             iasecc_sdo_convert_acl
        - Src:             'card-iasecc.c:1705,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1705,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1707,7'
          Dst:             iasecc_sdo_convert_acl
        - Src:             'card-iasecc.c:1708,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1708,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1713,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1713,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1717,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1721,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1721,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1731,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1731,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1737,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1738,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1743,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1743,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1746,15'
          Dst:             iasecc_get_algorithm
        - Src:             'card-iasecc.c:1748,5'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1748,5'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1752,15'
          Dst:             iasecc_get_algorithm
        - Src:             'card-iasecc.c:1754,5'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1754,5'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1760,15'
          Dst:             iasecc_get_algorithm
        - Src:             'card-iasecc.c:1762,5'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1762,5'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1766,15'
          Dst:             iasecc_get_algorithm
        - Src:             'card-iasecc.c:1768,5'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1768,5'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1774,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1774,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1777,3'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:1782,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:1783,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1783,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1784,8'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:1785,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1785,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1787,3'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:1793,14'
          Dst:             iasecc_get_algorithm
        - Src:             'card-iasecc.c:1795,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1795,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1800,3'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:1806,8'
          Dst:             iasecc_sdo_convert_acl
        - Src:             'card-iasecc.c:1807,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1807,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1808,14'
          Dst:             iasecc_get_algorithm
        - Src:             'card-iasecc.c:1810,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1810,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1815,3'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:1821,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1821,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1821,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1824,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:1825,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1825,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1826,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:1827,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1827,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1832,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1832,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1832,2'
          Dst:             sc_do_log
    - functionName:    iasecc_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1391
      functionLinenumberEnd: 1409
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          114
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - iasecc_select_file
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1396,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1405,7'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:1406,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1408,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1408,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1408,2'
          Dst:             sc_do_log
    - functionName:    iasecc_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1367
      functionLinenumberEnd: 1386
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          119
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1373,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1376,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1376,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1385,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1385,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1385,2'
          Dst:             sc_do_log
    - functionName:    iasecc_erase_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 734
      functionLinenumberEnd: 753
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          145
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_update_binary
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:739,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:740,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:742,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:742,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:746,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:746,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:749,7'
          Dst:             sc_update_binary
        - Src:             'card-iasecc.c:752,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:752,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:752,2'
          Dst:             sc_do_log
    - functionName:    iasecc_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 697
      functionLinenumberEnd: 729
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          244
      EdgeCount:       44
      CyclomaticComplexity: 11
      functionsReached:
        - iasecc_read_binary
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:702,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:703,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:705,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:709,2'
          Dst:             sc_format_apdu
        - Src:             'card-iasecc.c:714,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-iasecc.c:715,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:715,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:716,7'
          Dst:             sc_check_sw
        - Src:             'card-iasecc.c:717,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:717,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:718,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:721,8'
          Dst:             iasecc_read_binary
        - Src:             'card-iasecc.c:723,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:723,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:728,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:728,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:728,2'
          Dst:             sc_do_log
    - functionName:    iasecc_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1414
      functionLinenumberEnd: 1433
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          95
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_invalidate_cache
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:1419,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:1421,2'
          Dst:             sc_invalidate_cache
        - Src:             'card-iasecc.c:1424,3'
          Dst:             sc_file_free
        - Src:             'card-iasecc.c:1433,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:1433,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:1433,2'
          Dst:             sc_do_log
    - functionName:    iasecc_init
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 624
      functionLinenumberEnd: 691
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         63
      ICount:          386
      EdgeCount:       81
      CyclomaticComplexity: 20
      functionsReached:
        - calloc
        - iasecc_get_serialnr
        - iasecc_init_amos_or_sagem
        - iasecc_init_cpx
        - iasecc_init_gemalto
        - iasecc_init_oberthur
        - iasecc_is_cpx
        - iasecc_select_file
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_invalidate_cache
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:630,2'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:631,48'
          Dst:             calloc
        - Src:             'card-iasecc.c:633,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:633,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:633,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:639,8'
          Dst:             iasecc_init_gemalto
        - Src:             'card-iasecc.c:641,8'
          Dst:             iasecc_init_oberthur
        - Src:             'card-iasecc.c:643,8'
          Dst:             iasecc_init_amos_or_sagem
        - Src:             'card-iasecc.c:645,8'
          Dst:             iasecc_init_amos_or_sagem
        - Src:             'card-iasecc.c:647,8'
          Dst:             iasecc_init_amos_or_sagem
        - Src:             'card-iasecc.c:648,11'
          Dst:             iasecc_is_cpx
        - Src:             'card-iasecc.c:649,8'
          Dst:             iasecc_init_cpx
        - Src:             'card-iasecc.c:651,3'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:651,3'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:664,9'
          Dst:             iasecc_select_file
        - Src:             'card-iasecc.c:665,4'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:666,4'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:666,4'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:669,3'
          Dst:             iasecc_get_serialnr
        - Src:             'card-iasecc.c:678,3'
          Dst:             sc_dump_hex
        - Src:             'card-iasecc.c:678,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:683,3'
          Dst:             sc_invalidate_cache
        - Src:             'card-iasecc.c:690,2'
          Dst:             sc_strerror
        - Src:             'card-iasecc.c:690,2'
          Dst:             sc_do_log_color
        - Src:             'card-iasecc.c:690,2'
          Dst:             sc_do_log
    - functionName:    iasecc_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 353
      functionLinenumberEnd: 365
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:357,6'
          Dst:             _sc_match_atr
        - Src:             'card-iasecc.c:359,3'
          Dst:             sc_do_log
        - Src:             'card-iasecc.c:363,2'
          Dst:             sc_do_log
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3591
      functionLinenumberEnd: 3633
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3592,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_iasecc_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3638
      functionLinenumberEnd: 3639
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-iasecc.c:3639,9'
          Dst:             sc_get_driver
    - functionName:    iasecc_update_blob
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 876
      functionLinenumberEnd: 916
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          320
      EdgeCount:       52
      CyclomaticComplexity: 13
      functionsReached:
        - realloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:881,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:881,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:881,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:893,7'
          Dst:             realloc
        - Src:             'iasecc-sdo.c:895,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:895,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:895,3'
          Dst:             sc_do_log
    - functionName:    iasecc_parse_keyset
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 562
      functionLinenumberEnd: 589
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          156
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - iasecc_parse_get_tlv
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:567,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:571,8'
          Dst:             iasecc_parse_get_tlv
        - Src:             'iasecc-sdo.c:572,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:572,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:574,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:582,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:582,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:588,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:588,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:588,2'
          Dst:             sc_do_log
    - functionName:    iasecc_parse_get_tlv
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 408
      functionLinenumberEnd: 443
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          331
      EdgeCount:       57
      CyclomaticComplexity: 13
      functionsReached:
        - calloc
        - iasecc_parse_size
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:413,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:415,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:415,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:415,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:418,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:418,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:418,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:427,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:428,13'
          Dst:             iasecc_parse_size
        - Src:             'iasecc-sdo.c:429,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:429,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:431,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:431,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:431,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:434,15'
          Dst:             calloc
        - Src:             'iasecc-sdo.c:436,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:436,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:436,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:441,2'
          Dst:             sc_do_log
    - functionName:    iasecc_parse_size
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 388
      functionLinenumberEnd: 403
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          112
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iasecc_parse_prvkey
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 486
      functionLinenumberEnd: 513
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          156
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - iasecc_parse_get_tlv
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:491,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:495,8'
          Dst:             iasecc_parse_get_tlv
        - Src:             'iasecc-sdo.c:496,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:496,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:498,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:506,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:506,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:512,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:512,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:512,2'
          Dst:             sc_do_log
    - functionName:    iasecc_parse_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 518
      functionLinenumberEnd: 557
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          228
      EdgeCount:       45
      CyclomaticComplexity: 11
      functionsReached:
        - iasecc_parse_get_tlv
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:523,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:527,8'
          Dst:             iasecc_parse_get_tlv
        - Src:             'iasecc-sdo.c:528,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:528,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:530,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:550,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:550,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:556,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:556,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:556,2'
          Dst:             sc_do_log
    - functionName:    iasecc_parse_chv
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 448
      functionLinenumberEnd: 481
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          192
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - iasecc_parse_get_tlv
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:453,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:457,8'
          Dst:             iasecc_parse_get_tlv
        - Src:             'iasecc-sdo.c:458,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:458,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:460,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:474,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:474,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:480,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:480,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:480,2'
          Dst:             sc_do_log
    - functionName:    iasecc_parse_docp
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 594
      functionLinenumberEnd: 662
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          385
      EdgeCount:       75
      CyclomaticComplexity: 18
      functionsReached:
        - iasecc_parse_acls
        - iasecc_parse_docp
        - iasecc_parse_get_tlv
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:599,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:603,8'
          Dst:             iasecc_parse_get_tlv
        - Src:             'iasecc-sdo.c:604,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:604,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:606,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:610,14'
          Dst:             iasecc_parse_docp
        - Src:             'iasecc-sdo.c:612,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:612,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:652,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:652,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:658,7'
          Dst:             iasecc_parse_acls
        - Src:             'iasecc-sdo.c:659,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:659,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:661,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:661,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:661,2'
          Dst:             sc_do_log
    - functionName:    iasecc_parse_acls
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          261
      EdgeCount:       42
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:55,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:55,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:55,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:62,5'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:62,5'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:62,5'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:67,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:70,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:70,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:70,2'
          Dst:             sc_do_log
    - functionName:    iasecc_tlv_copy
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1304
      functionLinenumberEnd: 1322
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          175
      EdgeCount:       35
      CyclomaticComplexity: 9
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:1306,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1306,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1306,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1313,16'
          Dst:             calloc
        - Src:             'iasecc-sdo.c:1315,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1315,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1315,4'
          Dst:             sc_do_log
    - functionName:    iasecc_docp_copy
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1327
      functionLinenumberEnd: 1367
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         57
      ICount:          363
      EdgeCount:       70
      CyclomaticComplexity: 15
      functionsReached:
        - iasecc_tlv_copy
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:1330,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1332,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1332,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1332,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1336,7'
          Dst:             iasecc_tlv_copy
        - Src:             'iasecc-sdo.c:1337,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1337,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1339,7'
          Dst:             iasecc_tlv_copy
        - Src:             'iasecc-sdo.c:1340,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1340,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1342,7'
          Dst:             iasecc_tlv_copy
        - Src:             'iasecc-sdo.c:1343,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1343,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1345,7'
          Dst:             iasecc_tlv_copy
        - Src:             'iasecc-sdo.c:1346,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1346,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1348,7'
          Dst:             iasecc_tlv_copy
        - Src:             'iasecc-sdo.c:1349,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1349,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1351,7'
          Dst:             iasecc_tlv_copy
        - Src:             'iasecc-sdo.c:1352,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1352,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1354,7'
          Dst:             iasecc_tlv_copy
        - Src:             'iasecc-sdo.c:1355,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1355,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1357,7'
          Dst:             iasecc_tlv_copy
        - Src:             'iasecc-sdo.c:1358,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1358,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1360,7'
          Dst:             iasecc_tlv_copy
        - Src:             'iasecc-sdo.c:1361,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1361,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1366,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1366,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1366,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_parse_card_answer
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1243
      functionLinenumberEnd: 1299
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         92
      ICount:          515
      EdgeCount:       117
      CyclomaticComplexity: 27
      functionsReached:
        - iasecc_parse_size
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:1247,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1249,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1249,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1249,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1253,8'
          Dst:             iasecc_parse_size
        - Src:             'iasecc-sdo.c:1255,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1255,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1255,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1259,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1259,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1259,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1264,5'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1264,5'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1272,5'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1272,5'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1282,5'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1282,5'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1291,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1291,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1296,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1296,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1298,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1298,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1298,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_encode_rsa_update
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1121
      functionLinenumberEnd: 1237
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          800
      EdgeCount:       79
      CyclomaticComplexity: 20
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:1122,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1124,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1129,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1131,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1131,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1168,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1171,5'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1183,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1233,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1233,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1233,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1236,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1236,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1236,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_encode_update_field
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1068
      functionLinenumberEnd: 1115
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - char
        - char
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          178
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - iasecc_sdo_encode_asn1_tag
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:1091,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1093,30'
          Dst:             iasecc_sdo_encode_asn1_tag
        - Src:             'iasecc-sdo.c:1094,28'
          Dst:             iasecc_sdo_encode_asn1_tag
        - Src:             'iasecc-sdo.c:1097,29'
          Dst:             iasecc_sdo_encode_asn1_tag
        - Src:             'iasecc-sdo.c:1099,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'iasecc-sdo.c:1100,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'iasecc-sdo.c:1101,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'iasecc-sdo.c:1102,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'iasecc-sdo.c:1104,2'
          Dst:             sc_format_asn1_entry
        - Src:             'iasecc-sdo.c:1105,2'
          Dst:             sc_format_asn1_entry
        - Src:             'iasecc-sdo.c:1106,2'
          Dst:             sc_format_asn1_entry
        - Src:             'iasecc-sdo.c:1107,2'
          Dst:             sc_format_asn1_entry
        - Src:             'iasecc-sdo.c:1109,7'
          Dst:             sc_asn1_encode
        - Src:             'iasecc-sdo.c:1110,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1110,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1112,2'
          Dst:             sc_dump_hex
        - Src:             'iasecc-sdo.c:1112,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1113,2'
          Dst:             sc_dump_hex
        - Src:             'iasecc-sdo.c:1113,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1114,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1114,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1114,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_encode_asn1_tag
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 998
      functionLinenumberEnd: 1016
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          56
      EdgeCount:       19
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    4
      BranchProfiles:
        - Branch String:   'iasecc-sdo.c:1005,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    iasecc_encode_docp
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 921
      functionLinenumberEnd: 993
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         75
      ICount:          449
      EdgeCount:       93
      CyclomaticComplexity: 20
      functionsReached:
        - iasecc_update_blob
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:927,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:929,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:929,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:929,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:935,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:936,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:936,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:938,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:939,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:939,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:946,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:947,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:947,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:949,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:950,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:950,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:952,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:953,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:953,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:955,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:956,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:956,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:958,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:959,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:959,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:961,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:962,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:962,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:964,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:965,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:965,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:967,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:968,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:968,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:970,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:971,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:971,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:978,7'
          Dst:             iasecc_update_blob
        - Src:             'iasecc-sdo.c:979,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:979,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:992,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:992,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:992,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_encode_create
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1022
      functionLinenumberEnd: 1062
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          199
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - iasecc_encode_docp
        - iasecc_sdo_encode_asn1_tag
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:1037,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1038,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1039,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1044,7'
          Dst:             iasecc_encode_docp
        - Src:             'iasecc-sdo.c:1045,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1045,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1048,28'
          Dst:             iasecc_sdo_encode_asn1_tag
        - Src:             'iasecc-sdo.c:1050,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'iasecc-sdo.c:1051,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'iasecc-sdo.c:1053,2'
          Dst:             sc_format_asn1_entry
        - Src:             'iasecc-sdo.c:1054,2'
          Dst:             sc_format_asn1_entry
        - Src:             'iasecc-sdo.c:1056,7'
          Dst:             sc_asn1_encode
        - Src:             'iasecc-sdo.c:1057,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1057,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1059,3'
          Dst:             sc_dump_hex
        - Src:             'iasecc-sdo.c:1059,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:1061,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:1061,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:1061,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_allocate_and_parse
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 823
      functionLinenumberEnd: 870
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          368
      EdgeCount:       73
      CyclomaticComplexity: 17
      functionsReached:
        - calloc
        - iasecc_parse_size
        - iasecc_sdo_parse_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:830,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:833,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:833,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:833,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:835,8'
          Dst:             calloc
        - Src:             'iasecc-sdo.c:843,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:845,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:845,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:845,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:847,14'
          Dst:             iasecc_parse_size
        - Src:             'iasecc-sdo.c:848,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:848,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:851,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:851,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:853,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:857,8'
          Dst:             iasecc_sdo_parse_data
        - Src:             'iasecc-sdo.c:858,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:858,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:864,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:864,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:866,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:869,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:869,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:869,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_parse_data
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 667
      functionLinenumberEnd: 750
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         90
      ICount:          559
      EdgeCount:       114
      CyclomaticComplexity: 26
      functionsReached:
        - iasecc_parse_chv
        - iasecc_parse_docp
        - iasecc_parse_get_tlv
        - iasecc_parse_keyset
        - iasecc_parse_prvkey
        - iasecc_parse_pubkey
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:672,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:673,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:675,13'
          Dst:             iasecc_parse_get_tlv
        - Src:             'iasecc-sdo.c:676,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:676,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:678,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:680,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:682,8'
          Dst:             iasecc_parse_docp
        - Src:             'iasecc-sdo.c:683,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:685,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:685,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:706,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:706,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:709,8'
          Dst:             iasecc_parse_chv
        - Src:             'iasecc-sdo.c:711,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:711,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:716,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:716,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:719,8'
          Dst:             iasecc_parse_pubkey
        - Src:             'iasecc-sdo.c:721,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:721,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:726,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:726,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:729,8'
          Dst:             iasecc_parse_prvkey
        - Src:             'iasecc-sdo.c:731,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:731,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:736,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:736,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:739,8'
          Dst:             iasecc_parse_keyset
        - Src:             'iasecc-sdo.c:741,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:741,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:744,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:746,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:746,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:746,3'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_parse
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 755
      functionLinenumberEnd: 817
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         99
      ICount:          576
      EdgeCount:       124
      CyclomaticComplexity: 27
      functionsReached:
        - iasecc_parse_size
        - iasecc_sdo_free_fields
        - iasecc_sdo_parse_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:761,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:764,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:764,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:764,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:767,15'
          Dst:             iasecc_parse_size
        - Src:             'iasecc-sdo.c:768,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:768,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:771,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:771,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:771,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:776,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:776,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:776,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:779,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:783,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:783,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:783,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:786,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:786,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:786,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:789,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:789,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:789,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:791,14'
          Dst:             iasecc_parse_size
        - Src:             'iasecc-sdo.c:792,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:792,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:795,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:795,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:797,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:801,8'
          Dst:             iasecc_sdo_parse_data
        - Src:             'iasecc-sdo.c:803,4'
          Dst:             iasecc_sdo_free_fields
        - Src:             'iasecc-sdo.c:804,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:804,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:811,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:811,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:813,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:816,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:816,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:816,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_free_fields
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 150
      functionLinenumberEnd: 187
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          202
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iasecc_crt_parse
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 200
      functionLinenumberEnd: 249
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         71
      ICount:          445
      EdgeCount:       89
      CyclomaticComplexity: 20
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:205,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:208,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:208,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:208,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:216,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:216,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:216,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:217,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:227,5'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:227,5'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:227,5'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:235,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:235,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:235,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:244,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:244,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:248,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:248,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:248,2'
          Dst:             sc_do_log
    - functionName:    iasecc_se_parse
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 317
      functionLinenumberEnd: 383
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         101
      ICount:          593
      EdgeCount:       126
      CyclomaticComplexity: 27
      functionsReached:
        - iasecc_crt_parse
        - iasecc_parse_size
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:323,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:324,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:327,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:327,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:327,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:330,15'
          Dst:             iasecc_parse_size
        - Src:             'iasecc-sdo.c:331,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:331,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:334,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:334,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:334,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:338,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:341,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:341,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:341,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:344,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:344,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:344,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:347,5'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:347,5'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:347,5'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:349,15'
          Dst:             iasecc_parse_size
        - Src:             'iasecc-sdo.c:350,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:350,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:353,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:353,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:357,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:361,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:362,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:362,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:362,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:365,14'
          Dst:             iasecc_parse_size
        - Src:             'iasecc-sdo.c:366,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:366,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:369,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:369,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:373,8'
          Dst:             iasecc_crt_parse
        - Src:             'iasecc-sdo.c:374,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:374,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:380,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:380,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:382,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:382,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:382,2'
          Dst:             sc_do_log
    - functionName:    iasecc_se_get_crt_by_usage
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 289
      functionLinenumberEnd: 312
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          251
      EdgeCount:       52
      CyclomaticComplexity: 13
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:293,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:295,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:295,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:295,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:296,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:306,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:307,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:307,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:307,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:310,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:311,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:311,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:311,2'
          Dst:             sc_do_log
    - functionName:    iasecc_se_get_crt
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 283
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          307
      EdgeCount:       59
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:258,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:260,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:260,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:260,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:261,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:276,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:278,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:278,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:278,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:281,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_free
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 192
      functionLinenumberEnd: 195
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - iasecc_sdo_free_fields
      functionUses:    25
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:193,2'
          Dst:             iasecc_sdo_free_fields
    - functionName:    iasecc_sdo_convert_acl
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 77
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          389
      EdgeCount:       75
      CyclomaticComplexity: 18
      functionsReached:
        - iasecc_parse_acls
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sdo.c:94,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:103,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:103,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:103,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:105,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:106,2'
          Dst:             sc_dump_hex
        - Src:             'iasecc-sdo.c:106,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:107,2'
          Dst:             sc_dump_hex
        - Src:             'iasecc-sdo.c:107,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:110,12'
          Dst:             iasecc_parse_acls
        - Src:             'iasecc-sdo.c:111,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:111,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:122,5'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:143,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sdo.c:144,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sdo.c:144,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sdo.c:144,2'
          Dst:             sc_do_log
    - functionName:    sm_restore_sc_context
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          83
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:79,8'
          Dst:             sc_select_file
        - Src:             'iasecc-sm.c:82,8'
          Dst:             sc_select_file
    - functionName:    iasecc_sm_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 662
      functionLinenumberEnd: 690
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          153
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_sm_cmd
        - iasecc_sm_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_remote_data_init
        - sc_strerror
        - sm_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:669,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:670,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:672,7'
          Dst:             iasecc_sm_initialize
        - Src:             'iasecc-sm.c:673,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:673,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:677,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:678,7'
          Dst:             iasecc_sm_cmd
        - Src:             'iasecc-sm.c:679,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:679,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:681,7'
          Dst:             sm_release
        - Src:             'iasecc-sm.c:682,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:682,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:685,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:685,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:685,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_initialize
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 270
      functionLinenumberEnd: 329
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          389
      EdgeCount:       67
      CyclomaticComplexity: 15
      functionsReached:
        - _strlcpy
        - iasecc_sm_se_mutual_authentication
        - iasecc_sm_transmit_apdus
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_get_challenge
        - sc_remote_data_init
        - sc_strerror
        - sm_save_sc_context
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:278,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:280,2'
          Dst:             _strlcpy
        - Src:             'iasecc-sm.c:286,7'
          Dst:             iasecc_sm_se_mutual_authentication
        - Src:             'iasecc-sm.c:287,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:287,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:289,7'
          Dst:             sc_get_challenge
        - Src:             'iasecc-sm.c:290,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:290,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:292,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:294,7'
          Dst:             sm_save_sc_context
        - Src:             'iasecc-sm.c:295,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:295,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:298,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:298,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:300,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:300,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:308,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:308,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:312,7'
          Dst:             iasecc_sm_transmit_apdus
        - Src:             'iasecc-sm.c:314,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:315,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:315,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:319,2'
          Dst:             sc_dump_hex
        - Src:             'iasecc-sm.c:319,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:322,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:322,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:324,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:324,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:324,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_cmd
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 335
      functionLinenumberEnd: 373
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          257
      EdgeCount:       45
      CyclomaticComplexity: 11
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:344,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:346,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:346,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:346,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:349,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:349,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:351,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:355,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:358,8'
          Dst:             sc_transmit_apdu
        - Src:             'iasecc-sm.c:360,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:364,8'
          Dst:             sc_check_sw
        - Src:             'iasecc-sm.c:366,4'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:369,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:372,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:372,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:372,2'
          Dst:             sc_do_log
    - functionName:    sm_release
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 132
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          130
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sm_restore_sc_context
      functionUses:    9
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:137,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:139,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:139,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:139,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:143,2'
          Dst:             sm_restore_sc_context
        - Src:             'iasecc-sm.c:144,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:144,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:144,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_se_mutual_authentication
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 264
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          239
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - iasecc_se_get_crt
        - iasecc_se_get_info
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:237,7'
          Dst:             iasecc_se_get_info
        - Src:             'iasecc-sm.c:238,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:238,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:240,7'
          Dst:             iasecc_se_get_crt
        - Src:             'iasecc-sm.c:241,2'
          Dst:             sc_file_free
        - Src:             'iasecc-sm.c:242,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:242,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:253,2'
          Dst:             sc_format_apdu
        - Src:             'iasecc-sm.c:258,7'
          Dst:             sc_transmit_apdu
        - Src:             'iasecc-sm.c:259,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:259,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:260,7'
          Dst:             sc_check_sw
        - Src:             'iasecc-sm.c:261,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:261,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:263,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:263,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:263,2'
          Dst:             sc_do_log
    - functionName:    sm_save_sc_context
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 40
      functionLinenumberEnd: 70
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          181
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:52,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_transmit_apdus
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 125
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          253
      EdgeCount:       50
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:99,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:100,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:103,3'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:104,8'
          Dst:             sc_transmit_apdu
        - Src:             'iasecc-sm.c:105,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:105,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:106,8'
          Dst:             sc_check_sw
        - Src:             'iasecc-sm.c:108,4'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:108,4'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:124,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:124,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:124,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 625
      functionLinenumberEnd: 657
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          166
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_sm_cmd
        - iasecc_sm_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_remote_data_init
        - sc_strerror
        - sm_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:633,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:634,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:636,7'
          Dst:             iasecc_sm_initialize
        - Src:             'iasecc-sm.c:637,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:637,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:644,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:645,7'
          Dst:             iasecc_sm_cmd
        - Src:             'iasecc-sm.c:646,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:646,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:648,7'
          Dst:             sm_release
        - Src:             'iasecc-sm.c:649,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:649,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:652,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:652,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:652,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 586
      functionLinenumberEnd: 619
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          168
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_sm_cmd
        - iasecc_sm_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_remote_data_init
        - sc_strerror
        - sm_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:594,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:595,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:597,7'
          Dst:             iasecc_sm_initialize
        - Src:             'iasecc-sm.c:598,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:598,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:604,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:605,7'
          Dst:             iasecc_sm_cmd
        - Src:             'iasecc-sm.c:606,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:606,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:608,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:610,7'
          Dst:             sm_release
        - Src:             'iasecc-sm.c:611,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:611,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:614,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:614,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:614,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_create_file
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 551
      functionLinenumberEnd: 582
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          162
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_sm_cmd
        - iasecc_sm_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_remote_data_init
        - sc_strerror
        - sm_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:559,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:560,2'
          Dst:             sc_dump_hex
        - Src:             'iasecc-sm.c:560,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:562,7'
          Dst:             iasecc_sm_initialize
        - Src:             'iasecc-sm.c:563,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:563,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:569,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:570,6'
          Dst:             iasecc_sm_cmd
        - Src:             'iasecc-sm.c:571,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:571,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:573,7'
          Dst:             sm_release
        - Src:             'iasecc-sm.c:574,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:574,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:577,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:577,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:577,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_pin_reset
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 518
      functionLinenumberEnd: 546
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          157
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_sm_cmd
        - iasecc_sm_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_remote_data_init
        - sc_strerror
        - sm_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:525,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:526,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:528,7'
          Dst:             iasecc_sm_initialize
        - Src:             'iasecc-sm.c:529,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:529,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:533,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:534,7'
          Dst:             iasecc_sm_cmd
        - Src:             'iasecc-sm.c:535,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:535,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:537,7'
          Dst:             sm_release
        - Src:             'iasecc-sm.c:538,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:538,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:541,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:541,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:541,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_sdo_update
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 483
      functionLinenumberEnd: 513
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          163
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_sm_cmd
        - iasecc_sm_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_print_path
        - sc_remote_data_init
        - sc_strerror
        - sm_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:490,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:491,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:493,7'
          Dst:             iasecc_sm_initialize
        - Src:             'iasecc-sm.c:494,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:494,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:496,2'
          Dst:             sc_print_path
        - Src:             'iasecc-sm.c:496,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:500,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:501,7'
          Dst:             iasecc_sm_cmd
        - Src:             'iasecc-sm.c:502,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:502,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:504,7'
          Dst:             sm_release
        - Src:             'iasecc-sm.c:505,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:505,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:508,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:508,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:508,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_pin_verify
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 446
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          214
      EdgeCount:       40
      CyclomaticComplexity: 10
      functionsReached:
        - iasecc_sm_cmd
        - iasecc_sm_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_remote_data_init
        - sc_strerror
        - sm_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:453,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:454,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:456,7'
          Dst:             iasecc_sm_initialize
        - Src:             'iasecc-sm.c:457,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:457,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:461,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:462,7'
          Dst:             iasecc_sm_cmd
        - Src:             'iasecc-sm.c:467,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:467,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:469,7'
          Dst:             sm_release
        - Src:             'iasecc-sm.c:470,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:470,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:473,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:473,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:473,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_rsa_update
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 412
      functionLinenumberEnd: 441
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          162
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_sm_cmd
        - iasecc_sm_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_remote_data_init
        - sc_strerror
        - sm_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:419,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:420,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:423,7'
          Dst:             iasecc_sm_initialize
        - Src:             'iasecc-sm.c:424,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:424,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:428,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:429,7'
          Dst:             iasecc_sm_cmd
        - Src:             'iasecc-sm.c:430,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:430,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:432,7'
          Dst:             sm_release
        - Src:             'iasecc-sm.c:433,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:433,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:436,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:436,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:436,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_rsa_generate
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 379
      functionLinenumberEnd: 407
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          158
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_sm_cmd
        - iasecc_sm_initialize
        - sc_do_log
        - sc_do_log_color
        - sc_remote_data_init
        - sc_strerror
        - sm_release
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:386,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:387,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:389,7'
          Dst:             iasecc_sm_initialize
        - Src:             'iasecc-sm.c:390,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:390,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:394,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:395,7'
          Dst:             iasecc_sm_cmd
        - Src:             'iasecc-sm.c:396,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:396,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:398,7'
          Dst:             sm_release
        - Src:             'iasecc-sm.c:399,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:399,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:402,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:402,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:402,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sm_external_authentication
      functionSourceFile: '/src/opensc/src/libopensc/iasecc-sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 216
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          408
      EdgeCount:       61
      CyclomaticComplexity: 14
      functionsReached:
        - _strlcpy
        - iasecc_sm_transmit_apdus
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_challenge
        - sc_remote_data_init
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iasecc-sm.c:161,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:162,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:165,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:165,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:167,2'
          Dst:             _strlcpy
        - Src:             'iasecc-sm.c:184,2'
          Dst:             sc_format_apdu
        - Src:             'iasecc-sm.c:189,7'
          Dst:             sc_transmit_apdu
        - Src:             'iasecc-sm.c:190,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:190,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:191,7'
          Dst:             sc_check_sw
        - Src:             'iasecc-sm.c:192,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:192,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:194,7'
          Dst:             sc_get_challenge
        - Src:             'iasecc-sm.c:195,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:195,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:197,2'
          Dst:             sc_remote_data_init
        - Src:             'iasecc-sm.c:200,3'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:200,3'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:202,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:202,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:204,2'
          Dst:             sc_do_log
        - Src:             'iasecc-sm.c:206,7'
          Dst:             iasecc_sm_transmit_apdus
        - Src:             'iasecc-sm.c:209,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:209,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:211,2'
          Dst:             sc_strerror
        - Src:             'iasecc-sm.c:211,2'
          Dst:             sc_do_log_color
        - Src:             'iasecc-sm.c:211,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_soc_select_minbioclient
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 334
      functionLinenumberEnd: 344
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - iso7816_select_aid
        - sc_sm_stop
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:342,2'
          Dst:             sc_sm_stop
        - Src:             'card-sc-hsm.c:344,9'
          Dst:             iso7816_select_aid
    - functionName:    sc_hsm_soc_biomatch
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 452
      functionLinenumberEnd: 487
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          206
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:458,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:465,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:466,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:466,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:471,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:477,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:478,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:478,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:481,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:483,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:483,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:483,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:486,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:486,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:486,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_perform_chip_authentication
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 606
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         42
      ICount:          323
      EdgeCount:       58
      CyclomaticComplexity: 18
      functionsReached:
        - BUF_MEM_free
        - CA_disable_passive_authentication
        - EAC_CTX_clear_free
        - EAC_CTX_init_ca
        - EAC_CTX_new
        - EVP_PKEY_free
        - EVP_PKEY_up_ref
        - TA_STEP2_import_certificate
        - TA_STEP3_generate_ephemeral_key
        - TA_disable_checks
        - perform_chip_authentication_ex
        - realloc
        - sc_do_log_openssl
        - sc_path_set
        - sc_pkcs15emu_sc_hsm_decode_cvc
        - sc_pkcs15emu_sc_hsm_free_cvc
        - sc_read_binary
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:517,7'
          Dst:             sc_path_set
        - Src:             'card-sc-hsm.c:520,7'
          Dst:             sc_select_file
        - Src:             'card-sc-hsm.c:523,7'
          Dst:             sc_read_binary
        - Src:             'card-sc-hsm.c:534,10'
          Dst:             realloc
        - Src:             'card-sc-hsm.c:546,6'
          Dst:             sc_pkcs15emu_sc_hsm_decode_cvc
        - Src:             'card-sc-hsm.c:552,6'
          Dst:             sc_pkcs15emu_sc_hsm_decode_cvc
        - Src:             'card-sc-hsm.c:557,8'
          Dst:             EAC_CTX_new
        - Src:             'card-sc-hsm.c:564,2'
          Dst:             TA_disable_checks
        - Src:             'card-sc-hsm.c:565,2'
          Dst:             CA_disable_passive_authentication
        - Src:             'card-sc-hsm.c:568,7'
          Dst:             TA_STEP2_import_certificate
        - Src:             'card-sc-hsm.c:569,8'
          Dst:             TA_STEP2_import_certificate
        - Src:             'card-sc-hsm.c:581,7'
          Dst:             EAC_CTX_init_ca
        - Src:             'card-sc-hsm.c:585,2'
          Dst:             EVP_PKEY_free
        - Src:             'card-sc-hsm.c:586,7'
          Dst:             EVP_PKEY_up_ref
        - Src:             'card-sc-hsm.c:587,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-sc-hsm.c:594,17'
          Dst:             TA_STEP3_generate_ephemeral_key
        - Src:             'card-sc-hsm.c:595,6'
          Dst:             perform_chip_authentication_ex
        - Src:             'card-sc-hsm.c:600,3'
          Dst:             EAC_CTX_clear_free
        - Src:             'card-sc-hsm.c:602,3'
          Dst:             BUF_MEM_free
        - Src:             'card-sc-hsm.c:603,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
        - Src:             'card-sc-hsm.c:604,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
    - functionName:    EVP_PKEY_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    29
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_up_ref
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BUF_MEM_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    86
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_hsm_soc_unblock
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 414
      functionLinenumberEnd: 449
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         31
      ICount:          195
      EdgeCount:       38
      CyclomaticComplexity: 9
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_hsm_select_file_ex
        - sc_hsm_soc_select_minbioclient
        - sc_path_set
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:424,6'
          Dst:             sc_hsm_soc_select_minbioclient
        - Src:             'card-sc-hsm.c:425,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:425,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:428,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:429,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:430,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:430,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:431,6'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:432,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:432,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:435,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:436,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:437,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:437,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:438,6'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:439,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:439,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:443,2'
          Dst:             sc_path_set
        - Src:             'card-sc-hsm.c:444,2'
          Dst:             sc_hsm_select_file_ex
        - Src:             'card-sc-hsm.c:444,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:444,2'
          Dst:             sc_do_log_color
    - functionName:    sc_hsm_select_file_ex
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 149
      functionLinenumberEnd: 240
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          527
      EdgeCount:       93
      CyclomaticComplexity: 26
      functionsReached:
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_free
        - sc_file_new
        - sc_hsm_select_file_ex
        - sc_strerror
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:158,8'
          Dst:             sc_hsm_select_file_ex
        - Src:             'card-sc-hsm.c:159,3'
          Dst:             sc_file_free
        - Src:             'card-sc-hsm.c:168,8'
          Dst:             sc_hsm_select_file_ex
        - Src:             'card-sc-hsm.c:169,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:169,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:174,9'
          Dst:             sc_hsm_select_file_ex
        - Src:             'card-sc-hsm.c:183,9'
          Dst:             memcmp
        - Src:             'card-sc-hsm.c:187,9'
          Dst:             memcmp
        - Src:             'card-sc-hsm.c:194,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:194,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:197,5'
          Dst:             sc_file_free
        - Src:             'card-sc-hsm.c:199,5'
          Dst:             sc_file_dup
        - Src:             'card-sc-hsm.c:202,4'
          Dst:             sc_file_dup
        - Src:             'card-sc-hsm.c:211,11'
          Dst:             sc_file_new
        - Src:             'card-sc-hsm.c:213,5'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:213,5'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:213,5'
          Dst:             sc_do_log
    - functionName:    sc_hsm_soc_change
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 348
      functionLinenumberEnd: 411
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         47
      ICount:          302
      EdgeCount:       58
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_hsm_select_file_ex
        - sc_hsm_soc_select_minbioclient
        - sc_path_set
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:355,7'
          Dst:             sc_hsm_soc_select_minbioclient
        - Src:             'card-sc-hsm.c:356,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:356,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:359,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:360,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:361,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:361,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:362,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:363,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:363,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:366,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:367,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:368,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:368,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:369,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:370,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:370,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:377,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:379,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:380,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:380,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:388,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:390,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:395,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:395,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:396,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:397,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:397,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:403,3'
          Dst:             sc_path_set
        - Src:             'card-sc-hsm.c:405,3'
          Dst:             sc_hsm_select_file_ex
        - Src:             'card-sc-hsm.c:405,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:405,3'
          Dst:             sc_do_log_color
    - functionName:    verify_certificate
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1437
      functionLinenumberEnd: 1494
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         63
      ICount:          437
      EdgeCount:       78
      CyclomaticComplexity: 17
      functionsReached:
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1445,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1448,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-sc-hsm.c:1450,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1450,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1451,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1451,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1451,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1456,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-sc-hsm.c:1458,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1459,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1459,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1461,6'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1464,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1464,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1464,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1467,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1467,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1470,11'
          Dst:             sc_asn1_put_tag
        - Src:             'card-sc-hsm.c:1472,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1472,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1473,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1473,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1473,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1478,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-sc-hsm.c:1480,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1481,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1481,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1482,6'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1483,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1483,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1486,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-sc-hsm.c:1488,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1489,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1489,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1490,6'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1491,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1491,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1493,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1493,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1493,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_encode_sopin
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 307
      functionLinenumberEnd: 330
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          122
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - __ctype_b_loc
        - toupper
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:316,8'
          Dst:             __ctype_b_loc
        - Src:             'card-sc-hsm.c:318,11'
          Dst:             toupper
    - functionName:    toupper
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_hsm_public_key_auth_status
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1574
      functionLinenumberEnd: 1598
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          140
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1580,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1583,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-sc-hsm.c:1586,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1587,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1587,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1589,6'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1590,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1590,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1597,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1597,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1597,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_register_public_key
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1500
      functionLinenumberEnd: 1567
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         38
      ICount:          295
      EdgeCount:       46
      CyclomaticComplexity: 10
      functionsReached:
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_pkcs15emu_sc_hsm_decode_pka
        - sc_pkcs15emu_sc_hsm_free_cvc_pka
        - sc_strerror
        - sc_transmit_apdu
        - verify_certificate
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1514,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1522,6'
          Dst:             sc_pkcs15emu_sc_hsm_decode_pka
        - Src:             'card-sc-hsm.c:1523,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1523,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1526,6'
          Dst:             verify_certificate
        - Src:             'card-sc-hsm.c:1527,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1527,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1530,6'
          Dst:             verify_certificate
        - Src:             'card-sc-hsm.c:1531,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1531,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1533,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-sc-hsm.c:1537,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1537,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1540,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-sc-hsm.c:1543,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1544,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1544,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1545,6'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1546,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1546,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1548,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-sc-hsm.c:1552,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1553,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1553,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1554,6'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1555,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1555,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1566,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc_pka
    - functionName:    sc_hsm_unwrap_key
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1414
      functionLinenumberEnd: 1433
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          154
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_hsm_write_ef
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1419,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1421,6'
          Dst:             sc_hsm_write_ef
        - Src:             'card-sc-hsm.c:1422,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1422,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1424,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1426,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1427,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1427,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1429,6'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1430,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1430,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1432,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1432,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1432,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_write_ef
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 841
      functionLinenumberEnd: 911
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          356
      EdgeCount:       54
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:849,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:855,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:855,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:855,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:892,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:897,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:898,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:898,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:899,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:900,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:900,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:910,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:910,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:910,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_wrap_key
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1374
      functionLinenumberEnd: 1409
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          254
      EdgeCount:       45
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1380,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1382,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1388,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1389,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1389,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1391,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1393,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1393,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1399,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1399,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1399,4'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1403,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1403,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1403,4'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1408,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1408,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1408,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_import_dkek_share
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1332
      functionLinenumberEnd: 1369
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          182
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1338,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1341,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1347,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1354,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1355,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1355,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1357,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1359,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1359,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1368,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1368,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1368,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_initialize
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1226
      functionLinenumberEnd: 1327
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         50
      ICount:          510
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_hsm_write_ef
        - sc_pkcs15_encode_tokeninfo
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1235,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1286,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1292,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1293,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1293,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1295,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1301,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1301,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1309,7'
          Dst:             sc_pkcs15_encode_tokeninfo
        - Src:             'card-sc-hsm.c:1310,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1310,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1320,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1320,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1322,7'
          Dst:             sc_hsm_write_ef
        - Src:             'card-sc-hsm.c:1323,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1323,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1326,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1326,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1326,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_generate_keypair
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1710
      functionLinenumberEnd: 1743
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          213
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1715,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1717,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1727,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1728,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1728,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1730,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1731,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1731,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1737,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1737,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1737,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1742,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1742,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1742,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_init_pin
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1648
      functionLinenumberEnd: 1705
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          283
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1655,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1658,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1658,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1669,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1674,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1675,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1675,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1677,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1689,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1694,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1695,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1695,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1697,8'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1700,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1700,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1704,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1704,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1704,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_init_token
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1603
      functionLinenumberEnd: 1643
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          216
      EdgeCount:       42
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_hsm_encode_sopin
        - sc_hsm_initialize
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1609,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1612,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1612,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1620,6'
          Dst:             sc_hsm_encode_sopin
        - Src:             'card-sc-hsm.c:1621,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1621,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1639,6'
          Dst:             sc_hsm_initialize
        - Src:             'card-sc-hsm.c:1640,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1640,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1642,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1642,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1642,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1195
      functionLinenumberEnd: 1221
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          139
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_bind
        - sc_pkcs15_unbind
        - sc_strerror
        - strcmp
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1198,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1200,30'
          Dst:             strcmp
        - Src:             'card-sc-hsm.c:1206,9'
          Dst:             sc_pkcs15_bind
        - Src:             'card-sc-hsm.c:1207,3'
          Dst:             sc_pkcs15_unbind
        - Src:             'card-sc-hsm.c:1214,16'
          Dst:             strlen
        - Src:             'card-sc-hsm.c:1220,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1220,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1220,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_decode_ecdsa_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1070
      functionLinenumberEnd: 1078
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          82
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_asn1_decode_ecdsa_signature
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1075,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1077,6'
          Dst:             sc_asn1_decode_ecdsa_signature
        - Src:             'card-sc-hsm.c:1078,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1078,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1078,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 781
      functionLinenumberEnd: 791
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_hsm_select_file_ex
        - sc_path_set
        - sc_sm_stop
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:786,2'
          Dst:             sc_sm_stop
        - Src:             'card-sc-hsm.c:789,2'
          Dst:             sc_path_set
        - Src:             'card-sc-hsm.c:791,9'
          Dst:             sc_hsm_select_file_ex
    - functionName:    sc_hsm_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 620
      functionLinenumberEnd: 776
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         150
      ICount:          932
      EdgeCount:       200
      CyclomaticComplexity: 52
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_hsm_encode_sopin
        - sc_hsm_perform_chip_authentication
        - sc_hsm_soc_biomatch
        - sc_hsm_soc_change
        - sc_hsm_soc_unblock
        - sc_pin_cmd
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:643,10'
          Dst:             sc_hsm_soc_change
        - Src:             'card-sc-hsm.c:648,10'
          Dst:             sc_hsm_soc_unblock
        - Src:             'card-sc-hsm.c:667,8'
          Dst:             sc_pin_cmd
        - Src:             'card-sc-hsm.c:671,4'
          Dst:             sc_hsm_perform_chip_authentication
        - Src:             'card-sc-hsm.c:671,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:671,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:682,7'
          Dst:             sc_hsm_soc_biomatch
        - Src:             'card-sc-hsm.c:689,8'
          Dst:             sc_hsm_encode_sopin
        - Src:             'card-sc-hsm.c:690,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:690,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:692,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:692,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:692,4'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:699,8'
          Dst:             sc_hsm_encode_sopin
        - Src:             'card-sc-hsm.c:700,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:700,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:702,8'
          Dst:             sc_hsm_encode_sopin
        - Src:             'card-sc-hsm.c:703,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:703,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:705,4'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:717,4'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:730,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:730,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:739,5'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:741,5'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:741,5'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:741,5'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:748,4'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:753,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:754,9'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:755,5'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:757,5'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:757,5'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:757,5'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:765,6'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:770,4'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:775,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:775,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:775,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1748
      functionLinenumberEnd: 1772
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          107
      EdgeCount:       29
      CyclomaticComplexity: 16
      functionsReached:
        - sc_hsm_generate_keypair
        - sc_hsm_get_serialnr
        - sc_hsm_import_dkek_share
        - sc_hsm_init_pin
        - sc_hsm_init_token
        - sc_hsm_initialize
        - sc_hsm_public_key_auth_status
        - sc_hsm_register_public_key
        - sc_hsm_unwrap_key
        - sc_hsm_wrap_key
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-sc-hsm.c:1749,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-sc-hsm.c:1751,10'
          Dst:             sc_hsm_get_serialnr
        - Src:             'card-sc-hsm.c:1753,10'
          Dst:             sc_hsm_init_token
        - Src:             'card-sc-hsm.c:1755,10'
          Dst:             sc_hsm_init_pin
        - Src:             'card-sc-hsm.c:1757,10'
          Dst:             sc_hsm_generate_keypair
        - Src:             'card-sc-hsm.c:1759,10'
          Dst:             sc_hsm_initialize
        - Src:             'card-sc-hsm.c:1761,10'
          Dst:             sc_hsm_import_dkek_share
        - Src:             'card-sc-hsm.c:1763,10'
          Dst:             sc_hsm_wrap_key
        - Src:             'card-sc-hsm.c:1765,10'
          Dst:             sc_hsm_unwrap_key
        - Src:             'card-sc-hsm.c:1767,10'
          Dst:             sc_hsm_register_public_key
        - Src:             'card-sc-hsm.c:1769,10'
          Dst:             sc_hsm_public_key_auth_status
    - functionName:    sc_hsm_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1924
      functionLinenumberEnd: 1936
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_file_free
        - sc_sm_stop
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1927,2'
          Dst:             sc_sm_stop
        - Src:             'card-sc-hsm.c:1931,3'
          Dst:             sc_file_free
    - functionName:    sc_hsm_init
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1777
      functionLinenumberEnd: 1919
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         64
      ICount:          490
      EdgeCount:       80
      CyclomaticComplexity: 18
      functionsReached:
        - EAC_init
        - EAC_set_cvc_default_dir
        - _sc_card_add_ec_alg
        - _sc_card_add_rsa_alg
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_hsm_select_file_ex
        - sc_path_set
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-sc-hsm.c:1885,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-sc-hsm.c:1787,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1793,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-sc-hsm.c:1794,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-sc-hsm.c:1795,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-sc-hsm.c:1796,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-sc-hsm.c:1797,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-sc-hsm.c:1814,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-sc-hsm.c:1815,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-sc-hsm.c:1816,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-sc-hsm.c:1817,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-sc-hsm.c:1818,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-sc-hsm.c:1819,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-sc-hsm.c:1820,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-sc-hsm.c:1851,5'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1851,5'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1851,5'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1859,5'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1859,5'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1859,5'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1866,10'
          Dst:             calloc
        - Src:             'card-sc-hsm.c:1868,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1868,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1868,4'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1872,2'
          Dst:             sc_path_set
        - Src:             'card-sc-hsm.c:1873,6'
          Dst:             sc_hsm_select_file_ex
        - Src:             'card-sc-hsm.c:1895,3'
          Dst:             snprintf
        - Src:             'card-sc-hsm.c:1902,2'
          Dst:             sc_file_free
        - Src:             'card-sc-hsm.c:1908,2'
          Dst:             EAC_init
        - Src:             'card-sc-hsm.c:1914,2'
          Dst:             EAC_set_cvc_default_dir
    - functionName:    sc_hsm_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1133
      functionLinenumberEnd: 1177
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          325
      EdgeCount:       61
      CyclomaticComplexity: 15
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1143,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1146,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1156,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1158,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1158,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1168,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1168,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1168,4'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1172,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1172,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1172,4'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1176,3'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1176,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1176,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1176,3'
          Dst:             sc_do_log
    - functionName:    sc_hsm_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1086
      functionLinenumberEnd: 1128
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          350
      EdgeCount:       65
      CyclomaticComplexity: 16
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_hsm_decode_ecdsa_signature
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1098,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1098,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1098,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1101,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:1110,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:1112,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1112,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1117,10'
          Dst:             sc_hsm_decode_ecdsa_signature
        - Src:             'card-sc-hsm.c:1119,5'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1119,5'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1119,5'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1125,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1125,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1125,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1127,2'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:1127,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1127,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1127,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1004
      functionLinenumberEnd: 1063
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         77
      ICount:          436
      EdgeCount:       97
      CyclomaticComplexity: 22
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-sc-hsm.c:1009,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-sc-hsm.c:1026,5'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1026,5'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1026,5'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1055,4'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1055,4'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1055,4'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1059,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1059,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1059,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:1062,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:1062,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:1062,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 972
      functionLinenumberEnd: 998
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          191
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:979,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:980,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:980,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:980,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:986,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:991,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:992,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:992,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:994,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:995,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:995,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:997,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:997,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:997,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 960
      functionLinenumberEnd: 967
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          81
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_hsm_write_ef
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:963,6'
          Dst:             sc_hsm_write_ef
        - Src:             'card-sc-hsm.c:964,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:964,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:966,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:966,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:966,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 924
      functionLinenumberEnd: 955
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          177
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_hsm_list_files
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:931,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:933,3'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:939,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:942,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:945,10'
          Dst:             sc_hsm_list_files
        - Src:             'card-sc-hsm.c:947,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:947,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:954,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:954,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:954,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 917
      functionLinenumberEnd: 918
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_hsm_write_ef
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:918,9'
          Dst:             sc_hsm_write_ef
    - functionName:    sc_hsm_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 799
      functionLinenumberEnd: 834
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          183
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_max_recv_size
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:806,3'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:815,14'
          Dst:             sc_get_max_recv_size
        - Src:             'card-sc-hsm.c:817,2'
          Dst:             sc_format_apdu
        - Src:             'card-sc-hsm.c:825,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-sc-hsm.c:826,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:826,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:828,7'
          Dst:             sc_check_sw
        - Src:             'card-sc-hsm.c:830,3'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:830,3'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:833,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:833,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:833,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 261
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          82
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:255,2'
          Dst:             sc_do_log
        - Src:             'card-sc-hsm.c:261,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:261,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:261,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 247
      functionLinenumberEnd: 248
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_hsm_select_file_ex
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:248,9'
          Dst:             sc_hsm_select_file_ex
    - functionName:    sc_hsm_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 298
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          124
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - _sc_match_atr
        - sc_do_log_color
        - sc_file_free
        - sc_hsm_select_file
        - sc_path_set
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:272,6'
          Dst:             _sc_match_atr
        - Src:             'card-sc-hsm.c:278,2'
          Dst:             sc_path_set
        - Src:             'card-sc-hsm.c:279,6'
          Dst:             sc_hsm_select_file
        - Src:             'card-sc-hsm.c:280,2'
          Dst:             sc_strerror
        - Src:             'card-sc-hsm.c:280,2'
          Dst:             sc_do_log_color
        - Src:             'card-sc-hsm.c:285,3'
          Dst:             sc_file_free
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1942
      functionLinenumberEnd: 1972
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          53
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1943,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_sc_hsm_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1978
      functionLinenumberEnd: 1979
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1979,9'
          Dst:             sc_get_driver
    - functionName:    sc_hsm_set_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1182
      functionLinenumberEnd: 1190
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-sc-hsm.c:1189,19'
          Dst:             strdup
    - functionName:    dnie_pin_change
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2085
      functionLinenumberEnd: 2092
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          90
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - cwa_create_secure_channel
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:2087,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2089,8'
          Dst:             cwa_create_secure_channel
        - Src:             'card-dnie.c:2090,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2090,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2091,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2091,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2091,2'
          Dst:             sc_do_log
    - functionName:    dnie_pin_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2105
      functionLinenumberEnd: 2159
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         51
      ICount:          349
      EdgeCount:       64
      CyclomaticComplexity: 15
      functionsReached:
        - cwa_create_secure_channel
        - dnie_change_cwa_provider_to_pin
        - dnie_change_cwa_provider_to_secure
        - dnie_check_sw
        - dnie_format_apdu
        - sc_build_pin
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:2113,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2117,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2118,3'
          Dst:             dnie_change_cwa_provider_to_pin
        - Src:             'card-dnie.c:2120,8'
          Dst:             cwa_create_secure_channel
        - Src:             'card-dnie.c:2121,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2121,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2127,8'
          Dst:             sc_build_pin
        - Src:             'card-dnie.c:2129,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2129,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2129,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2133,2'
          Dst:             dnie_format_apdu
        - Src:             'card-dnie.c:2137,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-dnie.c:2139,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2139,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2145,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2145,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2145,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2147,8'
          Dst:             dnie_check_sw
        - Src:             'card-dnie.c:2151,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2152,3'
          Dst:             dnie_change_cwa_provider_to_secure
        - Src:             'card-dnie.c:2154,10'
          Dst:             cwa_create_secure_channel
        - Src:             'card-dnie.c:2158,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2158,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2158,2'
          Dst:             sc_do_log
    - functionName:    dnie_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1750
      functionLinenumberEnd: 1768
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          142
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:1755,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1760,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1767,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1767,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1767,2'
          Dst:             sc_do_log
    - functionName:    dnie_read_header
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1848
      functionLinenumberEnd: 1886
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          149
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - dnie_format_apdu
        - lebytes2ulong
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:1859,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1862,2'
          Dst:             dnie_format_apdu
        - Src:             'card-dnie.c:1865,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-dnie.c:1867,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1868,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1868,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1868,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1873,17'
          Dst:             lebytes2ulong
        - Src:             'card-dnie.c:1874,15'
          Dst:             lebytes2ulong
        - Src:             'card-dnie.c:1880,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1884,2'
          Dst:             sc_do_log
    - functionName:    findPattern
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 481
      functionLinenumberEnd: 504
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          111
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
        - memcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:487,7'
          Dst:             memcmp
        - Src:             'card-dnie.c:500,8'
          Dst:             calloc
    - functionName:    dnie_get_info
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 522
      functionLinenumberEnd: 624
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          314
      EdgeCount:       61
      CyclomaticComplexity: 17
      functionsReached:
        - calloc
        - dnie_read_file
        - findPattern
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:535,9'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:540,2'
          Dst:             sc_format_path
        - Src:             'card-dnie.c:541,8'
          Dst:             dnie_read_file
        - Src:             'card-dnie.c:547,11'
          Dst:             findPattern
        - Src:             'card-dnie.c:549,11'
          Dst:             findPattern
        - Src:             'card-dnie.c:551,11'
          Dst:             findPattern
        - Src:             'card-dnie.c:559,2'
          Dst:             sc_format_path
        - Src:             'card-dnie.c:560,2'
          Dst:             sc_file_free
        - Src:             'card-dnie.c:567,8'
          Dst:             dnie_read_file
        - Src:             'card-dnie.c:572,10'
          Dst:             calloc
        - Src:             'card-dnie.c:582,2'
          Dst:             sc_format_path
        - Src:             'card-dnie.c:583,2'
          Dst:             sc_file_free
        - Src:             'card-dnie.c:594,8'
          Dst:             dnie_read_file
        - Src:             'card-dnie.c:601,10'
          Dst:             calloc
        - Src:             'card-dnie.c:614,2'
          Dst:             sc_file_free
        - Src:             'card-dnie.c:622,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:623,9'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:623,9'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:623,9'
          Dst:             sc_do_log
    - functionName:    dnie_generate_key
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 458
      functionLinenumberEnd: 465
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          77
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:462,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:464,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:464,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:464,2'
          Dst:             sc_do_log
    - functionName:    dnie_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 637
      functionLinenumberEnd: 678
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         39
      ICount:          245
      EdgeCount:       50
      CyclomaticComplexity: 13
      functionsReached:
        - _sc_debug_hex
        - dnie_format_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:644,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:650,3'
          Dst:             _sc_debug_hex
        - Src:             'card-dnie.c:651,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:651,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:651,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:655,2'
          Dst:             dnie_format_apdu
        - Src:             'card-dnie.c:659,11'
          Dst:             sc_transmit_apdu
        - Src:             'card-dnie.c:661,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:661,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:676,2'
          Dst:             _sc_debug_hex
        - Src:             'card-dnie.c:677,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:677,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:677,2'
          Dst:             sc_do_log
    - functionName:    dnie_compose_and_send_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1129
      functionLinenumberEnd: 1183
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         87
      ICount:          485
      EdgeCount:       110
      CyclomaticComplexity: 25
      functionsReached:
        - dnie_format_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_get_max_recv_size
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:1139,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1142,6'
          Dst:             sc_get_max_recv_size
        - Src:             'card-dnie.c:1141,2'
          Dst:             dnie_format_apdu
        - Src:             'card-dnie.c:1150,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-dnie.c:1152,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1152,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1155,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1155,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1155,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1156,3'
          Dst:             sc_check_sw
        - Src:             'card-dnie.c:1156,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1156,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1156,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1161,8'
          Dst:             sc_check_sw
        - Src:             'card-dnie.c:1163,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1163,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1166,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1166,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1166,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1172,3'
          Dst:             sc_file_free
        - Src:             'card-dnie.c:1173,15'
          Dst:             sc_file_new
        - Src:             'card-dnie.c:1175,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1175,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1175,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1178,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1178,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1178,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1182,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1182,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1182,2'
          Dst:             sc_do_log
    - functionName:    dnie_is_compressed
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 913
      functionLinenumberEnd: 945
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          119
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - lebytes2ulong
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:920,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:926,17'
          Dst:             lebytes2ulong
        - Src:             'card-dnie.c:927,15'
          Dst:             lebytes2ulong
        - Src:             'card-dnie.c:938,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:943,2'
          Dst:             sc_do_log
    - functionName:    dnie_fill_cache
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 966
      functionLinenumberEnd: 1073
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         83
      ICount:          533
      EdgeCount:       107
      CyclomaticComplexity: 26
      functionsReached:
        - dnie_clear_cache
        - dnie_is_compressed
        - realloc
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:979,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:982,2'
          Dst:             dnie_clear_cache
        - Src:             'card-dnie.c:985,2'
          Dst:             sc_format_apdu
        - Src:             'card-dnie.c:998,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-dnie.c:1003,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1004,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1004,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1004,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1009,8'
          Dst:             sc_check_sw
        - Src:             'card-dnie.c:1024,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1024,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1024,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1028,7'
          Dst:             realloc
        - Src:             'card-dnie.c:1034,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1034,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1034,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1052,6'
          Dst:             dnie_is_compressed
        - Src:             'card-dnie.c:1060,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1060,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1060,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1071,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1072,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1072,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1072,2'
          Dst:             sc_do_log
    - functionName:    dnie_clear_cache
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 689
      functionLinenumberEnd: 695
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          44
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    init_flags
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 705
      functionLinenumberEnd: 719
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          41
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_card_add_rsa_alg
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:716,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-dnie.c:717,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-dnie.c:718,2'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    dnie_sm_free_wrapped_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 749
      functionLinenumberEnd: 787
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          319
      EdgeCount:       66
      CyclomaticComplexity: 16
      functionsReached:
        - cwa_decode_response
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:754,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:757,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:757,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:757,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:759,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:759,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:759,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:762,8'
          Dst:             cwa_decode_response
        - Src:             'card-dnie.c:770,6'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:786,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:786,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:786,2'
          Dst:             sc_do_log
    - functionName:    dnie_sm_get_wrapped_apdu
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 791
      functionLinenumberEnd: 816
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          183
      EdgeCount:       40
      CyclomaticComplexity: 10
      functionsReached:
        - calloc
        - cwa_encode_apdu
        - dnie_sm_free_wrapped_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:796,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:798,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:798,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:798,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:803,14'
          Dst:             calloc
        - Src:             'card-dnie.c:807,8'
          Dst:             cwa_encode_apdu
        - Src:             'card-dnie.c:810,4'
          Dst:             dnie_sm_free_wrapped_apdu
        - Src:             'card-dnie.c:815,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:815,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:815,2'
          Dst:             sc_do_log
    - functionName:    dnie_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2174
      functionLinenumberEnd: 2225
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         54
      ICount:          302
      EdgeCount:       61
      CyclomaticComplexity: 9
      functionsReached:
        - dnie_card_ctl
        - dnie_pin_change
        - dnie_pin_verify
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-dnie.c:2197,2'
          Branch Sides:    []
        - Branch String:   'card-dnie.c:2208,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dnie.c:2180,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2190,8'
          Dst:             dnie_card_ctl
        - Src:             'card-dnie.c:2191,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2191,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2193,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2193,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2193,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2203,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2203,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2203,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2205,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2205,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2205,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2210,10'
          Dst:             dnie_pin_verify
        - Src:             'card-dnie.c:2213,10'
          Dst:             dnie_pin_change
        - Src:             'card-dnie.c:2224,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2224,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2224,2'
          Dst:             sc_do_log
    - functionName:    dnie_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1787
      functionLinenumberEnd: 1828
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         60
      ICount:          338
      EdgeCount:       67
      CyclomaticComplexity: 9
      functionsReached:
        - dnie_generate_key
        - dnie_get_info
        - dnie_get_serialnr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-dnie.c:1795,2'
          Branch Sides:    []
        - Branch String:   'card-dnie.c:1798,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dnie.c:1791,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1793,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1793,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1793,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1811,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1811,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1811,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1814,12'
          Dst:             dnie_get_serialnr
        - Src:             'card-dnie.c:1815,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1815,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1815,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1818,12'
          Dst:             dnie_generate_key
        - Src:             'card-dnie.c:1819,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1819,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1819,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1822,12'
          Dst:             dnie_get_info
        - Src:             'card-dnie.c:1823,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1823,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1823,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1826,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1826,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1826,3'
          Dst:             sc_do_log
    - functionName:    dnie_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1925
      functionLinenumberEnd: 2061
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         63
      ICount:          477
      EdgeCount:       77
      CyclomaticComplexity: 16
      functionsReached:
        - dnie_read_header
        - sc_do_log
        - sc_do_log_color
        - sc_file_add_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-dnie.c:1950,2'
          Branch Sides:    []
        - Branch String:   'card-dnie.c:2016,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dnie.c:1933,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1936,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1936,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1959,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1964,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1973,9'
          Dst:             dnie_read_header
        - Src:             'card-dnie.c:1978,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1981,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2018,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-dnie.c:2026,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-dnie.c:2030,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-dnie.c:2034,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-dnie.c:2038,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-dnie.c:2051,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:2060,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:2060,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:2060,2'
          Dst:             sc_do_log
    - functionName:    dnie_list_files
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1679
      functionLinenumberEnd: 1735
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          375
      EdgeCount:       86
      CyclomaticComplexity: 21
      functionsReached:
        - dnie_format_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:1689,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1691,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1691,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1691,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1694,2'
          Dst:             dnie_format_apdu
        - Src:             'card-dnie.c:1700,5'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1702,5'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1702,5'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1702,5'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1714,10'
          Dst:             sc_transmit_apdu
        - Src:             'card-dnie.c:1716,5'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1720,6'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1720,6'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1720,6'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1724,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1734,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1734,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1734,2'
          Dst:             sc_do_log
    - functionName:    dnie_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1598
      functionLinenumberEnd: 1657
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          331
      EdgeCount:       70
      CyclomaticComplexity: 16
      functionsReached:
        - _sc_debug_hex
        - dnie_format_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:1608,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1611,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1611,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1611,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1613,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1613,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1613,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1630,2'
          Dst:             _sc_debug_hex
        - Src:             'card-dnie.c:1637,2'
          Dst:             dnie_format_apdu
        - Src:             'card-dnie.c:1640,11'
          Dst:             sc_transmit_apdu
        - Src:             'card-dnie.c:1642,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1642,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1645,11'
          Dst:             sc_check_sw
        - Src:             'card-dnie.c:1647,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1647,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1653,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1653,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1653,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1656,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1656,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1656,2'
          Dst:             sc_do_log
    - functionName:    dnie_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1525
      functionLinenumberEnd: 1567
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          244
      EdgeCount:       49
      CyclomaticComplexity: 12
      functionsReached:
        - dnie_format_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:1533,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1535,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1535,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1535,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1548,2'
          Dst:             dnie_format_apdu
        - Src:             'card-dnie.c:1558,11'
          Dst:             sc_transmit_apdu
        - Src:             'card-dnie.c:1559,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1559,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1561,11'
          Dst:             sc_check_sw
        - Src:             'card-dnie.c:1562,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1562,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1566,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1566,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1566,2'
          Dst:             sc_do_log
    - functionName:    dnie_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1397
      functionLinenumberEnd: 1499
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         70
      ICount:          484
      EdgeCount:       83
      CyclomaticComplexity: 15
      functionsReached:
        - dnie_format_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-dnie.c:1422,3'
          Branch Sides:    []
        - Branch String:   'card-dnie.c:1475,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dnie.c:1405,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1407,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1408,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1408,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1408,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1421,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1432,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1432,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1440,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1440,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1450,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1452,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1453,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1453,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1453,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1455,3'
          Dst:             sc_dump_hex
        - Src:             'card-dnie.c:1455,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1471,2'
          Dst:             dnie_format_apdu
        - Src:             'card-dnie.c:1486,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1486,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1486,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1494,11'
          Dst:             sc_transmit_apdu
        - Src:             'card-dnie.c:1495,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1495,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1496,11'
          Dst:             sc_check_sw
        - Src:             'card-dnie.c:1498,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1498,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1498,2'
          Dst:             sc_do_log
    - functionName:    dnie_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1361
      functionLinenumberEnd: 1376
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         22
      ICount:          122
      EdgeCount:       27
      CyclomaticComplexity: 7
      functionsReached:
        - cwa_create_secure_channel
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:1367,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1370,12'
          Dst:             cwa_create_secure_channel
        - Src:             'card-dnie.c:1372,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1372,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1375,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1375,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1375,2'
          Dst:             sc_do_log
    - functionName:    dnie_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1327
      functionLinenumberEnd: 1346
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          119
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:1333,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1336,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1336,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1345,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1345,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1345,2'
          Dst:             sc_do_log
    - functionName:    dnie_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1215
      functionLinenumberEnd: 1305
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         85
      ICount:          541
      EdgeCount:       104
      CyclomaticComplexity: 21
      functionsReached:
        - _sc_debug_hex
        - dnie_clear_cache
        - dnie_compose_and_send_apdu
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_lock
        - sc_strerror
        - sc_unlock
        - strcpy
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-dnie.c:1227,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dnie.c:1225,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1239,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1239,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1239,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1240,3'
          Dst:             _sc_debug_hex
        - Src:             'card-dnie.c:1241,9'
          Dst:             dnie_compose_and_send_apdu
        - Src:             'card-dnie.c:1244,3'
          Dst:             _sc_debug_hex
        - Src:             'card-dnie.c:1245,9'
          Dst:             dnie_compose_and_send_apdu
        - Src:             'card-dnie.c:1249,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1249,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1249,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1251,3'
          Dst:             _sc_debug_hex
        - Src:             'card-dnie.c:1254,9'
          Dst:             sc_lock
        - Src:             'card-dnie.c:1255,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1255,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1256,7'
          Dst:             memcmp
        - Src:             'card-dnie.c:1258,4'
          Dst:             strcpy
        - Src:             'card-dnie.c:1259,4'
          Dst:             _sc_debug_hex
        - Src:             'card-dnie.c:1260,10'
          Dst:             dnie_compose_and_send_apdu
        - Src:             'card-dnie.c:1262,5'
          Dst:             sc_unlock
        - Src:             'card-dnie.c:1263,5'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1263,5'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1274,4'
          Dst:             sc_dump_hex
        - Src:             'card-dnie.c:1274,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1275,10'
          Dst:             dnie_compose_and_send_apdu
        - Src:             'card-dnie.c:1277,5'
          Dst:             sc_unlock
        - Src:             'card-dnie.c:1278,5'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1278,5'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1282,3'
          Dst:             sc_unlock
        - Src:             'card-dnie.c:1285,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1285,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1285,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1291,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1294,4'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1294,4'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1294,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1295,9'
          Dst:             dnie_compose_and_send_apdu
        - Src:             'card-dnie.c:1298,3'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1298,3'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1298,3'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1303,2'
          Dst:             dnie_clear_cache
        - Src:             'card-dnie.c:1304,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1304,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1304,2'
          Dst:             sc_do_log
    - functionName:    strcpy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    dnie_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1091
      functionLinenumberEnd: 1115
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          215
      EdgeCount:       42
      CyclomaticComplexity: 12
      functionsReached:
        - dnie_fill_cache
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:1100,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1103,8'
          Dst:             dnie_fill_cache
        - Src:             'card-dnie.c:1105,4'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1113,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:1114,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:1114,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:1114,2'
          Dst:             sc_do_log
    - functionName:    dnie_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 890
      functionLinenumberEnd: 898
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          81
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - cwa_create_secure_channel
        - dnie_clear_cache
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:892,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:893,2'
          Dst:             dnie_clear_cache
        - Src:             'card-dnie.c:895,11'
          Dst:             cwa_create_secure_channel
        - Src:             'card-dnie.c:898,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:898,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:898,2'
          Dst:             sc_do_log
    - functionName:    dnie_init
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 829
      functionLinenumberEnd: 878
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         38
      ICount:          239
      EdgeCount:       47
      CyclomaticComplexity: 11
      functionsReached:
        - calloc
        - cwa_create_secure_channel
        - dnie_get_cwa_provider
        - init_flags
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:834,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:838,6'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:838,6'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:841,13'
          Dst:             dnie_get_cwa_provider
        - Src:             'card-dnie.c:843,6'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:843,6'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:851,8'
          Dst:             cwa_create_secure_channel
        - Src:             'card-dnie.c:854,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:854,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:857,19'
          Dst:             calloc
        - Src:             'card-dnie.c:860,6'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:860,6'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:873,2'
          Dst:             init_flags
        - Src:             'card-dnie.c:877,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:877,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:877,2'
          Dst:             sc_do_log
    - functionName:    get_dnie_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2238
      functionLinenumberEnd: 2290
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          63
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:2239,30'
          Dst:             sc_get_iso7816_driver
    - functionName:    dnie_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 738
      functionLinenumberEnd: 744
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          72
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:741,2'
          Dst:             sc_do_log
        - Src:             'card-dnie.c:742,12'
          Dst:             _sc_match_atr
        - Src:             'card-dnie.c:744,2'
          Dst:             sc_strerror
        - Src:             'card-dnie.c:744,2'
          Dst:             sc_do_log_color
        - Src:             'card-dnie.c:744,2'
          Dst:             sc_do_log
    - functionName:    sc_get_dnie_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2301
      functionLinenumberEnd: 2302
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_dnie_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dnie.c:2302,9'
          Dst:             get_dnie_driver
    - functionName:    default_get_sn_icc
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2111
      functionLinenumberEnd: 2112
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_sn_ifd
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2105
      functionLinenumberEnd: 2106
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_icc_privkey_ref
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2099
      functionLinenumberEnd: 2100
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_ifd_pubkey_ref
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2092
      functionLinenumberEnd: 2093
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_intermediate_ca_pubkey_ref
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2086
      functionLinenumberEnd: 2087
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_root_ca_pubkey_ref
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2079
      functionLinenumberEnd: 2080
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_cvc_ifd_cert
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2055
      functionLinenumberEnd: 2056
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_cvc_ca_cert
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2048
      functionLinenumberEnd: 2049
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_ifd_privkey
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2060
      functionLinenumberEnd: 2061
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_root_ca_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2041
      functionLinenumberEnd: 2042
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_icc_cert
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2072
      functionLinenumberEnd: 2073
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_get_icc_intermediate_ca_cert
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2066
      functionLinenumberEnd: 2067
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_create_post_ops
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2036
      functionLinenumberEnd: 2037
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    default_create_pre_ops
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2031
      functionLinenumberEnd: 2032
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cwa_compare_signature
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 847
      functionLinenumberEnd: 870
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          107
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - SHA1
        - calloc
        - memcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:848,12'
          Dst:             calloc
        - Src:             'cwa14890.c:849,12'
          Dst:             calloc
        - Src:             'cwa14890.c:864,2'
          Dst:             SHA1
        - Src:             'cwa14890.c:865,6'
          Dst:             memcmp
    - functionName:    cwa_get_default_provider
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2168
      functionLinenumberEnd: 2180
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          63
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:2172,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:2173,8'
          Dst:             calloc
        - Src:             'cwa14890.c:2175,3'
          Dst:             sc_do_log
    - functionName:    cwa_parse_tlv
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 244
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          323
      EdgeCount:       53
      CyclomaticComplexity: 10
      functionsReached:
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cwa14890.c:276,3'
          Branch Sides:    []
      Callsites:
        - Src:             'cwa14890.c:255,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:257,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:257,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:257,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:266,11'
          Dst:             sc_asn1_read_tag
        - Src:             'cwa14890.c:268,4'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:269,4'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:269,4'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:269,4'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:290,4'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:291,4'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:291,4'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:291,4'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:298,3'
          Dst:             sc_dump_hex
        - Src:             'cwa14890.c:298,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:304,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:304,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:304,2'
          Dst:             sc_do_log
    - functionName:    cwa_decode_response
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1739
      functionLinenumberEnd: 2024
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         161
      ICount:          1094
      EdgeCount:       216
      CyclomaticComplexity: 57
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_DecryptFinal_ex
        - EVP_DecryptInit_ex
        - EVP_DecryptUpdate
        - EVP_EncryptFinal_ex
        - EVP_EncryptInit_ex
        - EVP_EncryptUpdate
        - calloc
        - cwa_create_secure_channel
        - cwa_increase_ssc
        - cwa_iso7816_padding
        - cwa_parse_tlv
        - cwa_trace_apdu
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cwa14890.c:1794,2'
          Branch Sides:    []
      Callsites:
        - Src:             'cwa14890.c:1761,14'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'cwa14890.c:1762,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1771,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1774,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:1774,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:1774,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1776,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:1776,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:1776,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1783,4'
          Dst:             cwa_create_secure_channel
        - Src:             'cwa14890.c:1790,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1802,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1809,11'
          Dst:             calloc
        - Src:             'cwa14890.c:1817,8'
          Dst:             cwa_parse_tlv
        - Src:             'cwa14890.c:1846,6'
          Dst:             calloc
        - Src:             'cwa14890.c:1875,2'
          Dst:             cwa_iso7816_padding
        - Src:             'cwa14890.c:1880,8'
          Dst:             cwa_increase_ssc
        - Src:             'cwa14890.c:1888,8'
          Dst:             sc_evp_cipher
        - Src:             'cwa14890.c:1890,4'
          Dst:             EVP_EncryptInit_ex
        - Src:             'cwa14890.c:1891,4'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'cwa14890.c:1892,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1901,7'
          Dst:             EVP_EncryptUpdate
        - Src:             'cwa14890.c:1902,4'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1911,6'
          Dst:             EVP_EncryptFinal_ex
        - Src:             'cwa14890.c:1912,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1919,2'
          Dst:             sc_evp_cipher_free
        - Src:             'cwa14890.c:1920,8'
          Dst:             sc_evp_cipher
        - Src:             'cwa14890.c:1923,4'
          Dst:             EVP_EncryptInit_ex
        - Src:             'cwa14890.c:1924,4'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'cwa14890.c:1925,4'
          Dst:             EVP_EncryptUpdate
        - Src:             'cwa14890.c:1926,4'
          Dst:             EVP_EncryptFinal_ex
        - Src:             'cwa14890.c:1927,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1935,8'
          Dst:             memcmp
        - Src:             'cwa14890.c:1980,3'
          Dst:             sc_evp_cipher_free
        - Src:             'cwa14890.c:1981,9'
          Dst:             sc_evp_cipher
        - Src:             'cwa14890.c:1984,5'
          Dst:             EVP_DecryptInit_ex
        - Src:             'cwa14890.c:1985,5'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'cwa14890.c:1986,5'
          Dst:             EVP_DecryptUpdate
        - Src:             'cwa14890.c:1987,5'
          Dst:             EVP_DecryptFinal_ex
        - Src:             'cwa14890.c:1988,4'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:2014,2'
          Dst:             sc_evp_cipher_free
        - Src:             'cwa14890.c:2015,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'cwa14890.c:2019,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:2021,3'
          Dst:             cwa_trace_apdu
        - Src:             'cwa14890.c:2023,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:2023,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:2023,2'
          Dst:             sc_do_log
    - functionName:    cwa_create_secure_channel
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1097
      functionLinenumberEnd: 1456
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         122
      ICount:          903
      EdgeCount:       168
      CyclomaticComplexity: 48
      functionsReached:
        - EVP_PKEY_free
        - RAND_bytes
        - X509_free
        - X509_get_pubkey
        - calloc
        - cwa_compose_tlv
        - cwa_compute_session_keys
        - cwa_external_auth
        - cwa_internal_auth
        - cwa_prepare_external_auth
        - cwa_set_security_env
        - cwa_verify_cvc_certificate
        - cwa_verify_icc_certificates
        - cwa_verify_internal_auth
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_get_challenge
        - sc_get_mf_path
        - sc_select_file
        - sc_strerror
      functionUses:    7
      BranchProfiles:
        - Branch String:   'cwa14890.c:1131,2'
          Branch Sides:    []
      Callsites:
        - Src:             'cwa14890.c:1128,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1134,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1136,30'
          Dst:             sc_get_mf_path
        - Src:             'cwa14890.c:1136,9'
          Dst:             sc_select_file
        - Src:             'cwa14890.c:1139,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:1139,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:1139,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1141,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1144,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1145,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:1145,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:1145,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1151,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1156,4'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1162,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1167,4'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1172,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1184,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1188,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1199,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1210,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1212,7'
          Dst:             cwa_verify_icc_certificates
        - Src:             'cwa14890.c:1220,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1224,21'
          Dst:             X509_get_pubkey
        - Src:             'cwa14890.c:1226,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1232,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1240,8'
          Dst:             calloc
        - Src:             'cwa14890.c:1246,8'
          Dst:             cwa_compose_tlv
        - Src:             'cwa14890.c:1251,8'
          Dst:             cwa_set_security_env
        - Src:             'cwa14890.c:1258,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1265,8'
          Dst:             cwa_verify_cvc_certificate
        - Src:             'cwa14890.c:1272,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1283,8'
          Dst:             calloc
        - Src:             'cwa14890.c:1289,8'
          Dst:             cwa_compose_tlv
        - Src:             'cwa14890.c:1295,8'
          Dst:             cwa_set_security_env
        - Src:             'cwa14890.c:1302,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1309,8'
          Dst:             cwa_verify_cvc_certificate
        - Src:             'cwa14890.c:1318,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1327,8'
          Dst:             calloc
        - Src:             'cwa14890.c:1333,8'
          Dst:             cwa_compose_tlv
        - Src:             'cwa14890.c:1344,8'
          Dst:             cwa_compose_tlv
        - Src:             'cwa14890.c:1350,8'
          Dst:             cwa_set_security_env
        - Src:             'cwa14890.c:1358,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1365,6'
          Dst:             RAND_bytes
        - Src:             'cwa14890.c:1372,8'
          Dst:             cwa_internal_auth
        - Src:             'cwa14890.c:1387,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1388,8'
          Dst:             cwa_verify_internal_auth
        - Src:             'cwa14890.c:1400,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1401,8'
          Dst:             sc_get_challenge
        - Src:             'cwa14890.c:1408,8'
          Dst:             cwa_prepare_external_auth
        - Src:             'cwa14890.c:1415,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1416,8'
          Dst:             cwa_external_auth
        - Src:             'cwa14890.c:1423,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1424,8'
          Dst:             cwa_compute_session_keys
        - Src:             'cwa14890.c:1431,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1435,4'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1444,2'
          Dst:             X509_free
        - Src:             'cwa14890.c:1445,2'
          Dst:             X509_free
        - Src:             'cwa14890.c:1446,2'
          Dst:             EVP_PKEY_free
        - Src:             'cwa14890.c:1447,2'
          Dst:             EVP_PKEY_free
        - Src:             'cwa14890.c:1450,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1455,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:1455,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:1455,2'
          Dst:             sc_do_log
    - functionName:    cwa_iso7816_padding
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 156
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         5
      ICount:          41
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cwa_increase_ssc
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 126
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         22
      ICount:          137
      EdgeCount:       27
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:133,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:135,2'
          Dst:             sc_dump_hex
        - Src:             'cwa14890.c:135,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:141,2'
          Dst:             sc_dump_hex
        - Src:             'cwa14890.c:141,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:142,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:142,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:142,2'
          Dst:             sc_do_log
    - functionName:    sc_evp_cipher
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_cipherbyname
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:136,23'
          Dst:             EVP_get_cipherbyname
    - functionName:    sc_evp_cipher_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cwa_trace_apdu
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 115
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          163
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_hex_dump
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:92,4'
          Dst:             sc_hex_dump
        - Src:             'cwa14890.c:93,4'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:100,4'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:108,3'
          Dst:             sc_hex_dump
        - Src:             'cwa14890.c:109,3'
          Dst:             sc_do_log
    - functionName:    cwa_verify_icc_certificates
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 325
      functionLinenumberEnd: 385
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          255
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached:
        - EVP_PKEY_free
        - X509_get_pubkey
        - X509_verify
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:336,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:338,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:338,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:338,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:349,8'
          Dst:             X509_verify
        - Src:             'cwa14890.c:351,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:358,21'
          Dst:             X509_get_pubkey
        - Src:             'cwa14890.c:359,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:366,8'
          Dst:             X509_verify
        - Src:             'cwa14890.c:368,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:378,3'
          Dst:             EVP_PKEY_free
        - Src:             'cwa14890.c:380,3'
          Dst:             EVP_PKEY_free
        - Src:             'cwa14890.c:382,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:384,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:384,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:384,2'
          Dst:             sc_do_log
    - functionName:    X509_get_pubkey
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cwa_compose_tlv
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 184
      functionLinenumberEnd: 224
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - char
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          287
      EdgeCount:       50
      CyclomaticComplexity: 13
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:194,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:216,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:216,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:216,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:223,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:223,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:223,2'
          Dst:             sc_do_log
    - functionName:    cwa_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 440
      functionLinenumberEnd: 462
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - char
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          176
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - dnie_format_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:449,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:451,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:451,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:451,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:454,2'
          Dst:             dnie_format_apdu
        - Src:             'cwa14890.c:458,11'
          Dst:             sc_transmit_apdu
        - Src:             'cwa14890.c:459,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:459,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:460,11'
          Dst:             sc_check_sw
        - Src:             'cwa14890.c:461,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:461,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:461,2'
          Dst:             sc_do_log
    - functionName:    cwa_verify_cvc_certificate
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 400
      functionLinenumberEnd: 422
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          168
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - dnie_format_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:409,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:411,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:411,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:411,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:414,2'
          Dst:             dnie_format_apdu
        - Src:             'cwa14890.c:418,11'
          Dst:             sc_transmit_apdu
        - Src:             'cwa14890.c:419,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:419,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:420,11'
          Dst:             sc_check_sw
        - Src:             'cwa14890.c:421,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:421,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:421,2'
          Dst:             sc_do_log
    - functionName:    cwa_internal_auth
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 477
      functionLinenumberEnd: 506
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          241
      EdgeCount:       52
      CyclomaticComplexity: 12
      functionsReached:
        - dnie_format_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:487,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:489,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:489,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:489,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:492,2'
          Dst:             dnie_format_apdu
        - Src:             'cwa14890.c:496,11'
          Dst:             sc_transmit_apdu
        - Src:             'cwa14890.c:497,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:497,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:499,11'
          Dst:             sc_check_sw
        - Src:             'cwa14890.c:500,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:500,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:503,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:503,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:503,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:505,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:505,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:505,2'
          Dst:             sc_do_log
    - functionName:    cwa_verify_internal_auth
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 895
      functionLinenumberEnd: 1073
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         85
      ICount:          503
      EdgeCount:       117
      CyclomaticComplexity: 34
      functionsReached:
        - BN_bin2bn
        - BN_bn2bin
        - BN_free
        - BN_new
        - BN_num_bits
        - BN_sub
        - EVP_PKEY_CTX_free
        - EVP_PKEY_CTX_new
        - EVP_PKEY_decrypt
        - EVP_PKEY_decrypt_init
        - EVP_PKEY_encrypt
        - EVP_PKEY_encrypt_init
        - EVP_PKEY_get0_RSA
        - RSA_get0_key
        - RSA_pkey_ctx_ctrl
        - calloc
        - cwa_compare_signature
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:910,30'
          Dst:             EVP_PKEY_get0_RSA
        - Src:             'cwa14890.c:923,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:934,16'
          Dst:             calloc
        - Src:             'cwa14890.c:935,16'
          Dst:             calloc
        - Src:             'cwa14890.c:936,16'
          Dst:             calloc
        - Src:             'cwa14890.c:958,9'
          Dst:             EVP_PKEY_CTX_new
        - Src:             'cwa14890.c:960,4'
          Dst:             EVP_PKEY_decrypt_init
        - Src:             'cwa14890.c:961,4'
          Dst:             RSA_pkey_ctx_ctrl
        - Src:             'cwa14890.c:962,4'
          Dst:             EVP_PKEY_decrypt
        - Src:             'cwa14890.c:963,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:966,3'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:969,2'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:975,9'
          Dst:             EVP_PKEY_CTX_new
        - Src:             'cwa14890.c:977,4'
          Dst:             EVP_PKEY_encrypt_init
        - Src:             'cwa14890.c:978,4'
          Dst:             RSA_pkey_ctx_ctrl
        - Src:             'cwa14890.c:979,4'
          Dst:             EVP_PKEY_encrypt
        - Src:             'cwa14890.c:980,3'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:981,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:985,2'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:987,8'
          Dst:             cwa_compare_signature
        - Src:             'cwa14890.c:996,7'
          Dst:             BN_bin2bn
        - Src:             'cwa14890.c:997,10'
          Dst:             BN_new
        - Src:             'cwa14890.c:999,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1005,2'
          Dst:             RSA_get0_key
        - Src:             'cwa14890.c:1014,8'
          Dst:             BN_sub
        - Src:             'cwa14890.c:1016,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1021,19'
          Dst:             BN_num_bits
        - Src:             'cwa14890.c:1027,9'
          Dst:             BN_bn2bin
        - Src:             'cwa14890.c:1029,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1036,9'
          Dst:             EVP_PKEY_CTX_new
        - Src:             'cwa14890.c:1038,3'
          Dst:             EVP_PKEY_encrypt_init
        - Src:             'cwa14890.c:1039,3'
          Dst:             RSA_pkey_ctx_ctrl
        - Src:             'cwa14890.c:1040,3'
          Dst:             EVP_PKEY_encrypt
        - Src:             'cwa14890.c:1041,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1044,3'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:1047,2'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:1050,8'
          Dst:             cwa_compare_signature
        - Src:             'cwa14890.c:1064,2'
          Dst:             BN_free
        - Src:             'cwa14890.c:1065,2'
          Dst:             BN_free
        - Src:             'cwa14890.c:1070,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1072,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:1072,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:1072,2'
          Dst:             sc_do_log
    - functionName:    cwa_prepare_external_auth
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 529
      functionLinenumberEnd: 720
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         96
      ICount:          605
      EdgeCount:       131
      CyclomaticComplexity: 37
      functionsReached:
        - BN_bin2bn
        - BN_bn2bin
        - BN_cmp
        - BN_free
        - BN_new
        - BN_num_bits
        - BN_sub
        - EVP_PKEY_CTX_free
        - EVP_PKEY_CTX_new
        - EVP_PKEY_decrypt
        - EVP_PKEY_decrypt_init
        - EVP_PKEY_encrypt
        - EVP_PKEY_encrypt_init
        - EVP_PKEY_get0_RSA
        - RAND_bytes
        - RSA_get0_key
        - RSA_pkey_ctx_ctrl
        - SHA1
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_mem_clear
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:566,31'
          Dst:             EVP_PKEY_get0_RSA
        - Src:             'cwa14890.c:580,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:583,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:583,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:583,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:584,9'
          Dst:             calloc
        - Src:             'cwa14890.c:585,9'
          Dst:             calloc
        - Src:             'cwa14890.c:586,9'
          Dst:             calloc
        - Src:             'cwa14890.c:587,12'
          Dst:             calloc
        - Src:             'cwa14890.c:588,13'
          Dst:             calloc
        - Src:             'cwa14890.c:598,6'
          Dst:             RAND_bytes
        - Src:             'cwa14890.c:599,4'
          Dst:             RAND_bytes
        - Src:             'cwa14890.c:600,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:611,2'
          Dst:             SHA1
        - Src:             'cwa14890.c:617,9'
          Dst:             EVP_PKEY_CTX_new
        - Src:             'cwa14890.c:619,4'
          Dst:             EVP_PKEY_decrypt_init
        - Src:             'cwa14890.c:620,4'
          Dst:             RSA_pkey_ctx_ctrl
        - Src:             'cwa14890.c:621,3'
          Dst:             EVP_PKEY_decrypt
        - Src:             'cwa14890.c:622,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:625,3'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:628,2'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:632,7'
          Dst:             BN_bin2bn
        - Src:             'cwa14890.c:633,10'
          Dst:             BN_new
        - Src:             'cwa14890.c:635,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:641,2'
          Dst:             RSA_get0_key
        - Src:             'cwa14890.c:651,8'
          Dst:             BN_sub
        - Src:             'cwa14890.c:653,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:658,11'
          Dst:             BN_cmp
        - Src:             'cwa14890.c:659,6'
          Dst:             BN_num_bits
        - Src:             'cwa14890.c:660,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:665,9'
          Dst:             BN_bn2bin
        - Src:             'cwa14890.c:667,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:674,9'
          Dst:             EVP_PKEY_CTX_new
        - Src:             'cwa14890.c:676,4'
          Dst:             EVP_PKEY_encrypt_init
        - Src:             'cwa14890.c:677,4'
          Dst:             RSA_pkey_ctx_ctrl
        - Src:             'cwa14890.c:678,4'
          Dst:             EVP_PKEY_encrypt
        - Src:             'cwa14890.c:680,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:683,3'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:686,2'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'cwa14890.c:693,2'
          Dst:             BN_free
        - Src:             'cwa14890.c:694,2'
          Dst:             BN_free
        - Src:             'cwa14890.c:696,3'
          Dst:             sc_mem_clear
        - Src:             'cwa14890.c:700,3'
          Dst:             sc_mem_clear
        - Src:             'cwa14890.c:704,3'
          Dst:             sc_mem_clear
        - Src:             'cwa14890.c:708,3'
          Dst:             sc_mem_clear
        - Src:             'cwa14890.c:717,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:719,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:719,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:719,2'
          Dst:             sc_do_log
    - functionName:    cwa_external_auth
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 733
      functionLinenumberEnd: 754
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          136
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - dnie_format_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:742,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:745,2'
          Dst:             dnie_format_apdu
        - Src:             'cwa14890.c:749,11'
          Dst:             sc_transmit_apdu
        - Src:             'cwa14890.c:750,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:750,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:751,11'
          Dst:             sc_check_sw
        - Src:             'cwa14890.c:752,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:752,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:753,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:753,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:753,2'
          Dst:             sc_do_log
    - functionName:    cwa_compute_session_keys
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 765
      functionLinenumberEnd: 836
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         36
      ICount:          284
      EdgeCount:       46
      CyclomaticComplexity: 12
      functionsReached:
        - SHA1
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_mem_clear
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:782,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:784,10'
          Dst:             calloc
        - Src:             'cwa14890.c:785,9'
          Dst:             calloc
        - Src:             'cwa14890.c:786,13'
          Dst:             calloc
        - Src:             'cwa14890.c:799,2'
          Dst:             SHA1
        - Src:             'cwa14890.c:808,2'
          Dst:             SHA1
        - Src:             'cwa14890.c:820,3'
          Dst:             sc_mem_clear
        - Src:             'cwa14890.c:824,3'
          Dst:             sc_mem_clear
        - Src:             'cwa14890.c:829,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:831,3'
          Dst:             sc_dump_hex
        - Src:             'cwa14890.c:831,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:832,3'
          Dst:             sc_dump_hex
        - Src:             'cwa14890.c:832,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:833,3'
          Dst:             sc_dump_hex
        - Src:             'cwa14890.c:833,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:835,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:835,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:835,2'
          Dst:             sc_do_log
    - functionName:    EVP_PKEY_get0_RSA
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_CTX_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_decrypt_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RSA_pkey_ctx_ctrl
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_decrypt
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_CTX_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    12
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_cmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_encrypt_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_encrypt
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_verify
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cwa_encode_apdu
      functionSourceFile: '/src/opensc/src/libopensc/cwa14890.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1476
      functionLinenumberEnd: 1720
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         134
      ICount:          944
      EdgeCount:       182
      CyclomaticComplexity: 50
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_EncryptFinal_ex
        - EVP_EncryptInit_ex
        - EVP_EncryptUpdate
        - calloc
        - cwa_compose_tlv
        - cwa_increase_ssc
        - cwa_iso7816_padding
        - cwa_trace_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa14890.c:1501,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1504,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:1504,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:1504,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1506,3'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:1506,3'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:1506,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1509,11'
          Dst:             calloc
        - Src:             'cwa14890.c:1510,13'
          Dst:             calloc
        - Src:             'cwa14890.c:1529,2'
          Dst:             cwa_trace_apdu
        - Src:             'cwa14890.c:1534,12'
          Dst:             calloc
        - Src:             'cwa14890.c:1536,10'
          Dst:             calloc
        - Src:             'cwa14890.c:1539,13'
          Dst:             calloc
        - Src:             'cwa14890.c:1561,2'
          Dst:             cwa_iso7816_padding
        - Src:             'cwa14890.c:1563,15'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'cwa14890.c:1576,3'
          Dst:             cwa_iso7816_padding
        - Src:             'cwa14890.c:1583,9'
          Dst:             sc_evp_cipher
        - Src:             'cwa14890.c:1586,5'
          Dst:             EVP_EncryptInit_ex
        - Src:             'cwa14890.c:1587,5'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'cwa14890.c:1588,5'
          Dst:             EVP_EncryptUpdate
        - Src:             'cwa14890.c:1589,5'
          Dst:             EVP_EncryptFinal_ex
        - Src:             'cwa14890.c:1597,9'
          Dst:             cwa_compose_tlv
        - Src:             'cwa14890.c:1613,9'
          Dst:             cwa_compose_tlv
        - Src:             'cwa14890.c:1628,2'
          Dst:             cwa_iso7816_padding
        - Src:             'cwa14890.c:1632,8'
          Dst:             cwa_increase_ssc
        - Src:             'cwa14890.c:1643,2'
          Dst:             sc_evp_cipher_free
        - Src:             'cwa14890.c:1644,8'
          Dst:             sc_evp_cipher
        - Src:             'cwa14890.c:1646,4'
          Dst:             EVP_EncryptInit_ex
        - Src:             'cwa14890.c:1647,4'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'cwa14890.c:1655,7'
          Dst:             EVP_EncryptUpdate
        - Src:             'cwa14890.c:1664,6'
          Dst:             EVP_EncryptFinal_ex
        - Src:             'cwa14890.c:1671,2'
          Dst:             sc_evp_cipher_free
        - Src:             'cwa14890.c:1672,8'
          Dst:             sc_evp_cipher
        - Src:             'cwa14890.c:1675,4'
          Dst:             EVP_EncryptInit_ex
        - Src:             'cwa14890.c:1676,4'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'cwa14890.c:1677,4'
          Dst:             EVP_EncryptUpdate
        - Src:             'cwa14890.c:1678,4'
          Dst:             EVP_EncryptFinal_ex
        - Src:             'cwa14890.c:1686,2'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1687,8'
          Dst:             cwa_compose_tlv
        - Src:             'cwa14890.c:1710,2'
          Dst:             sc_evp_cipher_free
        - Src:             'cwa14890.c:1711,2'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'cwa14890.c:1713,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa14890.c:1714,3'
          Dst:             sc_do_log
        - Src:             'cwa14890.c:1719,2'
          Dst:             sc_strerror
        - Src:             'cwa14890.c:1719,2'
          Dst:             sc_do_log_color
        - Src:             'cwa14890.c:1719,2'
          Dst:             sc_do_log
    - functionName:    dnie_get_privkey
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 882
      functionLinenumberEnd: 973
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          226
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - BN_bin2bn
        - BN_free
        - EVP_PKEY_assign
        - EVP_PKEY_free
        - EVP_PKEY_new
        - RSA_free
        - RSA_new
        - RSA_set0_key
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:889,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:890,12'
          Dst:             RSA_new
        - Src:             'cwa-dnie.c:891,17'
          Dst:             EVP_PKEY_new
        - Src:             'cwa-dnie.c:895,4'
          Dst:             RSA_free
        - Src:             'cwa-dnie.c:897,4'
          Dst:             EVP_PKEY_free
        - Src:             'cwa-dnie.c:908,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa-dnie.c:909,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:914,14'
          Dst:             BN_bin2bn
        - Src:             'cwa-dnie.c:915,14'
          Dst:             BN_bin2bn
        - Src:             'cwa-dnie.c:916,14'
          Dst:             BN_bin2bn
        - Src:             'cwa-dnie.c:919,6'
          Dst:             RSA_set0_key
        - Src:             'cwa-dnie.c:920,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa-dnie.c:921,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:922,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:923,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:924,3'
          Dst:             RSA_free
        - Src:             'cwa-dnie.c:925,3'
          Dst:             EVP_PKEY_free
        - Src:             'cwa-dnie.c:926,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:930,8'
          Dst:             EVP_PKEY_assign
        - Src:             'cwa-dnie.c:932,3'
          Dst:             RSA_free
        - Src:             'cwa-dnie.c:933,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa-dnie.c:957,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:958,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:959,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:961,4'
          Dst:             EVP_PKEY_free
        - Src:             'cwa-dnie.c:962,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:972,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:972,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:972,2'
          Dst:             sc_do_log
    - functionName:    RSA_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    RSA_set0_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_assign
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    dnie_get_channel_data
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 622
      functionLinenumberEnd: 631
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          117
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:624,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:626,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:627,3'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:627,3'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:627,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:630,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:630,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:630,2'
          Dst:             sc_do_log
    - functionName:    dnie_set_channel_data
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 643
      functionLinenumberEnd: 669
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          180
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - CRYPTO_free
        - X509_NAME_oneline
        - X509_get_issuer_name
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_strerror
        - strstr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:646,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:648,28'
          Dst:             X509_get_issuer_name
        - Src:             'cwa-dnie.c:650,9'
          Dst:             X509_NAME_oneline
        - Src:             'cwa-dnie.c:652,4'
          Dst:             sc_do_log_openssl
        - Src:             'cwa-dnie.c:653,4'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:653,4'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:653,4'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:655,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:658,13'
          Dst:             strstr
        - Src:             'cwa-dnie.c:659,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:662,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:666,3'
          Dst:             CRYPTO_free
        - Src:             'cwa-dnie.c:668,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:668,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:668,2'
          Dst:             sc_do_log
    - functionName:    X509_get_issuer_name
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_NAME_oneline
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    dnie_read_certificate
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 575
      functionLinenumberEnd: 610
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          147
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - d2i_X509
        - dnie_read_file
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_file_free
        - sc_format_path
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:583,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:584,2'
          Dst:             sc_format_path
        - Src:             'cwa-dnie.c:585,8'
          Dst:             dnie_read_file
        - Src:             'cwa-dnie.c:591,10'
          Dst:             d2i_X509
        - Src:             'cwa-dnie.c:593,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa-dnie.c:606,2'
          Dst:             sc_file_free
        - Src:             'cwa-dnie.c:609,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:610,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:610,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:610,2'
          Dst:             sc_do_log
    - functionName:    dnie_read_file
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 494
      functionLinenumberEnd: 561
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          305
      EdgeCount:       71
      CyclomaticComplexity: 19
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_read_binary
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:504,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:506,3'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:506,3'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:506,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:531,9'
          Dst:             calloc
        - Src:             'cwa-dnie.c:538,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:539,8'
          Dst:             sc_read_binary
        - Src:             'cwa-dnie.c:554,3'
          Dst:             sc_file_free
        - Src:             'cwa-dnie.c:559,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:560,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:560,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:560,2'
          Dst:             sc_do_log
    - functionName:    d2i_X509
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    dnie_format_apdu
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1372
      functionLinenumberEnd: 1384
      functionDepth:   0
      returnType:      void
      argCount:        12
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - size_t
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          88
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_format_apdu
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1373,2'
          Dst:             sc_format_apdu
    - functionName:    dnie_get_sn_ifd_pin
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1217
      functionLinenumberEnd: 1228
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          67
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1223,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:1224,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1224,2'
          Dst:             sc_do_log_color
    - functionName:    dnie_get_ifd_pubkey_ref_pin
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1143
      functionLinenumberEnd: 1155
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          70
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1146,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:1149,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:1150,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1150,2'
          Dst:             sc_do_log_color
    - functionName:    dnie_get_ifd_privkey_pin
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1010
      functionLinenumberEnd: 1021
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - dnie_get_channel_data
        - dnie_get_privkey
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1015,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:1016,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1016,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:1018,9'
          Dst:             dnie_get_privkey
    - functionName:    dnie_get_cvc_ifd_cert_pin
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 850
      functionLinenumberEnd: 862
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          100
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:853,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:856,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:857,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:857,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:861,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:861,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:861,2'
          Dst:             sc_do_log
    - functionName:    dnie_change_cwa_provider_to_pin
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1358
      functionLinenumberEnd: 1366
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          25
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    dnie_change_cwa_provider_to_secure
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1341
      functionLinenumberEnd: 1349
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          25
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    dnie_get_cvc_ifd_cert
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 820
      functionLinenumberEnd: 832
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          100
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:823,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:826,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:827,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:827,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:831,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:831,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:831,2'
          Dst:             sc_do_log
    - functionName:    dnie_get_ifd_privkey
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 986
      functionLinenumberEnd: 997
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - dnie_get_channel_data
        - dnie_get_privkey
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:991,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:992,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:992,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:994,9'
          Dst:             dnie_get_privkey
    - functionName:    dnie_get_ifd_pubkey_ref
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1117
      functionLinenumberEnd: 1128
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          64
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1122,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:1123,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1123,2'
          Dst:             sc_do_log_color
    - functionName:    dnie_get_sn_ifd
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1193
      functionLinenumberEnd: 1204
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          67
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1199,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:1200,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1200,2'
          Dst:             sc_do_log_color
    - functionName:    dnie_get_sn_icc
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1239
      functionLinenumberEnd: 1250
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          66
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1244,8'
          Dst:             sc_card_ctl
        - Src:             'cwa-dnie.c:1245,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1245,2'
          Dst:             sc_do_log_color
    - functionName:    dnie_get_icc_privkey_ref
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1169
      functionLinenumberEnd: 1180
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          64
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1174,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:1175,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1175,2'
          Dst:             sc_do_log_color
    - functionName:    dnie_get_intermediate_ca_pubkey_ref
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1091
      functionLinenumberEnd: 1102
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          64
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1096,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:1097,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1097,2'
          Dst:             sc_do_log_color
    - functionName:    dnie_get_root_ca_pubkey_ref
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1065
      functionLinenumberEnd: 1076
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          64
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1070,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:1071,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1071,2'
          Dst:             sc_do_log_color
    - functionName:    dnie_get_cvc_ca_cert
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 791
      functionLinenumberEnd: 803
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          100
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - dnie_get_channel_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:794,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:797,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:798,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:798,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:802,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:802,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:802,2'
          Dst:             sc_do_log
    - functionName:    dnie_get_root_ca_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 682
      functionLinenumberEnd: 774
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          253
      EdgeCount:       41
      CyclomaticComplexity: 11
      functionsReached:
        - BN_bin2bn
        - BN_free
        - EVP_PKEY_assign
        - EVP_PKEY_free
        - EVP_PKEY_new
        - RSA_free
        - RSA_new
        - RSA_set0_key
        - dnie_get_channel_data
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:688,16'
          Dst:             RSA_new
        - Src:             'cwa-dnie.c:689,17'
          Dst:             EVP_PKEY_new
        - Src:             'cwa-dnie.c:692,4'
          Dst:             RSA_free
        - Src:             'cwa-dnie.c:694,4'
          Dst:             EVP_PKEY_free
        - Src:             'cwa-dnie.c:703,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa-dnie.c:704,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:708,2'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:711,8'
          Dst:             dnie_get_channel_data
        - Src:             'cwa-dnie.c:714,3'
          Dst:             RSA_free
        - Src:             'cwa-dnie.c:715,3'
          Dst:             EVP_PKEY_free
        - Src:             'cwa-dnie.c:720,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:720,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:723,18'
          Dst:             BN_bin2bn
        - Src:             'cwa-dnie.c:724,18'
          Dst:             BN_bin2bn
        - Src:             'cwa-dnie.c:727,6'
          Dst:             RSA_set0_key
        - Src:             'cwa-dnie.c:728,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa-dnie.c:729,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:730,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:731,3'
          Dst:             EVP_PKEY_free
        - Src:             'cwa-dnie.c:732,3'
          Dst:             RSA_free
        - Src:             'cwa-dnie.c:733,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:736,8'
          Dst:             EVP_PKEY_assign
        - Src:             'cwa-dnie.c:738,3'
          Dst:             sc_do_log_openssl
        - Src:             'cwa-dnie.c:739,3'
          Dst:             RSA_free
        - Src:             'cwa-dnie.c:760,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:761,3'
          Dst:             BN_free
        - Src:             'cwa-dnie.c:762,3'
          Dst:             EVP_PKEY_free
        - Src:             'cwa-dnie.c:763,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:773,2'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:773,2'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:773,2'
          Dst:             sc_do_log
    - functionName:    dnie_get_icc_cert
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1050
      functionLinenumberEnd: 1051
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - dnie_read_certificate
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1051,9'
          Dst:             dnie_read_certificate
    - functionName:    dnie_get_icc_intermediate_ca_cert
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1031
      functionLinenumberEnd: 1039
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          52
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - dnie_read_certificate
        - dnie_set_channel_data
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1034,12'
          Dst:             dnie_read_certificate
        - Src:             'cwa-dnie.c:1037,9'
          Dst:             dnie_set_channel_data
    - functionName:    dnie_create_pre_ops
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1267
      functionLinenumberEnd: 1276
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          68
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1272,3'
          Dst:             sc_strerror
        - Src:             'cwa-dnie.c:1272,3'
          Dst:             sc_do_log_color
        - Src:             'cwa-dnie.c:1272,3'
          Dst:             sc_do_log
        - Src:             'cwa-dnie.c:1275,9'
          Dst:             sc_card_ctl
    - functionName:    dnie_get_cwa_provider
      functionSourceFile: '/src/opensc/src/libopensc/cwa-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1287
      functionLinenumberEnd: 1332
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          72
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cwa_get_default_provider
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cwa-dnie.c:1289,24'
          Dst:             cwa_get_default_provider
    - functionName:    isoApplet_add_sa_to_acl
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 368
      functionLinenumberEnd: 394
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          99
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_file_add_acl_entry
      functionUses:    14
      BranchProfiles:
        - Branch String:   'card-isoApplet.c:371,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-isoApplet.c:374,7'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-isoApplet.c:379,7'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-isoApplet.c:384,7'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-isoApplet.c:389,7'
          Dst:             sc_file_add_acl_entry
    - functionName:    isoApplet_acl_to_security_condition_byte
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 258
      functionLinenumberEnd: 271
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          42
      EdgeCount:       17
      CyclomaticComplexity: 10
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-isoApplet.c:261,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    isoApplet_put_data_prkey_ec
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 854
      functionLinenumberEnd: 961
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         93
      ICount:          669
      EdgeCount:       122
      CyclomaticComplexity: 31
      functionsReached:
        - isoApplet_put_ec_params
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:861,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:872,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:872,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:877,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:878,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:878,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:880,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:881,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:881,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:883,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:884,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:884,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:886,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:887,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:887,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:889,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:890,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:890,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:892,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:893,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:893,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:895,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:896,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:896,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:901,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:902,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:902,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:905,6'
          Dst:             isoApplet_put_ec_params
        - Src:             'card-isoApplet.c:908,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:911,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:916,2'
          Dst:             sc_format_apdu
        - Src:             'card-isoApplet.c:924,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-isoApplet.c:927,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:931,6'
          Dst:             sc_check_sw
        - Src:             'card-isoApplet.c:934,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:939,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:947,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:953,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:959,2'
          Dst:             sc_mem_clear
        - Src:             'card-isoApplet.c:960,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:960,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:960,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_put_ec_params
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 483
      functionLinenumberEnd: 521
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          463
      EdgeCount:       86
      CyclomaticComplexity: 21
      functionsReached:
        - sc_asn1_put_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:487,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:497,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:497,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:502,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:502,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:505,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:506,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:506,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:507,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:508,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:508,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:509,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:510,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:510,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:511,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:512,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:512,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:513,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:514,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:514,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:515,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:516,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:516,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:520,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:520,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:520,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_put_data_prkey_rsa
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 729
      functionLinenumberEnd: 830
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         78
      ICount:          606
      EdgeCount:       103
      CyclomaticComplexity: 27
      functionsReached:
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:736,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:744,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:744,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:752,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:753,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:753,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:755,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:756,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:756,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:758,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:759,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:759,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:761,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:762,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:762,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:764,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:765,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:765,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:770,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:771,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:771,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:775,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:779,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:783,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:787,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:791,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-isoApplet.c:796,2'
          Dst:             sc_format_apdu
        - Src:             'card-isoApplet.c:805,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-isoApplet.c:808,6'
          Dst:             sc_check_sw
        - Src:             'card-isoApplet.c:811,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:819,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:828,2'
          Dst:             sc_mem_clear
        - Src:             'card-isoApplet.c:829,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:829,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:829,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_ctl_import_key
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 968
      functionLinenumberEnd: 1033
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          260
      EdgeCount:       39
      CyclomaticComplexity: 7
      functionsReached:
        - isoApplet_put_data_prkey_ec
        - isoApplet_put_data_prkey_rsa
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-isoApplet.c:1015,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-isoApplet.c:975,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:989,2'
          Dst:             sc_format_apdu
        - Src:             'card-isoApplet.c:1007,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-isoApplet.c:1008,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1008,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1010,6'
          Dst:             sc_check_sw
        - Src:             'card-isoApplet.c:1011,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1011,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1019,7'
          Dst:             isoApplet_put_data_prkey_rsa
        - Src:             'card-isoApplet.c:1020,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1020,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1024,7'
          Dst:             isoApplet_put_data_prkey_ec
        - Src:             'card-isoApplet.c:1025,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1025,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1029,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1029,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1032,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1032,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1032,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_ctl_generate_key
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 528
      functionLinenumberEnd: 713
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         195
      ICount:          1266
      EdgeCount:       250
      CyclomaticComplexity: 57
      functionsReached:
        - isoApplet_put_ec_params
        - memcmp
        - sc_asn1_find_tag
        - sc_asn1_read_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-isoApplet.c:630,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-isoApplet.c:542,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:545,2'
          Dst:             sc_format_apdu
        - Src:             'card-isoApplet.c:563,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-isoApplet.c:564,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:564,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:566,6'
          Dst:             sc_check_sw
        - Src:             'card-isoApplet.c:567,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:567,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:580,3'
          Dst:             sc_format_apdu
        - Src:             'card-isoApplet.c:583,7'
          Dst:             isoApplet_put_ec_params
        - Src:             'card-isoApplet.c:584,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:584,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:596,3'
          Dst:             sc_format_apdu
        - Src:             'card-isoApplet.c:606,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-isoApplet.c:607,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:607,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:609,6'
          Dst:             sc_check_sw
        - Src:             'card-isoApplet.c:612,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:617,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:617,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:621,6'
          Dst:             sc_asn1_read_tag
        - Src:             'card-isoApplet.c:622,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:622,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:626,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:626,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:636,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-isoApplet.c:640,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:640,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:644,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:644,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:644,4'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:650,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-isoApplet.c:653,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:653,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:657,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:657,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:657,4'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:659,6'
          Dst:             memcmp
        - Src:             'card-isoApplet.c:661,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:661,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:671,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-isoApplet.c:673,14'
          Dst:             memcmp
        - Src:             'card-isoApplet.c:674,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:674,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:676,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-isoApplet.c:678,14'
          Dst:             memcmp
        - Src:             'card-isoApplet.c:679,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:679,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:681,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-isoApplet.c:683,14'
          Dst:             memcmp
        - Src:             'card-isoApplet.c:684,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:684,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:686,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-isoApplet.c:688,14'
          Dst:             memcmp
        - Src:             'card-isoApplet.c:689,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:689,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:691,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-isoApplet.c:693,14'
          Dst:             memcmp
        - Src:             'card-isoApplet.c:694,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:694,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:696,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-isoApplet.c:698,14'
          Dst:             memcmp
        - Src:             'card-isoApplet.c:699,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:699,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:702,21'
          Dst:             sc_asn1_find_tag
        - Src:             'card-isoApplet.c:704,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:704,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:709,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:709,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:712,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:712,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:712,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_get_info
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 151
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          132
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - iso7816_select_aid
        - sc_do_log_color
        - sc_get_data
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:129,7'
          Dst:             sc_get_data
        - Src:             'card-isoApplet.c:134,8'
          Dst:             iso7816_select_aid
        - Src:             'card-isoApplet.c:135,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:135,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:140,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:140,3'
          Dst:             sc_do_log_color
    - functionName:    isoApplet_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1254
      functionLinenumberEnd: 1255
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - iso7816_select_aid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:1255,9'
          Dst:             iso7816_select_aid
    - functionName:    isoApplet_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1241
      functionLinenumberEnd: 1250
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - iso7816_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:1244,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:1247,7'
          Dst:             iso7816_select_aid
        - Src:             'card-isoApplet.c:1250,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1250,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1250,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1226
      functionLinenumberEnd: 1237
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          88
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:1229,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:1237,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1237,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1237,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1173
      functionLinenumberEnd: 1222
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          284
      EdgeCount:       48
      CyclomaticComplexity: 11
      functionsReached:
        - sc_asn1_sig_value_sequence_to_rs
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs1_strip_digest_info_prefix
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:1178,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:1184,7'
          Dst:             sc_pkcs1_strip_digest_info_prefix
        - Src:             'card-isoApplet.c:1207,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1207,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1207,4'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:1213,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1213,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1213,4'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:1215,7'
          Dst:             sc_asn1_sig_value_sequence_to_rs
        - Src:             'card-isoApplet.c:1216,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1216,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1221,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1221,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1221,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1060
      functionLinenumberEnd: 1167
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         71
      ICount:          499
      EdgeCount:       87
      CyclomaticComplexity: 18
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-isoApplet.c:1082,2'
          Branch Sides:    []
        - Branch String:   'card-isoApplet.c:1098,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-isoApplet.c:1072,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:1078,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1078,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1081,2'
          Dst:             sc_format_apdu
        - Src:             'card-isoApplet.c:1112,5'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1112,5'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1122,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1122,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1160,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-isoApplet.c:1161,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1161,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1162,7'
          Dst:             sc_check_sw
        - Src:             'card-isoApplet.c:1163,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1163,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1166,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1166,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1166,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 405
      functionLinenumberEnd: 461
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         91
      ICount:          589
      EdgeCount:       114
      CyclomaticComplexity: 25
      functionsReached:
        - isoApplet_add_sa_to_acl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:409,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:412,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:412,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:419,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:419,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:424,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:425,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:425,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:426,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:427,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:427,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:428,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:429,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:429,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:430,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:431,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:431,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:432,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:433,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:433,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:434,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:435,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:435,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:436,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:437,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:437,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:442,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:443,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:443,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:444,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:445,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:445,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:446,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:447,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:447,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:448,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:449,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:449,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:450,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:451,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:451,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:452,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:453,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:453,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:454,8'
          Dst:             isoApplet_add_sa_to_acl
        - Src:             'card-isoApplet.c:455,4'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:455,4'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:460,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:460,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:460,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 293
      functionLinenumberEnd: 355
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          205
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - isoApplet_acl_to_security_condition_byte
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_file_set_sec_attr
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:296,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:345,12'
          Dst:             sc_file_get_acl_entry
        - Src:             'card-isoApplet.c:346,20'
          Dst:             isoApplet_acl_to_security_condition_byte
        - Src:             'card-isoApplet.c:349,7'
          Dst:             sc_file_set_sec_attr
        - Src:             'card-isoApplet.c:350,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:350,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:354,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:354,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:354,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1037
      functionLinenumberEnd: 1054
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          87
      EdgeCount:       14
      CyclomaticComplexity: 2
      functionsReached:
        - isoApplet_ctl_generate_key
        - isoApplet_ctl_import_key
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-isoApplet.c:1041,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-isoApplet.c:1040,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:1044,7'
          Dst:             isoApplet_ctl_generate_key
        - Src:             'card-isoApplet.c:1048,7'
          Dst:             isoApplet_ctl_import_key
        - Src:             'card-isoApplet.c:1054,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:1054,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:1054,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 106
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          77
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:100,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:106,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:106,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:106,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_init
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 155
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         67
      ICount:          450
      EdgeCount:       85
      CyclomaticComplexity: 20
      functionsReached:
        - _sc_card_add_ec_alg
        - _sc_card_add_rsa_alg
        - calloc
        - isoApplet_get_info
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:162,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:164,10'
          Dst:             calloc
        - Src:             'card-isoApplet.c:166,3'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:166,3'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:166,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:172,6'
          Dst:             isoApplet_get_info
        - Src:             'card-isoApplet.c:173,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:173,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:178,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:186,3'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:219,5'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-isoApplet.c:233,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-isoApplet.c:235,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-isoApplet.c:238,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:238,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:238,2'
          Dst:             sc_do_log
        - Src:             'card-isoApplet.c:241,2'
          Dst:             sc_strerror
        - Src:             'card-isoApplet.c:241,2'
          Dst:             sc_do_log_color
        - Src:             'card-isoApplet.c:241,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 111
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - iso7816_select_aid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:114,7'
          Dst:             iso7816_select_aid
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1259
      functionLinenumberEnd: 1291
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          50
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:1260,30'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_isoApplet_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1295
      functionLinenumberEnd: 1296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-isoApplet.c:1296,9'
          Dst:             sc_get_driver
    - functionName:    masktech_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 305
      functionLinenumberEnd: 340
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          233
      EdgeCount:       45
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:311,3'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:311,3'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:311,3'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:315,2'
          Dst:             sc_format_apdu
        - Src:             'card-masktech.c:319,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-masktech.c:322,2'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:322,2'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:329,3'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:329,3'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:329,3'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:339,2'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:339,2'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:339,2'
          Dst:             sc_do_log
    - functionName:    masktech_pin_change
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 247
      functionLinenumberEnd: 279
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          139
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:262,2'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:262,2'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:276,2'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:276,2'
          Dst:             sc_do_log_color
    - functionName:    masktech_pin_unblock
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 211
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          133
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:226,2'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:226,2'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:240,2'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:240,2'
          Dst:             sc_do_log_color
    - functionName:    masktech_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 344
      functionLinenumberEnd: 352
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       11
      CyclomaticComplexity: 7
      functionsReached:
        - masktech_get_serialnr
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-masktech.c:346,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-masktech.c:345,2'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:348,11'
          Dst:             masktech_get_serialnr
    - functionName:    masktech_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 283
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          58
      EdgeCount:       17
      CyclomaticComplexity: 10
      functionsReached:
        - masktech_pin_change
        - masktech_pin_unblock
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-masktech.c:287,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-masktech.c:285,2'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:290,8'
          Dst:             masktech_pin_unblock
        - Src:             'card-masktech.c:293,8'
          Dst:             masktech_pin_change
    - functionName:    masktech_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 174
      functionLinenumberEnd: 206
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          265
      EdgeCount:       51
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:181,2'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:184,3'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:184,3'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:184,3'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:187,2'
          Dst:             sc_format_apdu
        - Src:             'card-masktech.c:197,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-masktech.c:198,2'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:198,2'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:203,3'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:203,3'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:203,3'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:205,2'
          Dst:             sc_check_sw
        - Src:             'card-masktech.c:205,2'
          Dst:             sc_strerror
        - Src:             'card-masktech.c:205,2'
          Dst:             sc_do_log_color
        - Src:             'card-masktech.c:205,2'
          Dst:             sc_do_log
    - functionName:    masktech_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 131
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          130
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - memcmp
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:141,2'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:152,48'
          Dst:             memcmp
        - Src:             'card-masktech.c:154,4'
          Dst:             sc_do_log
    - functionName:    masktech_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 105
      functionLinenumberEnd: 124
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          93
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:107,2'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:117,4'
          Dst:             sc_do_log
    - functionName:    masktech_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    masktech_init
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 89
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          54
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_card_add_rsa_alg
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:75,2'
          Dst:             sc_do_log
        - Src:             'card-masktech.c:84,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-masktech.c:85,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-masktech.c:86,2'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    masktech_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 62
      functionLinenumberEnd: 68
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:64,6'
          Dst:             _sc_match_atr
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 355
      functionLinenumberEnd: 370
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:358,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_masktech_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-masktech.c'
      linkageType:     InternalLinkage
      functionLinenumber: 374
      functionLinenumberEnd: 375
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-masktech.c:375,9'
          Dst:             sc_get_driver
    - functionName:    gids_get_pin_status
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 516
      functionLinenumberEnd: 560
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          343
      EdgeCount:       78
      CyclomaticComplexity: 18
      functionsReached:
        - gids_get_DO
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-gids.c:526,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-gids.c:523,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:534,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:534,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:534,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:536,6'
          Dst:             gids_get_DO
        - Src:             'card-gids.c:537,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:537,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:541,6'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gids.c:546,6'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gids.c:551,6'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gids.c:557,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:559,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:559,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:559,2'
          Dst:             sc_do_log
    - functionName:    gids_get_DO
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 210
      functionLinenumberEnd: 249
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          275
      EdgeCount:       47
      CyclomaticComplexity: 11
      functionsReached:
        - sc_asn1_find_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:219,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:220,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:223,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:232,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:233,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:233,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:234,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:234,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:234,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:237,6'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gids.c:239,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:239,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:239,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:243,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:243,4'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:243,4'
          Dst:             sc_do_log
    - functionName:    gids_get_pin_policy
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1019
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          123
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - gids_get_pin_status
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1009,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1009,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1009,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1011,6'
          Dst:             gids_get_pin_status
        - Src:             'card-gids.c:1012,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1012,2'
          Dst:             sc_do_log_color
    - functionName:    sc_evp_cipher_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_evp_cipher
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_cipherbyname
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:136,23'
          Dst:             EVP_get_cipherbyname
    - functionName:    gids_initialize_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1746
      functionLinenumberEnd: 1765
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          174
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1749,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:1754,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:1755,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1755,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1756,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:1756,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1756,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1759,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:1761,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:1762,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1762,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1763,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:1763,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1763,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1764,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1764,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1764,2'
          Dst:             sc_do_log
    - functionName:    gids_check_that_card_is_new
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1787
      functionLinenumberEnd: 1797
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          56
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - gids_read_masterfile
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1791,6'
          Dst:             gids_read_masterfile
        - Src:             'card-gids.c:1794,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1794,3'
          Dst:             sc_do_log_color
    - functionName:    gids_read_masterfile
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 340
      functionLinenumberEnd: 355
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         23
      ICount:          148
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - gids_get_DO
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:345,6'
          Dst:             gids_get_DO
        - Src:             'card-gids.c:348,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:348,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:348,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:352,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:352,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:352,3'
          Dst:             sc_do_log
    - functionName:    gids_delete_key_file
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1517
      functionLinenumberEnd: 1530
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          91
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - gids_select_file
        - sc_do_log_color
        - sc_format_path
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1521,2'
          Dst:             snprintf
        - Src:             'card-gids.c:1522,2'
          Dst:             sc_format_path
        - Src:             'card-gids.c:1523,6'
          Dst:             gids_select_file
        - Src:             'card-gids.c:1524,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1524,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1528,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1528,2'
          Dst:             sc_do_log_color
    - functionName:    gids_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 964
      functionLinenumberEnd: 1004
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          288
      EdgeCount:       46
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:969,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:981,11'
          Dst:             sc_file_new
        - Src:             'card-gids.c:983,5'
          Dst:             sc_strerror
        - Src:             'card-gids.c:983,5'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:983,5'
          Dst:             sc_do_log
        - Src:             'card-gids.c:990,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:990,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:990,3'
          Dst:             sc_do_log
    - functionName:    gids_delete_container_num
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1606
      functionLinenumberEnd: 1662
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         53
      ICount:          373
      EdgeCount:       65
      CyclomaticComplexity: 14
      functionsReached:
        - gids_delete_key_file
        - gids_get_DO
        - gids_put_DO
        - gids_update_cardcf
        - gids_write_gidsfile
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1618,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1625,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1625,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1625,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1629,6'
          Dst:             gids_get_DO
        - Src:             'card-gids.c:1632,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1632,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1632,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1636,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1636,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1636,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1651,6'
          Dst:             gids_delete_key_file
        - Src:             'card-gids.c:1652,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1652,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1653,6'
          Dst:             gids_update_cardcf
        - Src:             'card-gids.c:1654,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1654,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1655,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1656,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1656,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1658,6'
          Dst:             gids_write_gidsfile
        - Src:             'card-gids.c:1659,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1659,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1661,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1661,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1661,2'
          Dst:             sc_do_log
    - functionName:    gids_update_cardcf
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 359
      functionLinenumberEnd: 382
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          176
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - gids_read_gidsfile_without_cache
        - gids_write_gidsfile_without_cache
        - sc_do_log_color
        - sc_strerror
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:364,6'
          Dst:             gids_read_gidsfile_without_cache
        - Src:             'card-gids.c:365,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:365,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:379,6'
          Dst:             gids_write_gidsfile_without_cache
        - Src:             'card-gids.c:380,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:380,2'
          Dst:             sc_do_log_color
    - functionName:    gids_put_DO
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 276
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          153
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_asn1_put_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:257,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:258,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:261,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:263,6'
          Dst:             sc_asn1_put_tag
        - Src:             'card-gids.c:264,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:264,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:271,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:272,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:272,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:273,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:273,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:273,2'
          Dst:             sc_do_log_color
    - functionName:    gids_write_gidsfile
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 408
      functionLinenumberEnd: 424
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          163
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - gids_update_cardcf
        - gids_write_gidsfile_without_cache
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strcmp
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:411,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:412,6'
          Dst:             gids_update_cardcf
        - Src:             'card-gids.c:413,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:413,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:415,6'
          Dst:             gids_write_gidsfile_without_cache
        - Src:             'card-gids.c:417,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:417,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:418,6'
          Dst:             strcmp
        - Src:             'card-gids.c:418,40'
          Dst:             strcmp
        - Src:             'card-gids.c:423,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:423,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:423,2'
          Dst:             sc_do_log
    - functionName:    gids_write_gidsfile_without_cache
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 322
      functionLinenumberEnd: 337
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          144
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - gids_get_identifiers
        - gids_put_DO
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:327,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:329,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:329,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:329,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:332,6'
          Dst:             gids_get_identifiers
        - Src:             'card-gids.c:333,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:333,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:334,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:335,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:335,2'
          Dst:             sc_do_log_color
    - functionName:    gids_get_identifiers
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 163
      functionLinenumberEnd: 181
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          129
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - strncmp
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:171,7'
          Dst:             strncmp
        - Src:             'card-gids.c:171,86'
          Dst:             strncmp
        - Src:             'card-gids.c:174,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:179,2'
          Dst:             sc_do_log
    - functionName:    gids_read_gidsfile_without_cache
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 308
      functionLinenumberEnd: 319
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          100
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - gids_get_DO
        - gids_get_identifiers
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:313,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:314,6'
          Dst:             gids_get_identifiers
        - Src:             'card-gids.c:315,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:315,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:316,6'
          Dst:             gids_get_DO
        - Src:             'card-gids.c:317,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:317,2'
          Dst:             sc_do_log_color
    - functionName:    gids_find_available_DO
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 184
      functionLinenumberEnd: 207
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          119
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    gids_create_file
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 442
      functionLinenumberEnd: 481
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          237
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - _strlcpy
        - gids_find_available_DO
        - gids_put_DO
        - gids_update_cardcf
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:452,6'
          Dst:             gids_find_available_DO
        - Src:             'card-gids.c:453,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:453,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:458,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:458,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:458,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:467,2'
          Dst:             strncpy
        - Src:             'card-gids.c:468,2'
          Dst:             _strlcpy
        - Src:             'card-gids.c:472,6'
          Dst:             gids_update_cardcf
        - Src:             'card-gids.c:473,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:473,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:475,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:476,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:476,2'
          Dst:             sc_do_log_color
    - functionName:    gids_does_file_exists
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 400
      functionLinenumberEnd: 403
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - gids_get_identifiers
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:403,9'
          Dst:             gids_get_identifiers
    - functionName:    gids_encode_certificate
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1533
      functionLinenumberEnd: 1555
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          139
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - sc_compress
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1540,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1540,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1540,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1551,6'
          Dst:             sc_compress
        - Src:             'card-gids.c:1552,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1552,2'
          Dst:             sc_do_log_color
    - functionName:    gids_perform_create_keyfile
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1183
      functionLinenumberEnd: 1258
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - char
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          504
      EdgeCount:       45
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1226,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1230,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:1240,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1240,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1240,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1243,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:1244,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1244,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1245,6'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:1246,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1246,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1249,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:1251,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:1252,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1252,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1254,6'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:1255,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1255,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1257,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1257,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1257,2'
          Dst:             sc_do_log
    - functionName:    gids_get_crypto_identifier_from_prkey_info
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 722
      functionLinenumberEnd: 740
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          68
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    gids_build_certificate_path
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 488
      functionLinenumberEnd: 510
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          125
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - gids_get_identifiers
        - sc_do_log
        - snprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:492,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:494,3'
          Dst:             snprintf
        - Src:             'card-gids.c:496,3'
          Dst:             snprintf
        - Src:             'card-gids.c:498,6'
          Dst:             gids_get_identifiers
    - functionName:    gids_read_cmapfile
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 427
      functionLinenumberEnd: 439
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          82
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - gids_read_gidsfile
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:431,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:433,6'
          Dst:             gids_read_gidsfile
        - Src:             'card-gids.c:437,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:437,2'
          Dst:             sc_do_log_color
    - functionName:    gids_read_gidsfile
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 385
      functionLinenumberEnd: 397
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          145
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - gids_read_gidsfile_without_cache
        - gids_read_masterfile
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:388,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:390,7'
          Dst:             gids_read_masterfile
        - Src:             'card-gids.c:391,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:391,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:393,6'
          Dst:             gids_read_gidsfile_without_cache
        - Src:             'card-gids.c:395,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:395,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:396,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:396,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:396,2'
          Dst:             sc_do_log
    - functionName:    gids_authenticate_admin
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1919
      functionLinenumberEnd: 2086
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         144
      ICount:          1080
      EdgeCount:       179
      CyclomaticComplexity: 37
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_DecryptFinal
        - EVP_DecryptInit
        - EVP_DecryptUpdate
        - EVP_EncryptFinal
        - EVP_EncryptInit
        - EVP_EncryptUpdate
        - RAND_bytes
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_cipher
        - sc_evp_cipher_free
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1940,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1943,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:1947,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:1948,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1948,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1949,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:1949,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1949,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1952,6'
          Dst:             RAND_bytes
        - Src:             'card-gids.c:1953,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:1954,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1954,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1958,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:1965,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:1966,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1966,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1967,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:1967,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1967,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1970,6'
          Dst:             RAND_bytes
        - Src:             'card-gids.c:1971,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:1972,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1972,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1983,8'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-gids.c:1985,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:1986,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1986,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1986,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1988,11'
          Dst:             sc_evp_cipher
        - Src:             'card-gids.c:1989,7'
          Dst:             EVP_EncryptInit
        - Src:             'card-gids.c:1990,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:1991,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:1992,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:1993,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1993,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1993,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1995,2'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-gids.c:1996,7'
          Dst:             EVP_EncryptUpdate
        - Src:             'card-gids.c:1997,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:1998,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:1999,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2000,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2000,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2000,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2003,7'
          Dst:             EVP_EncryptFinal
        - Src:             'card-gids.c:2004,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:2005,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:2006,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2007,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2007,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2007,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2009,2'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:2011,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2014,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:2021,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:2022,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2022,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2023,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:2023,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2023,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2027,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2028,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2028,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2028,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2031,8'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-gids.c:2033,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2033,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2033,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2035,11'
          Dst:             sc_evp_cipher
        - Src:             'card-gids.c:2036,7'
          Dst:             EVP_DecryptInit
        - Src:             'card-gids.c:2037,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:2038,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2039,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:2040,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2040,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2040,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2042,2'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-gids.c:2043,7'
          Dst:             EVP_DecryptUpdate
        - Src:             'card-gids.c:2044,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:2045,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2046,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2047,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:2048,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2048,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2048,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2050,7'
          Dst:             EVP_DecryptFinal
        - Src:             'card-gids.c:2051,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:2052,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2053,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2054,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:2055,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2055,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2055,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2057,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2058,6'
          Dst:             memcmp
        - Src:             'card-gids.c:2059,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:2060,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2061,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2062,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:2063,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2063,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2063,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2065,6'
          Dst:             memcmp
        - Src:             'card-gids.c:2066,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:2067,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2068,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2069,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:2070,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2070,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2070,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2073,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:2074,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2075,3'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2076,3'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:2077,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2077,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2077,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2079,2'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'card-gids.c:2081,2'
          Dst:             sc_evp_cipher_free
        - Src:             'card-gids.c:2084,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2084,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2084,2'
          Dst:             sc_do_log
    - functionName:    gids_set_administrator_key
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1768
      functionLinenumberEnd: 1785
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          63
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - gids_put_DO
        - sc_do_log
        - sc_do_log_color
        - sc_mem_clear
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1779,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1781,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1782,2'
          Dst:             sc_mem_clear
        - Src:             'card-gids.c:1783,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1783,2'
          Dst:             sc_do_log_color
    - functionName:    gids_initialize
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1801
      functionLinenumberEnd: 1911
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         103
      ICount:          687
      EdgeCount:       128
      CyclomaticComplexity: 27
      functionsReached:
        - RAND_bytes
        - gids_check_that_card_is_new
        - gids_initialize_create_file
        - gids_put_DO
        - gids_set_administrator_key
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_format_apdu
        - sc_pin_cmd
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1834,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1837,6'
          Dst:             gids_check_that_card_is_new
        - Src:             'card-gids.c:1838,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1838,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1848,6'
          Dst:             sc_pin_cmd
        - Src:             'card-gids.c:1849,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1849,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1852,6'
          Dst:             gids_initialize_create_file
        - Src:             'card-gids.c:1853,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1853,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1854,6'
          Dst:             gids_initialize_create_file
        - Src:             'card-gids.c:1855,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1855,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1856,6'
          Dst:             gids_initialize_create_file
        - Src:             'card-gids.c:1857,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1857,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1858,6'
          Dst:             gids_initialize_create_file
        - Src:             'card-gids.c:1859,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1859,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1860,6'
          Dst:             gids_initialize_create_file
        - Src:             'card-gids.c:1861,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1861,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1862,6'
          Dst:             gids_initialize_create_file
        - Src:             'card-gids.c:1863,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1863,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1866,6'
          Dst:             gids_initialize_create_file
        - Src:             'card-gids.c:1867,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1867,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1869,6'
          Dst:             gids_set_administrator_key
        - Src:             'card-gids.c:1870,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1870,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1873,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1874,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1874,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1875,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1876,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1876,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1877,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1878,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1878,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1879,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1880,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1880,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1887,7'
          Dst:             RAND_bytes
        - Src:             'card-gids.c:1888,4'
          Dst:             sc_do_log_openssl
        - Src:             'card-gids.c:1889,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1889,4'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1893,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1894,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1894,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1897,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:1902,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:1903,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1903,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1904,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:1904,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1904,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1906,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:1907,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:1908,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1908,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1909,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:1909,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1909,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1910,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1910,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1910,2'
          Dst:             sc_do_log
    - functionName:    gids_delete_key
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1726
      functionLinenumberEnd: 1743
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          153
      EdgeCount:       27
      CyclomaticComplexity: 7
      functionsReached:
        - gids_delete_container_num
        - gids_read_cmapfile
        - gids_read_masterfile
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1734,6'
          Dst:             gids_read_masterfile
        - Src:             'card-gids.c:1735,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1735,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1736,6'
          Dst:             gids_read_cmapfile
        - Src:             'card-gids.c:1737,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1737,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1740,6'
          Dst:             gids_delete_container_num
        - Src:             'card-gids.c:1741,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1741,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1742,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1742,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1742,2'
          Dst:             sc_do_log
    - functionName:    gids_delete_cert
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1665
      functionLinenumberEnd: 1724
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         60
      ICount:          450
      EdgeCount:       75
      CyclomaticComplexity: 17
      functionsReached:
        - gids_put_DO
        - gids_read_cmapfile
        - gids_read_masterfile
        - gids_update_cardcf
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1679,6'
          Dst:             gids_read_masterfile
        - Src:             'card-gids.c:1680,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1680,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1681,5'
          Dst:             gids_read_cmapfile
        - Src:             'card-gids.c:1682,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1682,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1686,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1686,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1686,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1702,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1702,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1702,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1711,6'
          Dst:             gids_update_cardcf
        - Src:             'card-gids.c:1712,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1712,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1714,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1715,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1715,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1717,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1718,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1718,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1723,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1723,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1723,2'
          Dst:             sc_do_log
    - functionName:    gids_save_certificate
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1559
      functionLinenumberEnd: 1603
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          315
      EdgeCount:       53
      CyclomaticComplexity: 13
      functionsReached:
        - gids_build_certificate_path
        - gids_create_file
        - gids_does_file_exists
        - gids_encode_certificate
        - gids_read_cmapfile
        - gids_read_masterfile
        - gids_write_gidsfile
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1573,6'
          Dst:             gids_read_masterfile
        - Src:             'card-gids.c:1574,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1574,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1575,5'
          Dst:             gids_read_cmapfile
        - Src:             'card-gids.c:1576,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1576,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1579,6'
          Dst:             gids_encode_certificate
        - Src:             'card-gids.c:1580,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1580,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1585,3'
          Dst:             snprintf
        - Src:             'card-gids.c:1587,3'
          Dst:             snprintf
        - Src:             'card-gids.c:1590,6'
          Dst:             gids_does_file_exists
        - Src:             'card-gids.c:1592,7'
          Dst:             gids_create_file
        - Src:             'card-gids.c:1593,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1593,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1595,6'
          Dst:             gids_write_gidsfile
        - Src:             'card-gids.c:1596,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1596,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1599,6'
          Dst:             gids_build_certificate_path
        - Src:             'card-gids.c:1600,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1600,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1602,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1602,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1602,2'
          Dst:             sc_do_log
    - functionName:    gids_import_key
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1433
      functionLinenumberEnd: 1514
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          352
      EdgeCount:       42
      CyclomaticComplexity: 11
      functionsReached:
        - gids_put_DO
        - sc_asn1_encode
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_mem_clear
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1474,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1479,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1483,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1486,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1487,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1488,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1489,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1490,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1491,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1492,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1493,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1494,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1496,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1498,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1499,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1500,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1502,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1503,2'
          Dst:             sc_format_asn1_entry
        - Src:             'card-gids.c:1505,6'
          Dst:             sc_asn1_encode
        - Src:             'card-gids.c:1506,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1506,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1508,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1509,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1509,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1512,2'
          Dst:             sc_mem_clear
        - Src:             'card-gids.c:1513,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1513,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1513,2'
          Dst:             sc_do_log
    - functionName:    gids_generate_key
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1391
      functionLinenumberEnd: 1430
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          282
      EdgeCount:       47
      CyclomaticComplexity: 11
      functionsReached:
        - gids_get_crypto_identifier_from_prkey_info
        - gids_read_public_key
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_pkcs15_decode_pubkey
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1395,13'
          Dst:             gids_get_crypto_identifier_from_prkey_info
        - Src:             'card-gids.c:1405,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1410,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1410,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1410,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1413,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:1418,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:1419,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1419,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1421,6'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:1422,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1422,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1424,6'
          Dst:             gids_read_public_key
        - Src:             'card-gids.c:1425,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1425,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1426,6'
          Dst:             sc_pkcs15_decode_pubkey
        - Src:             'card-gids.c:1429,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1429,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1429,2'
          Dst:             sc_do_log
    - functionName:    gids_read_public_key
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 893
      functionLinenumberEnd: 960
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          394
      EdgeCount:       64
      CyclomaticComplexity: 15
      functionsReached:
        - _sc_debug_hex
        - sc_asn1_find_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_pkcs15_encode_pubkey_rsa
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:908,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:909,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:912,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:921,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:922,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:922,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:923,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:923,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:923,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:926,16'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gids.c:928,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:929,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:929,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:929,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:932,12'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gids.c:940,12'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gids.c:949,7'
          Dst:             sc_pkcs15_encode_pubkey_rsa
        - Src:             'card-gids.c:950,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:950,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:952,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:953,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:953,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:953,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:957,3'
          Dst:             _sc_debug_hex
    - functionName:    gids_create_keyfile
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1261
      functionLinenumberEnd: 1388
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         100
      ICount:          741
      EdgeCount:       126
      CyclomaticComplexity: 28
      functionsReached:
        - gids_get_DO
        - gids_get_crypto_identifier_from_prkey_info
        - gids_perform_create_keyfile
        - gids_put_DO
        - gids_update_cardcf
        - gids_write_gidsfile
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strcmp
        - strlcat
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1267,13'
          Dst:             gids_get_crypto_identifier_from_prkey_info
        - Src:             'card-gids.c:1280,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1286,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1286,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1286,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1295,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1295,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1295,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1299,6'
          Dst:             gids_get_DO
        - Src:             'card-gids.c:1303,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1303,4'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1303,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1310,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1311,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1312,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1312,4'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1312,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1323,7'
          Dst:             gids_write_gidsfile
        - Src:             'card-gids.c:1324,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1324,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1349,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1349,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1349,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1354,6'
          Dst:             strcmp
        - Src:             'card-gids.c:1358,3'
          Dst:             strlcat
        - Src:             'card-gids.c:1376,6'
          Dst:             gids_perform_create_keyfile
        - Src:             'card-gids.c:1377,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1377,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1379,6'
          Dst:             gids_update_cardcf
        - Src:             'card-gids.c:1380,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1380,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1381,6'
          Dst:             gids_put_DO
        - Src:             'card-gids.c:1382,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1382,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1384,6'
          Dst:             gids_write_gidsfile
        - Src:             'card-gids.c:1385,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1385,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1387,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1387,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1387,2'
          Dst:             sc_do_log
    - functionName:    gids_select_key_reference
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1132
      functionLinenumberEnd: 1179
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         47
      ICount:          309
      EdgeCount:       58
      CyclomaticComplexity: 13
      functionsReached:
        - gids_read_cmapfile
        - gids_read_masterfile
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1139,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1142,6'
          Dst:             gids_read_masterfile
        - Src:             'card-gids.c:1143,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1143,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1144,6'
          Dst:             gids_read_cmapfile
        - Src:             'card-gids.c:1145,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1145,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1161,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1161,4'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1161,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1168,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1169,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1169,4'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1169,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1172,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1173,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1173,4'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1173,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1176,2'
          Dst:             snprintf
        - Src:             'card-gids.c:1177,2'
          Dst:             sc_format_path
    - functionName:    gids_get_container_detail
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1087
      functionLinenumberEnd: 1128
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          254
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - gids_build_certificate_path
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1125,2'
          Dst:             gids_build_certificate_path
    - functionName:    gids_get_all_containers
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1074
      functionLinenumberEnd: 1083
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          84
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - gids_read_cmapfile
        - gids_read_masterfile
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1077,6'
          Dst:             gids_read_masterfile
        - Src:             'card-gids.c:1078,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1078,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1079,6'
          Dst:             gids_read_cmapfile
        - Src:             'card-gids.c:1080,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1080,2'
          Dst:             sc_do_log_color
    - functionName:    gids_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 602
      functionLinenumberEnd: 627
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          162
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - gids_read_gidsfile
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:607,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:610,6'
          Dst:             gids_read_gidsfile
        - Src:             'card-gids.c:611,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:611,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:615,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:615,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:615,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:626,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:626,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:626,2'
          Dst:             sc_do_log
    - functionName:    gids_get_crypto_identifier_from_key_ref
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 673
      functionLinenumberEnd: 719
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          411
      EdgeCount:       82
      CyclomaticComplexity: 23
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:679,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:679,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:679,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:718,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:718,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:718,2'
          Dst:             sc_do_log
    - functionName:    gids_select_aid
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 280
      functionLinenumberEnd: 302
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          174
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:284,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:285,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:288,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:297,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:300,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:300,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:301,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:301,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:301,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:301,2'
          Dst:             sc_do_log
    - functionName:    gids_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2125
      functionLinenumberEnd: 2136
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          81
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - gids_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:2128,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2133,7'
          Dst:             gids_select_aid
        - Src:             'card-gids.c:2136,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:2136,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:2136,2'
          Dst:             sc_do_log
    - functionName:    gids_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1022
      functionLinenumberEnd: 1028
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - gids_get_pin_policy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1024,10'
          Dst:             gids_get_pin_policy
    - functionName:    gids_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2089
      functionLinenumberEnd: 2122
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          155
      EdgeCount:       39
      CyclomaticComplexity: 21
      functionsReached:
        - gids_authenticate_admin
        - gids_create_keyfile
        - gids_delete_cert
        - gids_delete_key
        - gids_generate_key
        - gids_get_all_containers
        - gids_get_container_detail
        - gids_get_serialnr
        - gids_import_key
        - gids_initialize
        - gids_save_certificate
        - gids_select_key_reference
        - gids_set_administrator_key
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-gids.c:2091,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-gids.c:2090,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:2093,11'
          Dst:             gids_get_serialnr
        - Src:             'card-gids.c:2095,11'
          Dst:             gids_get_all_containers
        - Src:             'card-gids.c:2097,11'
          Dst:             gids_get_container_detail
        - Src:             'card-gids.c:2099,11'
          Dst:             gids_select_key_reference
        - Src:             'card-gids.c:2101,11'
          Dst:             gids_create_keyfile
        - Src:             'card-gids.c:2103,11'
          Dst:             gids_generate_key
        - Src:             'card-gids.c:2105,11'
          Dst:             gids_import_key
        - Src:             'card-gids.c:2107,11'
          Dst:             gids_save_certificate
        - Src:             'card-gids.c:2110,11'
          Dst:             gids_delete_cert
        - Src:             'card-gids.c:2112,11'
          Dst:             gids_delete_key
        - Src:             'card-gids.c:2114,11'
          Dst:             gids_initialize
        - Src:             'card-gids.c:2116,11'
          Dst:             gids_set_administrator_key
        - Src:             'card-gids.c:2118,11'
          Dst:             gids_authenticate_admin
    - functionName:    gids_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 836
      functionLinenumberEnd: 870
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          208
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:843,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:844,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:853,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:862,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'card-gids.c:863,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:864,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:864,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:867,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:867,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:867,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:869,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:869,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:869,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:869,2'
          Dst:             sc_do_log
    - functionName:    gids_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 746
      functionLinenumberEnd: 829
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          417
      EdgeCount:       73
      CyclomaticComplexity: 17
      functionsReached:
        - gids_get_crypto_identifier_from_key_ref
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_lock
        - sc_strerror
        - sc_transmit_apdu
        - sc_unlock
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-gids.c:759,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-gids.c:755,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:758,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:776,3'
          Dst:             gids_get_crypto_identifier_from_key_ref
        - Src:             'card-gids.c:784,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:784,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:784,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:801,7'
          Dst:             sc_lock
        - Src:             'card-gids.c:802,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:802,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:806,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:808,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:808,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:811,7'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:813,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:813,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:819,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:820,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:821,2'
          Dst:             sc_unlock
        - Src:             'card-gids.c:822,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:822,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:824,9'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:827,3'
          Dst:             sc_unlock
    - functionName:    gids_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 874
      functionLinenumberEnd: 888
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          109
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:880,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:883,2'
          Dst:             sc_format_apdu
        - Src:             'card-gids.c:884,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-gids.c:885,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:885,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:887,2'
          Dst:             sc_check_sw
        - Src:             'card-gids.c:887,2'
          Dst:             sc_strerror
        - Src:             'card-gids.c:887,2'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:887,2'
          Dst:             sc_do_log
    - functionName:    gids_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1032
      functionLinenumberEnd: 1070
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          334
      EdgeCount:       62
      CyclomaticComplexity: 15
      functionsReached:
        - gids_get_DO
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:1038,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1041,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1041,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1041,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1047,7'
          Dst:             gids_get_DO
        - Src:             'card-gids.c:1050,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1050,4'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1050,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1059,4'
          Dst:             sc_do_log
        - Src:             'card-gids.c:1060,4'
          Dst:             sc_strerror
        - Src:             'card-gids.c:1060,4'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:1060,4'
          Dst:             sc_do_log
    - functionName:    gids_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 661
      functionLinenumberEnd: 668
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          39
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:662,2'
          Dst:             sc_do_log
    - functionName:    gids_init
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 631
      functionLinenumberEnd: 657
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          95
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_card_add_rsa_alg
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:634,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:637,37'
          Dst:             calloc
        - Src:             'card-gids.c:639,3'
          Dst:             sc_strerror
        - Src:             'card-gids.c:639,3'
          Dst:             sc_do_log_color
        - Src:             'card-gids.c:639,3'
          Dst:             sc_do_log
        - Src:             'card-gids.c:651,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-gids.c:652,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-gids.c:653,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-gids.c:654,2'
          Dst:             _sc_card_add_rsa_alg
    - functionName:    gids_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 563
      functionLinenumberEnd: 597
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          158
      EdgeCount:       34
      CyclomaticComplexity: 9
      functionsReached:
        - gids_select_aid
        - memcmp
        - sc_asn1_find_tag
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:572,2'
          Dst:             sc_do_log
        - Src:             'card-gids.c:575,6'
          Dst:             gids_select_aid
        - Src:             'card-gids.c:580,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gids.c:582,10'
          Dst:             sc_asn1_find_tag
        - Src:             'card-gids.c:584,5'
          Dst:             sc_do_log
        - Src:             'card-gids.c:586,45'
          Dst:             memcmp
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2140
      functionLinenumberEnd: 2181
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          79
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:2143,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_gids_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2185
      functionLinenumberEnd: 2186
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-gids.c:2186,9'
          Dst:             sc_get_driver
    - functionName:    jpki_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 357
      functionLinenumberEnd: 358
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - jpki_select_ap
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-jpki.c:358,9'
          Dst:             jpki_select_ap
    - functionName:    jpki_select_ap
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 59
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          86
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_select_file
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-jpki.c:50,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:53,2'
          Dst:             sc_format_path
        - Src:             'card-jpki.c:55,7'
          Dst:             sc_select_file
        - Src:             'card-jpki.c:56,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:56,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:58,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:58,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:58,2'
          Dst:             sc_do_log
    - functionName:    jpki_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 344
      functionLinenumberEnd: 353
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - jpki_select_ap
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-jpki.c:347,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:350,7'
          Dst:             jpki_select_ap
        - Src:             'card-jpki.c:353,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:353,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:353,2'
          Dst:             sc_do_log
    - functionName:    jpki_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 317
      functionLinenumberEnd: 341
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          195
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-jpki.c:322,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:324,2'
          Dst:             sc_format_apdu
        - Src:             'card-jpki.c:332,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-jpki.c:333,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:333,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:334,7'
          Dst:             sc_check_sw
        - Src:             'card-jpki.c:335,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:335,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:337,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:337,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:337,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:340,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:340,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:340,2'
          Dst:             sc_do_log
    - functionName:    jpki_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 312
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          219
      EdgeCount:       33
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-jpki.c:290,2'
          Branch Sides:    []
        - Branch String:   'card-jpki.c:297,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-jpki.c:285,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:286,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:294,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:294,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:294,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:299,3'
          Dst:             sc_format_path
        - Src:             'card-jpki.c:302,3'
          Dst:             sc_format_path
        - Src:             'card-jpki.c:305,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:305,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:305,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:308,7'
          Dst:             sc_select_file
        - Src:             'card-jpki.c:309,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:309,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:311,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:311,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:311,2'
          Dst:             sc_do_log
    - functionName:    jpki_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 209
      functionLinenumberEnd: 276
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         65
      ICount:          485
      EdgeCount:       76
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_format_path
        - sc_select_file
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-jpki.c:218,2'
          Branch Sides:    []
        - Branch String:   'card-jpki.c:237,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-jpki.c:216,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:220,3'
          Dst:             sc_format_path
        - Src:             'card-jpki.c:222,8'
          Dst:             sc_select_file
        - Src:             'card-jpki.c:226,3'
          Dst:             sc_format_path
        - Src:             'card-jpki.c:228,8'
          Dst:             sc_select_file
        - Src:             'card-jpki.c:232,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:233,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:233,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:233,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:235,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:235,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:241,4'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:241,4'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:241,4'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:242,3'
          Dst:             sc_format_apdu
        - Src:             'card-jpki.c:246,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-jpki.c:247,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:247,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:248,8'
          Dst:             sc_check_sw
        - Src:             'card-jpki.c:257,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:257,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:260,3'
          Dst:             sc_format_apdu
        - Src:             'card-jpki.c:261,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-jpki.c:262,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:262,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:264,4'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:265,4'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:265,4'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:265,4'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:271,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:272,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:272,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:272,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:275,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:275,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:275,2'
          Dst:             sc_do_log
    - functionName:    jpki_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 141
      functionLinenumberEnd: 205
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         82
      ICount:          518
      EdgeCount:       102
      CyclomaticComplexity: 22
      functionsReached:
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_new
        - sc_format_apdu
        - sc_print_path
        - sc_read_binary
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-jpki.c:161,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-jpki.c:147,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:148,2'
          Dst:             sc_print_path
        - Src:             'card-jpki.c:148,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:149,24'
          Dst:             memcmp
        - Src:             'card-jpki.c:152,4'
          Dst:             sc_file_dup
        - Src:             'card-jpki.c:154,5'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:154,5'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:154,5'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:160,2'
          Dst:             sc_format_apdu
        - Src:             'card-jpki.c:169,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:169,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:169,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:176,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-jpki.c:177,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:177,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:178,7'
          Dst:             sc_check_sw
        - Src:             'card-jpki.c:179,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:179,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:181,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:181,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:181,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:186,7'
          Dst:             memcmp
        - Src:             'card-jpki.c:187,7'
          Dst:             memcmp
        - Src:             'card-jpki.c:188,7'
          Dst:             memcmp
        - Src:             'card-jpki.c:189,7'
          Dst:             memcmp
        - Src:             'card-jpki.c:192,8'
          Dst:             sc_read_binary
        - Src:             'card-jpki.c:193,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:193,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:195,4'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:195,4'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:196,10'
          Dst:             sc_file_new
        - Src:             'card-jpki.c:198,4'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:198,4'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:198,4'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:204,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:204,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:204,2'
          Dst:             sc_do_log
    - functionName:    jpki_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          81
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-jpki.c:84,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:86,3'
          Dst:             sc_file_free
        - Src:             'card-jpki.c:90,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:90,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:90,2'
          Dst:             sc_do_log
    - functionName:    jpki_init
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 95
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          203
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - _sc_card_add_rsa_alg
        - sc_do_log
        - sc_do_log_color
        - sc_file_add_acl_entry
        - sc_file_new
        - sc_format_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-jpki.c:100,2'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:104,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:104,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:104,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:109,7'
          Dst:             sc_file_new
        - Src:             'card-jpki.c:112,3'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:112,3'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:112,3'
          Dst:             sc_do_log
        - Src:             'card-jpki.c:114,2'
          Dst:             sc_format_path
        - Src:             'card-jpki.c:121,2'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-jpki.c:122,2'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-jpki.c:123,2'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-jpki.c:124,2'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-jpki.c:125,2'
          Dst:             sc_file_add_acl_entry
        - Src:             'card-jpki.c:133,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-jpki.c:135,2'
          Dst:             sc_strerror
        - Src:             'card-jpki.c:135,2'
          Dst:             sc_do_log_color
        - Src:             'card-jpki.c:135,2'
          Dst:             sc_do_log
    - functionName:    jpki_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 77
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          51
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_match_atr
        - jpki_select_ap
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-jpki.c:66,6'
          Dst:             _sc_match_atr
        - Src:             'card-jpki.c:71,7'
          Dst:             jpki_select_ap
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 363
      functionLinenumberEnd: 377
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-jpki.c:364,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_jpki_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 382
      functionLinenumberEnd: 383
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-jpki.c:383,9'
          Dst:             sc_get_driver
    - functionName:    npa_standard_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 615
      functionLinenumberEnd: 627
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:619,12'
          Dst:             sc_get_iso7816_driver
    - functionName:    npa_pace_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 523
      functionLinenumberEnd: 610
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          363
      EdgeCount:       82
      CyclomaticComplexity: 23
      functionsReached:
        - eac_secret_name
        - npa_cache_or_free
        - npa_get_cached_pace_params
        - perform_pace
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:539,2'
          Dst:             npa_get_cached_pace_params
        - Src:             'card-npa.c:541,6'
          Dst:             perform_pace
        - Src:             'card-npa.c:558,3'
          Dst:             eac_secret_name
        - Src:             'card-npa.c:558,3'
          Dst:             eac_secret_name
        - Src:             'card-npa.c:558,3'
          Dst:             sc_do_log
        - Src:             'card-npa.c:565,7'
          Dst:             perform_pace
        - Src:             'card-npa.c:574,8'
          Dst:             perform_pace
        - Src:             'card-npa.c:577,5'
          Dst:             eac_secret_name
        - Src:             'card-npa.c:577,5'
          Dst:             sc_do_log
        - Src:             'card-npa.c:595,4'
          Dst:             eac_secret_name
        - Src:             'card-npa.c:595,4'
          Dst:             sc_do_log
        - Src:             'card-npa.c:598,4'
          Dst:             eac_secret_name
        - Src:             'card-npa.c:598,4'
          Dst:             sc_do_log
        - Src:             'card-npa.c:603,2'
          Dst:             npa_cache_or_free
    - functionName:    npa_get_cached_pace_params
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 173
      functionLinenumberEnd: 189
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          101
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:186,45'
          Dst:             strlen
    - functionName:    npa_cache_or_free
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 238
      functionLinenumberEnd: 270
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          192
      EdgeCount:       51
      CyclomaticComplexity: 16
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    npa_pin_cmd_get_info
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 476
      functionLinenumberEnd: 517
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          112
      EdgeCount:       17
      CyclomaticComplexity: 3
      functionsReached:
        - eac_pace_get_tries_left
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-npa.c:486,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-npa.c:499,8'
          Dst:             eac_pace_get_tries_left
        - Src:             'card-npa.c:507,8'
          Dst:             eac_pace_get_tries_left
    - functionName:    npa_drv_data_free
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 62
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    npa_get_cached_ca_params
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 233
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    npa_get_cached_ta_params
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 194
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          131
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fread_to_eof
      functionSourceFile: '/src/opensc/src/libopensc/./../tools/fread_to_eof.c'
      linkageType:     InternalLinkage
      functionLinenumber: 29
      functionLinenumberEnd: 61
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          135
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - fclose
        - feof
        - ferror
        - fopen
        - fread
        - realloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './../tools/fread_to_eof.c:38,6'
          Dst:             realloc
        - Src:             './../tools/fread_to_eof.c:43,10'
          Dst:             fopen
        - Src:             './../tools/fread_to_eof.c:49,9'
          Dst:             feof
        - Src:             './../tools/fread_to_eof.c:50,14'
          Dst:             fread
        - Src:             './../tools/fread_to_eof.c:51,7'
          Dst:             ferror
        - Src:             './../tools/fread_to_eof.c:59,3'
          Dst:             fclose
    - functionName:    feof
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ferror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    npa_unlock_esign
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 273
      functionLinenumberEnd: 343
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          211
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - npa_cache_or_free
        - npa_get_cached_ca_params
        - npa_get_cached_pace_params
        - npa_get_cached_ta_params
        - perform_chip_authentication
        - perform_pace
        - perform_terminal_authentication
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:291,2'
          Dst:             sc_do_log
        - Src:             'card-npa.c:295,2'
          Dst:             npa_get_cached_pace_params
        - Src:             'card-npa.c:296,2'
          Dst:             npa_get_cached_ta_params
        - Src:             'card-npa.c:297,2'
          Dst:             npa_get_cached_ca_params
        - Src:             'card-npa.c:301,3'
          Dst:             sc_do_log
        - Src:             'card-npa.c:311,6'
          Dst:             perform_pace
        - Src:             'card-npa.c:313,3'
          Dst:             sc_do_log
        - Src:             'card-npa.c:318,3'
          Dst:             sc_do_log
        - Src:             'card-npa.c:320,7'
          Dst:             perform_terminal_authentication
        - Src:             'card-npa.c:323,4'
          Dst:             sc_do_log
        - Src:             'card-npa.c:326,7'
          Dst:             perform_chip_authentication
        - Src:             'card-npa.c:328,4'
          Dst:             sc_do_log
        - Src:             'card-npa.c:331,3'
          Dst:             sc_do_log
        - Src:             'card-npa.c:335,2'
          Dst:             npa_cache_or_free
    - functionName:    npa_init_apps
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 356
      functionLinenumberEnd: 389
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          105
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - calloc
        - sc_free_apps
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:367,2'
          Dst:             sc_free_apps
        - Src:             'card-npa.c:373,29'
          Dst:             calloc
    - functionName:    npa_load_options
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 82
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         49
      ICount:          261
      EdgeCount:       64
      CyclomaticComplexity: 17
      functionsReached:
        - fread_to_eof
        - sc_do_log
        - scconf_find_blocks
        - scconf_get_str
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:94,18'
          Dst:             scconf_find_blocks
        - Src:             'card-npa.c:101,21'
          Dst:             scconf_get_str
        - Src:             'card-npa.c:105,12'
          Dst:             scconf_get_str
        - Src:             'card-npa.c:106,10'
          Dst:             fread_to_eof
        - Src:             'card-npa.c:109,6'
          Dst:             sc_do_log
        - Src:             'card-npa.c:114,12'
          Dst:             scconf_get_str
        - Src:             'card-npa.c:115,10'
          Dst:             fread_to_eof
        - Src:             'card-npa.c:118,6'
          Dst:             sc_do_log
        - Src:             'card-npa.c:123,12'
          Dst:             scconf_get_str
        - Src:             'card-npa.c:124,10'
          Dst:             fread_to_eof
        - Src:             'card-npa.c:127,6'
          Dst:             sc_do_log
    - functionName:    npa_drv_data_create
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 56
      functionLinenumberEnd: 58
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:57,34'
          Dst:             calloc
    - functionName:    npa_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 792
      functionLinenumberEnd: 806
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_format_apdu
        - sc_get_mf_path
        - sc_select_file
        - sc_sm_stop
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:795,2'
          Dst:             sc_sm_stop
        - Src:             'card-npa.c:801,3'
          Dst:             sc_format_apdu
        - Src:             'card-npa.c:803,21'
          Dst:             sc_transmit_apdu
        - Src:             'card-npa.c:804,4'
          Dst:             sc_do_log
        - Src:             'card-npa.c:806,30'
          Dst:             sc_get_mf_path
        - Src:             'card-npa.c:806,9'
          Dst:             sc_select_file
    - functionName:    npa_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 703
      functionLinenumberEnd: 788
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         45
      ICount:          251
      EdgeCount:       54
      CyclomaticComplexity: 11
      functionsReached:
        - npa_pace_verify
        - npa_pin_cmd_get_info
        - npa_reset_retry_counter
        - npa_standard_pin_cmd
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-npa.c:716,2'
          Branch Sides:    []
        - Branch String:   'card-npa.c:748,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-npa.c:718,8'
          Dst:             npa_pin_cmd_get_info
        - Src:             'card-npa.c:734,9'
          Dst:             npa_pace_verify
        - Src:             'card-npa.c:740,8'
          Dst:             npa_reset_retry_counter
        - Src:             'card-npa.c:753,10'
          Dst:             npa_pace_verify
        - Src:             'card-npa.c:766,10'
          Dst:             npa_standard_pin_cmd
        - Src:             'card-npa.c:773,9'
          Dst:             npa_reset_retry_counter
        - Src:             'card-npa.c:788,2'
          Dst:             sc_strerror
        - Src:             'card-npa.c:788,2'
          Dst:             sc_do_log_color
        - Src:             'card-npa.c:788,2'
          Dst:             sc_do_log
    - functionName:    npa_reset_retry_counter
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 633
      functionLinenumberEnd: 699
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          243
      EdgeCount:       48
      CyclomaticComplexity: 14
      functionsReached:
        - EVP_read_pw_string_min
        - sc_do_log
        - sc_do_log_openssl
        - sc_format_apdu
        - sc_mem_clear
        - sc_transmit_apdu
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:643,5'
          Dst:             sc_do_log
        - Src:             'card-npa.c:646,12'
          Dst:             EVP_read_pw_string_min
        - Src:             'card-npa.c:649,5'
          Dst:             sc_do_log_openssl
        - Src:             'card-npa.c:650,5'
          Dst:             sc_do_log
        - Src:             'card-npa.c:654,14'
          Dst:             strlen
        - Src:             'card-npa.c:666,2'
          Dst:             sc_format_apdu
        - Src:             'card-npa.c:691,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-npa.c:694,3'
          Dst:             sc_mem_clear
    - functionName:    EVP_read_pw_string_min
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    npa_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 451
      functionLinenumberEnd: 471
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          91
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:456,12'
          Dst:             sc_get_iso7816_driver
    - functionName:    npa_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 347
      functionLinenumberEnd: 352
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - npa_drv_data_free
        - sc_sm_stop
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:348,2'
          Dst:             sc_sm_stop
        - Src:             'card-npa.c:349,2'
          Dst:             npa_drv_data_free
    - functionName:    npa_init
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 392
      functionLinenumberEnd: 446
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          153
      EdgeCount:       29
      CyclomaticComplexity: 10
      functionsReached:
        - _sc_card_add_ec_alg
        - npa_drv_data_create
        - npa_finish
        - npa_init_apps
        - npa_load_options
        - npa_unlock_esign
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:411,6'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-npa.c:414,6'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-npa.c:417,6'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-npa.c:423,6'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-npa.c:427,19'
          Dst:             npa_drv_data_create
        - Src:             'card-npa.c:429,3'
          Dst:             npa_finish
        - Src:             'card-npa.c:433,6'
          Dst:             npa_load_options
        - Src:             'card-npa.c:437,2'
          Dst:             npa_init_apps
        - Src:             'card-npa.c:441,20'
          Dst:             npa_unlock_esign
        - Src:             'card-npa.c:442,3'
          Dst:             sc_do_log
    - functionName:    npa_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 153
      functionLinenumberEnd: 168
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          85
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - memcmp
        - sc_format_apdu_ex
        - sc_get_mf_path
        - sc_read_binary
        - sc_select_file
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:158,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-npa.c:160,41'
          Dst:             sc_get_mf_path
        - Src:             'card-npa.c:160,20'
          Dst:             sc_select_file
        - Src:             'card-npa.c:161,21'
          Dst:             sc_transmit_apdu
        - Src:             'card-npa.c:163,29'
          Dst:             sc_read_binary
        - Src:             'card-npa.c:164,12'
          Dst:             memcmp
    - functionName:    sc_get_npa_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-npa.c'
      linkageType:     InternalLinkage
      functionLinenumber: 810
      functionLinenumberEnd: 821
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-npa.c:811,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    esteid_get_pin_remaining_tries
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          264
      EdgeCount:       56
      CyclomaticComplexity: 12
      functionsReached:
        - esteid_select_file
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2018.c:210,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:214,3'
          Dst:             esteid_select_file
        - Src:             'card-esteid2018.c:214,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:214,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:216,3'
          Dst:             esteid_select_file
        - Src:             'card-esteid2018.c:216,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:216,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:218,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:218,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:218,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:221,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2018.c:222,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2018.c:222,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:222,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:222,2'
          Dst:             sc_check_sw
        - Src:             'card-esteid2018.c:222,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:222,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:224,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:224,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:224,3'
          Dst:             sc_do_log
    - functionName:    esteid_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         91
      ICount:          520
      EdgeCount:       112
      CyclomaticComplexity: 23
      functionsReached:
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2018.c:101,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:105,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:105,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:105,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:108,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:108,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:108,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:112,23'
          Dst:             memcmp
        - Src:             'card-esteid2018.c:113,4'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2018.c:114,4'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2018.c:114,4'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:114,4'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:114,4'
          Dst:             sc_check_sw
        - Src:             'card-esteid2018.c:114,4'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:114,4'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:116,4'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2018.c:117,4'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2018.c:117,4'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:117,4'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:117,4'
          Dst:             sc_check_sw
        - Src:             'card-esteid2018.c:117,4'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:117,4'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:119,4'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2018.c:120,4'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2018.c:120,4'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:120,4'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:120,4'
          Dst:             sc_check_sw
        - Src:             'card-esteid2018.c:120,4'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:120,4'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:123,12'
          Dst:             sc_file_new
        - Src:             'card-esteid2018.c:125,6'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:125,6'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:125,6'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:128,6'
          Dst:             sc_file_free
        - Src:             'card-esteid2018.c:132,5'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:132,5'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:137,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:137,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:137,2'
          Dst:             sc_do_log
    - functionName:    esteid_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 299
      functionLinenumberEnd: 300
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - gp_select_aid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2018.c:300,9'
          Dst:             gp_select_aid
    - functionName:    esteid_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 232
      functionLinenumberEnd: 269
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         41
      ICount:          308
      EdgeCount:       50
      CyclomaticComplexity: 11
      functionsReached:
        - esteid_get_pin_remaining_tries
        - esteid_select_file
        - sc_do_log
        - sc_do_log_color
        - sc_mem_clear
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2018.c:235,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:236,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:238,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:239,7'
          Dst:             esteid_get_pin_remaining_tries
        - Src:             'card-esteid2018.c:240,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:240,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:245,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:245,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:245,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:254,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:254,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:257,4'
          Dst:             esteid_select_file
        - Src:             'card-esteid2018.c:257,4'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:257,4'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:264,3'
          Dst:             sc_mem_clear
        - Src:             'card-esteid2018.c:265,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:265,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:265,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:268,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:268,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:268,2'
          Dst:             sc_do_log
    - functionName:    esteid_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 179
      functionLinenumberEnd: 204
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          280
      EdgeCount:       60
      CyclomaticComplexity: 14
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2018.c:186,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:188,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:188,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:188,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:196,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2018.c:198,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2018.c:201,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2018.c:201,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:201,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:201,2'
          Dst:             sc_check_sw
        - Src:             'card-esteid2018.c:201,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:201,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:203,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:203,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:203,2'
          Dst:             sc_do_log
    - functionName:    esteid_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          303
      EdgeCount:       53
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-esteid2018.c:155,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-esteid2018.c:144,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:147,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:147,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:147,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:149,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:152,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:152,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:152,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:168,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:168,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:168,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:172,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:172,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:176,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:176,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:176,2'
          Dst:             sc_do_log
    - functionName:    esteid_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 293
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          28
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    esteid_init
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 271
      functionLinenumberEnd: 291
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          128
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - _sc_card_add_ec_alg
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2018.c:275,9'
          Dst:             calloc
        - Src:             'card-esteid2018.c:277,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:277,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:277,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2018.c:288,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-esteid2018.c:290,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2018.c:290,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2018.c:290,2'
          Dst:             sc_do_log
    - functionName:    esteid_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 91
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_match_atr
        - gp_select_aid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2018.c:84,10'
          Dst:             _sc_match_atr
        - Src:             'card-esteid2018.c:86,16'
          Dst:             gp_select_aid
    - functionName:    sc_get_esteid2018_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 303
      functionLinenumberEnd: 321
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2018.c:304,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    esteid_get_pin_info
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 185
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         49
      ICount:          327
      EdgeCount:       61
      CyclomaticComplexity: 14
      functionsReached:
        - sc_asn1_find_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2025.c:166,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:168,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2025.c:169,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2025.c:169,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:169,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:169,2'
          Dst:             sc_check_sw
        - Src:             'card-esteid2025.c:169,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:169,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:171,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:171,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:171,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:173,18'
          Dst:             sc_asn1_find_tag
        - Src:             'card-esteid2025.c:175,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:175,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:175,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:180,8'
          Dst:             sc_asn1_find_tag
        - Src:             'card-esteid2025.c:184,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:184,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:184,2'
          Dst:             sc_do_log
    - functionName:    esteid_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 215
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - gp_select_aid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2025.c:215,9'
          Dst:             gp_select_aid
    - functionName:    esteid_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 189
      functionLinenumberEnd: 197
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          129
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - esteid_get_pin_info
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2025.c:190,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:191,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:193,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:194,3'
          Dst:             esteid_get_pin_info
        - Src:             'card-esteid2025.c:194,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:194,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:194,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:196,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:196,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:196,2'
          Dst:             sc_do_log
    - functionName:    esteid_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 137
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          305
      EdgeCount:       68
      CyclomaticComplexity: 15
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2025.c:142,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:144,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:144,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:144,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:150,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2025.c:151,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2025.c:151,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:151,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:151,2'
          Dst:             sc_check_sw
        - Src:             'card-esteid2025.c:151,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:151,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:153,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2025.c:154,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2025.c:154,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:154,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:154,2'
          Dst:             sc_check_sw
        - Src:             'card-esteid2025.c:154,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:154,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:156,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:156,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:156,2'
          Dst:             sc_do_log
    - functionName:    esteid_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 133
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          290
      EdgeCount:       59
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2025.c:114,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:117,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:117,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:117,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:119,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:123,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2025.c:126,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2025.c:128,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:128,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:128,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:130,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2025.c:130,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:130,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:130,2'
          Dst:             sc_check_sw
        - Src:             'card-esteid2025.c:130,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:130,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:132,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:132,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:132,2'
          Dst:             sc_do_log
    - functionName:    esteid_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 77
      functionLinenumberEnd: 105
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          284
      EdgeCount:       56
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2025.c:84,2'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:88,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:88,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:88,3'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:91,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-esteid2025.c:92,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-esteid2025.c:92,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:92,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:92,2'
          Dst:             sc_check_sw
        - Src:             'card-esteid2025.c:92,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:92,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:94,10'
          Dst:             sc_file_new
        - Src:             'card-esteid2025.c:96,4'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:96,4'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:96,4'
          Dst:             sc_do_log
        - Src:             'card-esteid2025.c:99,4'
          Dst:             sc_file_free
        - Src:             'card-esteid2025.c:101,3'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:101,3'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:104,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:104,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:104,2'
          Dst:             sc_do_log
    - functionName:    esteid_init
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 201
      functionLinenumberEnd: 209
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          58
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_card_add_ec_alg
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2025.c:207,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-esteid2025.c:209,2'
          Dst:             sc_strerror
        - Src:             'card-esteid2025.c:209,2'
          Dst:             sc_do_log_color
        - Src:             'card-esteid2025.c:209,2'
          Dst:             sc_do_log
    - functionName:    esteid_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 65
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_match_atr
        - gp_select_aid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2025.c:66,10'
          Dst:             _sc_match_atr
        - Src:             'card-esteid2025.c:68,16'
          Dst:             gp_select_aid
    - functionName:    sc_get_esteid2025_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 220
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          40
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-esteid2025.c:221,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    idprime_get_pin_id
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 813
      functionLinenumberEnd: 821
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          49
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idprime_final_iterator
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 780
      functionLinenumberEnd: 782
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_iterator_stop
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:781,2'
          Dst:             list_iterator_stop
    - functionName:    idprime_fill_prkey_info
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 787
      functionLinenumberEnd: 809
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          109
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - list_iterator_next
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:807,11'
          Dst:             list_iterator_next
    - functionName:    idprime_get_init_and_get_count
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 768
      functionLinenumberEnd: 776
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - list_iterator_next
        - list_iterator_start
        - list_size
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:772,12'
          Dst:             list_size
        - Src:             'card-idprime.c:773,2'
          Dst:             list_iterator_start
        - Src:             'card-idprime.c:774,11'
          Dst:             list_iterator_next
    - functionName:    idprime_get_token_name
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 856
      functionLinenumberEnd: 906
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         67
      ICount:          446
      EdgeCount:       83
      CyclomaticComplexity: 18
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:864,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:867,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:867,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:867,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:871,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:871,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:871,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:877,3'
          Dst:             sc_file_free
        - Src:             'card-idprime.c:878,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:878,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:878,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:884,3'
          Dst:             sc_file_free
        - Src:             'card-idprime.c:885,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:885,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:885,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:887,2'
          Dst:             sc_file_free
        - Src:             'card-idprime.c:891,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:891,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:891,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:897,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:897,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:897,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:905,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:905,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:905,2'
          Dst:             sc_do_log
    - functionName:    idprime_get_serial
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 826
      functionLinenumberEnd: 853
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          246
      EdgeCount:       45
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:832,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:835,2'
          Dst:             sc_format_path
        - Src:             'card-idprime.c:838,3'
          Dst:             sc_file_free
        - Src:             'card-idprime.c:839,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:839,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:839,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:843,2'
          Dst:             sc_file_free
        - Src:             'card-idprime.c:845,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:845,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:845,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:847,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:847,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:847,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:852,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:852,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:852,2'
          Dst:             sc_do_log
    - functionName:    idprime_add_keyref_to_list
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 207
      functionLinenumberEnd: 211
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_append
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:208,6'
          Dst:             list_append
    - functionName:    idprime_add_container_to_list
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 189
      functionLinenumberEnd: 193
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_append
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:190,6'
          Dst:             list_append
    - functionName:    idprime_process_index
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 427
      functionLinenumberEnd: 559
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         85
      ICount:          621
      EdgeCount:       109
      CyclomaticComplexity: 26
      functionsReached:
        - bebytes2ushort
        - idprime_add_object_to_list
        - list_seek
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-idprime.c:495,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-idprime.c:433,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:464,23'
          Dst:             bebytes2ushort
        - Src:             'card-idprime.c:465,3'
          Dst:             sc_dump_hex
        - Src:             'card-idprime.c:465,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:468,9'
          Dst:             memcmp
        - Src:             'card-idprime.c:468,46'
          Dst:             memcmp
        - Src:             'card-idprime.c:469,8'
          Dst:             memcmp
        - Src:             'card-idprime.c:481,40'
          Dst:             list_seek
        - Src:             'card-idprime.c:484,5'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:489,6'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:490,6'
          Dst:             idprime_add_object_to_list
        - Src:             'card-idprime.c:509,54'
          Dst:             list_seek
        - Src:             'card-idprime.c:512,7'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:513,7'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:514,7'
          Dst:             idprime_add_object_to_list
        - Src:             'card-idprime.c:530,5'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:533,5'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:537,4'
          Dst:             idprime_add_object_to_list
        - Src:             'card-idprime.c:540,15'
          Dst:             memcmp
        - Src:             'card-idprime.c:540,55'
          Dst:             memcmp
        - Src:             'card-idprime.c:543,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:544,15'
          Dst:             memcmp
        - Src:             'card-idprime.c:544,58'
          Dst:             memcmp
        - Src:             'card-idprime.c:545,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:547,14'
          Dst:             memcmp
        - Src:             'card-idprime.c:548,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:549,14'
          Dst:             memcmp
        - Src:             'card-idprime.c:550,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:551,14'
          Dst:             memcmp
        - Src:             'card-idprime.c:552,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:559,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:559,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:559,2'
          Dst:             sc_do_log
    - functionName:    idprime_add_object_to_list
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 268
      functionLinenumberEnd: 272
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_append
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:269,6'
          Dst:             list_append
    - functionName:    idprime_process_keyrefmap
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 379
      functionLinenumberEnd: 423
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          208
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - idprime_add_keyref_to_list
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:414,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:416,12'
          Dst:             idprime_add_keyref_to_list
        - Src:             'card-idprime.c:423,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:423,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:423,2'
          Dst:             sc_do_log
    - functionName:    idprime_process_containermap
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 312
      functionLinenumberEnd: 375
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         49
      ICount:          316
      EdgeCount:       63
      CyclomaticComplexity: 16
      functionsReached:
        - idprime_add_container_to_list
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:318,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:365,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:367,12'
          Dst:             idprime_add_container_to_list
        - Src:             'card-idprime.c:375,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:375,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:375,2'
          Dst:             sc_do_log
    - functionName:    idprime_select_idprime
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 278
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idprime_select_file_by_path
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 283
      functionLinenumberEnd: 309
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          182
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - idprime_select_idprime
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:289,6'
          Dst:             idprime_select_idprime
        - Src:             'card-idprime.c:291,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:291,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:291,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:295,2'
          Dst:             sc_format_path
        - Src:             'card-idprime.c:299,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:299,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:299,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:307,2'
          Dst:             sc_file_free
        - Src:             'card-idprime.c:308,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:308,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:308,2'
          Dst:             sc_do_log
    - functionName:    idprime_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1226
      functionLinenumberEnd: 1255
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          170
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:1232,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1236,3'
          Dst:             sc_format_apdu
        - Src:             'card-idprime.c:1240,3'
          Dst:             sc_format_apdu
        - Src:             'card-idprime.c:1245,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-idprime.c:1246,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1246,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1248,6'
          Dst:             sc_check_sw
        - Src:             'card-idprime.c:1249,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1249,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1254,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1254,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1254,2'
          Dst:             sc_do_log
    - functionName:    idprime_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1181
      functionLinenumberEnd: 1222
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          255
      EdgeCount:       43
      CyclomaticComplexity: 11
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:1190,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1192,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1201,2'
          Dst:             sc_format_apdu
        - Src:             'card-idprime.c:1210,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'card-idprime.c:1213,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-idprime.c:1214,2'
          Dst:             sc_mem_clear
        - Src:             'card-idprime.c:1216,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1216,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1219,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1219,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1219,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1221,3'
          Dst:             sc_check_sw
        - Src:             'card-idprime.c:1221,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1221,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1221,3'
          Dst:             sc_do_log
    - functionName:    idprime_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1103
      functionLinenumberEnd: 1174
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          435
      EdgeCount:       70
      CyclomaticComplexity: 16
      functionsReached:
        - iso7816_fixup_transceive_length
        - memcmp
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:1113,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1123,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1123,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1123,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1135,2'
          Dst:             sc_format_apdu
        - Src:             'card-idprime.c:1144,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-idprime.c:1145,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1145,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1148,33'
          Dst:             memcmp
        - Src:             'card-idprime.c:1149,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1150,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1150,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1150,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1155,2'
          Dst:             sc_format_apdu
        - Src:             'card-idprime.c:1159,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'card-idprime.c:1164,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-idprime.c:1165,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1165,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1168,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1168,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1168,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1170,6'
          Dst:             sc_check_sw
        - Src:             'card-idprime.c:1171,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1171,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1173,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1173,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1173,2'
          Dst:             sc_do_log
    - functionName:    idprime_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1026
      functionLinenumberEnd: 1097
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          335
      EdgeCount:       78
      CyclomaticComplexity: 18
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-idprime.c:1043,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-idprime.c:1035,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:1096,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:1096,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:1096,2'
          Dst:             sc_do_log
    - functionName:    idprime_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 909
      functionLinenumberEnd: 937
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          174
      EdgeCount:       27
      CyclomaticComplexity: 4
      functionsReached:
        - idprime_fill_prkey_info
        - idprime_final_iterator
        - idprime_get_init_and_get_count
        - idprime_get_pin_id
        - idprime_get_serial
        - idprime_get_token_name
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-idprime.c:918,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-idprime.c:912,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:913,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:916,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:916,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:916,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:920,11'
          Dst:             idprime_get_serial
        - Src:             'card-idprime.c:922,11'
          Dst:             idprime_get_token_name
        - Src:             'card-idprime.c:924,11'
          Dst:             idprime_get_init_and_get_count
        - Src:             'card-idprime.c:927,11'
          Dst:             idprime_fill_prkey_info
        - Src:             'card-idprime.c:930,11'
          Dst:             idprime_final_iterator
        - Src:             'card-idprime.c:932,11'
          Dst:             idprime_get_pin_id
        - Src:             'card-idprime.c:936,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:936,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:936,2'
          Dst:             sc_do_log
    - functionName:    idprime_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 942
      functionLinenumberEnd: 962
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          92
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:946,2'
          Dst:             sc_do_log
    - functionName:    idprime_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 968
      functionLinenumberEnd: 1021
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          400
      EdgeCount:       75
      CyclomaticComplexity: 19
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:974,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:985,4'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:985,4'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:985,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:990,5'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:990,5'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:990,5'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:996,4'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:996,4'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:996,4'
          Dst:             sc_do_log
    - functionName:    idprime_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 743
      functionLinenumberEnd: 750
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          37
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - idprime_free_private_data
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:746,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:748,3'
          Dst:             idprime_free_private_data
    - functionName:    idprime_free_private_data
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 225
      functionLinenumberEnd: 231
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_destroy
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:227,2'
          Dst:             list_destroy
        - Src:             'card-idprime.c:228,2'
          Dst:             list_destroy
        - Src:             'card-idprime.c:229,2'
          Dst:             list_destroy
    - functionName:    idprime_init
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 565
      functionLinenumberEnd: 740
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         128
      ICount:          799
      EdgeCount:       153
      CyclomaticComplexity: 27
      functionsReached:
        - _sc_card_add_ec_alg
        - _sc_card_add_rsa_alg
        - idprime_free_private_data
        - idprime_new_private_data
        - idprime_process_containermap
        - idprime_process_index
        - idprime_process_keyrefmap
        - idprime_select_file_by_path
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-idprime.c:583,3'
          Branch Sides:    []
        - Branch String:   'card-idprime.c:673,2'
          Branch Sides:    []
        - Branch String:   'card-idprime.c:708,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-idprime.c:573,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:576,2'
          Dst:             sc_format_apdu
        - Src:             'card-idprime.c:580,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-idprime.c:585,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:588,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:591,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:594,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:597,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:601,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:606,2'
          Dst:             sc_format_apdu
        - Src:             'card-idprime.c:610,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-idprime.c:614,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:618,9'
          Dst:             idprime_new_private_data
        - Src:             'card-idprime.c:620,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:620,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:620,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:624,6'
          Dst:             idprime_select_file_by_path
        - Src:             'card-idprime.c:626,3'
          Dst:             idprime_free_private_data
        - Src:             'card-idprime.c:629,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:629,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:629,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:632,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:634,6'
          Dst:             idprime_process_containermap
        - Src:             'card-idprime.c:636,3'
          Dst:             idprime_free_private_data
        - Src:             'card-idprime.c:637,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:637,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:637,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:641,12'
          Dst:             idprime_select_file_by_path
        - Src:             'card-idprime.c:642,4'
          Dst:             idprime_free_private_data
        - Src:             'card-idprime.c:645,4'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:645,4'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:645,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:648,12'
          Dst:             idprime_process_keyrefmap
        - Src:             'card-idprime.c:649,4'
          Dst:             idprime_free_private_data
        - Src:             'card-idprime.c:650,4'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:650,4'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:650,4'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:655,6'
          Dst:             idprime_select_file_by_path
        - Src:             'card-idprime.c:657,3'
          Dst:             idprime_free_private_data
        - Src:             'card-idprime.c:660,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:660,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:660,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:663,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:665,6'
          Dst:             idprime_process_index
        - Src:             'card-idprime.c:667,3'
          Dst:             idprime_free_private_data
        - Src:             'card-idprime.c:668,3'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:668,3'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:668,3'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:706,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-idprime.c:707,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-idprime.c:711,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-idprime.c:714,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-idprime.c:727,3'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-idprime.c:728,3'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-idprime.c:729,3'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-idprime.c:739,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:739,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:739,2'
          Dst:             sc_do_log
    - functionName:    idprime_new_private_data
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 235
      functionLinenumberEnd: 265
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         25
      ICount:          122
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - calloc
        - idprime_container_list_meter
        - idprime_container_list_seeker
        - idprime_free_private_data
        - idprime_keyref_list_meter
        - idprime_keyref_list_seeker
        - idprime_list_meter
        - list_attributes_copy
        - list_attributes_seeker
        - list_init
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:238,9'
          Dst:             calloc
        - Src:             'card-idprime.c:243,6'
          Dst:             list_init
        - Src:             'card-idprime.c:244,6'
          Dst:             list_attributes_copy
        - Src:             'card-idprime.c:244,6'
          Dst:             idprime_list_meter
        - Src:             'card-idprime.c:245,3'
          Dst:             idprime_free_private_data
        - Src:             'card-idprime.c:250,6'
          Dst:             list_init
        - Src:             'card-idprime.c:251,6'
          Dst:             list_attributes_copy
        - Src:             'card-idprime.c:251,6'
          Dst:             idprime_container_list_meter
        - Src:             'card-idprime.c:252,6'
          Dst:             list_attributes_seeker
        - Src:             'card-idprime.c:252,6'
          Dst:             idprime_container_list_seeker
        - Src:             'card-idprime.c:253,3'
          Dst:             idprime_free_private_data
        - Src:             'card-idprime.c:258,6'
          Dst:             list_init
        - Src:             'card-idprime.c:259,6'
          Dst:             list_attributes_copy
        - Src:             'card-idprime.c:259,6'
          Dst:             idprime_keyref_list_meter
        - Src:             'card-idprime.c:260,6'
          Dst:             list_attributes_seeker
        - Src:             'card-idprime.c:260,6'
          Dst:             idprime_keyref_list_seeker
        - Src:             'card-idprime.c:261,3'
          Dst:             idprime_free_private_data
    - functionName:    idprime_list_meter
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idprime_container_list_meter
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 180
      functionLinenumberEnd: 181
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idprime_container_list_seeker
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 196
      functionLinenumberEnd: 204
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          49
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idprime_keyref_list_meter
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 184
      functionLinenumberEnd: 185
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idprime_keyref_list_seeker
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          49
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    idprime_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 754
      functionLinenumberEnd: 764
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          79
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_match_atr
        - idprime_select_file_by_path
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:757,2'
          Dst:             sc_do_log
        - Src:             'card-idprime.c:758,6'
          Dst:             _sc_match_atr
        - Src:             'card-idprime.c:762,6'
          Dst:             idprime_select_file_by_path
        - Src:             'card-idprime.c:763,2'
          Dst:             sc_strerror
        - Src:             'card-idprime.c:763,2'
          Dst:             sc_do_log_color
        - Src:             'card-idprime.c:763,2'
          Dst:             sc_do_log
    - functionName:    sc_get_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1258
      functionLinenumberEnd: 1277
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:1260,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_get_idprime_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1281
      functionLinenumberEnd: 1282
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-idprime.c:1282,9'
          Dst:             sc_get_driver
    - functionName:    edo_select_ef
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 154
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          121
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:155,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:157,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-edo.c:158,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-edo.c:158,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:158,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:159,2'
          Dst:             sc_check_sw
        - Src:             'card-edo.c:159,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:159,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:161,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:161,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:161,2'
          Dst:             sc_do_log
    - functionName:    edo_select_df
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 143
      functionLinenumberEnd: 151
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          121
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:144,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:146,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-edo.c:147,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-edo.c:147,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:147,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:148,2'
          Dst:             sc_check_sw
        - Src:             'card-edo.c:148,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:148,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:150,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:150,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:150,2'
          Dst:             sc_do_log
    - functionName:    edo_select_mf
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 132
      functionLinenumberEnd: 140
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          118
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:133,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:135,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-edo.c:136,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-edo.c:136,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:136,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:137,2'
          Dst:             sc_check_sw
        - Src:             'card-edo.c:137,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:137,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:139,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:139,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:139,2'
          Dst:             sc_do_log
    - functionName:    edo_select_path
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 189
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          275
      EdgeCount:       62
      CyclomaticComplexity: 14
      functionsReached:
        - edo_select_df
        - edo_select_ef
        - edo_select_mf
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:172,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:175,4'
          Dst:             edo_select_mf
        - Src:             'card-edo.c:175,4'
          Dst:             sc_strerror
        - Src:             'card-edo.c:175,4'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:177,4'
          Dst:             edo_select_df
        - Src:             'card-edo.c:177,4'
          Dst:             sc_strerror
        - Src:             'card-edo.c:177,4'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:179,4'
          Dst:             edo_select_ef
        - Src:             'card-edo.c:179,4'
          Dst:             sc_strerror
        - Src:             'card-edo.c:179,4'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:181,4'
          Dst:             sc_strerror
        - Src:             'card-edo.c:181,4'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:181,4'
          Dst:             sc_do_log
        - Src:             'card-edo.c:187,3'
          Dst:             sc_strerror
        - Src:             'card-edo.c:187,3'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:187,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:188,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:188,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:188,2'
          Dst:             sc_do_log
    - functionName:    edo_select_name
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          71
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - iso7816_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:166,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:167,2'
          Dst:             iso7816_select_aid
        - Src:             'card-edo.c:167,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:167,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:167,2'
          Dst:             sc_do_log
    - functionName:    edo_get_can
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 72
      functionLinenumberEnd: 100
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         40
      ICount:          231
      EdgeCount:       50
      CyclomaticComplexity: 12
      functionsReached:
        - getenv
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - scconf_find_blocks
        - scconf_get_str
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:73,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:76,8'
          Dst:             getenv
        - Src:             'card-edo.c:80,28'
          Dst:             scconf_find_blocks
        - Src:             'card-edo.c:84,16'
          Dst:             scconf_get_str
        - Src:             'card-edo.c:90,19'
          Dst:             strlen
        - Src:             'card-edo.c:91,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:92,3'
          Dst:             sc_strerror
        - Src:             'card-edo.c:92,3'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:92,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:99,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:99,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:99,2'
          Dst:             sc_do_log
    - functionName:    edo_unlock
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 103
      functionLinenumberEnd: 123
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          158
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - edo_get_can
        - perform_pace
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:104,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:112,20'
          Dst:             edo_get_can
        - Src:             'card-edo.c:113,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:114,3'
          Dst:             sc_strerror
        - Src:             'card-edo.c:114,3'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:114,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:117,20'
          Dst:             perform_pace
        - Src:             'card-edo.c:118,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:119,3'
          Dst:             sc_strerror
        - Src:             'card-edo.c:119,3'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:119,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:122,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:122,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:122,2'
          Dst:             sc_do_log
    - functionName:    edo_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 300
      functionLinenumberEnd: 302
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - edo_unlock
        - sc_sm_stop
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:301,2'
          Dst:             sc_sm_stop
        - Src:             'card-edo.c:302,9'
          Dst:             edo_unlock
    - functionName:    edo_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 237
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          126
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_asn1_sig_value_sequence_to_rs
        - sc_do_log
        - sc_do_log_color
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:238,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:240,2'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-edo.c:240,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:240,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:241,2'
          Dst:             sc_asn1_sig_value_sequence_to_rs
        - Src:             'card-edo.c:241,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:241,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:242,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:242,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:242,2'
          Dst:             sc_do_log
    - functionName:    edo_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          228
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_select_file
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:253,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:258,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-edo.c:260,3'
          Dst:             sc_strerror
        - Src:             'card-edo.c:260,3'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:260,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:262,2'
          Dst:             sc_select_file
        - Src:             'card-edo.c:262,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:262,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:263,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-edo.c:263,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:263,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:264,2'
          Dst:             sc_check_sw
        - Src:             'card-edo.c:264,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:264,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:266,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:266,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:266,2'
          Dst:             sc_do_log
    - functionName:    edo_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 200
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          379
      EdgeCount:       74
      CyclomaticComplexity: 14
      functionsReached:
        - edo_select_name
        - edo_select_path
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-edo.c:204,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-edo.c:201,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:208,5'
          Dst:             edo_select_name
        - Src:             'card-edo.c:208,5'
          Dst:             sc_strerror
        - Src:             'card-edo.c:208,5'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:210,5'
          Dst:             edo_select_path
        - Src:             'card-edo.c:210,5'
          Dst:             sc_strerror
        - Src:             'card-edo.c:210,5'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:213,4'
          Dst:             edo_select_name
        - Src:             'card-edo.c:213,4'
          Dst:             sc_strerror
        - Src:             'card-edo.c:213,4'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:216,4'
          Dst:             sc_strerror
        - Src:             'card-edo.c:216,4'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:216,4'
          Dst:             sc_do_log
        - Src:             'card-edo.c:221,4'
          Dst:             sc_strerror
        - Src:             'card-edo.c:221,4'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:221,4'
          Dst:             sc_do_log
        - Src:             'card-edo.c:222,21'
          Dst:             sc_file_new
        - Src:             'card-edo.c:223,4'
          Dst:             sc_strerror
        - Src:             'card-edo.c:223,4'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:223,4'
          Dst:             sc_do_log
        - Src:             'card-edo.c:225,3'
          Dst:             sc_strerror
        - Src:             'card-edo.c:225,3'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:228,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:228,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:228,2'
          Dst:             sc_do_log
    - functionName:    edo_init
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 276
      functionLinenumberEnd: 297
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          157
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - _sc_card_add_ec_alg
        - edo_unlock
        - sc_do_log
        - sc_do_log_color
        - sc_enum_apps
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:277,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:285,3'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-edo.c:285,3'
          Dst:             sc_strerror
        - Src:             'card-edo.c:285,3'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:292,2'
          Dst:             sc_enum_apps
        - Src:             'card-edo.c:292,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:292,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:294,2'
          Dst:             edo_unlock
        - Src:             'card-edo.c:294,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:294,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:296,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:296,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:296,2'
          Dst:             sc_do_log
    - functionName:    edo_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 62
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          107
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_match_atr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:63,2'
          Dst:             sc_do_log
        - Src:             'card-edo.c:64,6'
          Dst:             _sc_match_atr
        - Src:             'card-edo.c:65,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:66,3'
          Dst:             sc_strerror
        - Src:             'card-edo.c:66,3'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:66,3'
          Dst:             sc_do_log
        - Src:             'card-edo.c:68,2'
          Dst:             sc_strerror
        - Src:             'card-edo.c:68,2'
          Dst:             sc_do_log_color
        - Src:             'card-edo.c:68,2'
          Dst:             sc_do_log
    - functionName:    sc_get_edo_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-edo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 306
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-edo.c:307,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    init_driver_data
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 82
      functionLinenumberEnd: 93
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          82
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:83,34'
          Dst:             calloc
        - Src:             'card-nqApplet.c:85,3'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:85,3'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:85,3'
          Dst:             sc_do_log
    - functionName:    select_nqapplet
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 110
      functionLinenumberEnd: 139
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          217
      EdgeCount:       48
      CyclomaticComplexity: 12
      functionsReached:
        - iso7816_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:117,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:119,7'
          Dst:             iso7816_select_aid
        - Src:             'card-nqApplet.c:120,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:120,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:123,3'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:123,3'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:123,3'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:138,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:138,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:138,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 455
      functionLinenumberEnd: 467
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          102
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - select_nqapplet
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:458,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:462,7'
          Dst:             select_nqapplet
        - Src:             'card-nqApplet.c:467,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:467,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:467,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 439
      functionLinenumberEnd: 451
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          59
      EdgeCount:       13
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-nqApplet.c:440,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    nqapplet_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 416
      functionLinenumberEnd: 436
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          188
      EdgeCount:       41
      CyclomaticComplexity: 10
      functionsReached:
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:417,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:422,6'
          Dst:             memcmp
        - Src:             'card-nqApplet.c:424,27'
          Dst:             sc_file_new
        - Src:             'card-nqApplet.c:426,5'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:426,5'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:426,5'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:430,4'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:430,4'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:430,4'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:435,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:435,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:435,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_get_data
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 391
      functionLinenumberEnd: 412
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          177
      EdgeCount:       39
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:395,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:397,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-nqApplet.c:400,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-nqApplet.c:401,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:401,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:408,8'
          Dst:             sc_check_sw
        - Src:             'card-nqApplet.c:411,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:411,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:411,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 374
      functionLinenumberEnd: 388
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          113
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:378,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:379,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:383,4'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:383,4'
          Dst:             sc_do_log_color
    - functionName:    nqapplet_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 341
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          205
      EdgeCount:       41
      CyclomaticComplexity: 10
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:346,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:350,3'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:350,3'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:356,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-nqApplet.c:359,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-nqApplet.c:360,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:360,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:367,8'
          Dst:             sc_check_sw
        - Src:             'card-nqApplet.c:370,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:370,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:370,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 301
      functionLinenumberEnd: 337
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          225
      EdgeCount:       45
      CyclomaticComplexity: 11
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:308,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:316,3'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:316,3'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:322,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-nqApplet.c:325,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-nqApplet.c:326,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:326,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:333,8'
          Dst:             sc_check_sw
        - Src:             'card-nqApplet.c:336,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:336,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:336,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 247
      functionLinenumberEnd: 256
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          94
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - select_nqapplet
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:248,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:250,11'
          Dst:             select_nqapplet
        - Src:             'card-nqApplet.c:252,3'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:252,3'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:255,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:255,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:255,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 223
      functionLinenumberEnd: 244
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          113
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:227,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:228,2'
          Dst:             sc_format_apdu
        - Src:             'card-nqApplet.c:233,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-nqApplet.c:234,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:234,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:236,6'
          Dst:             sc_check_sw
        - Src:             'card-nqApplet.c:237,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:237,2'
          Dst:             sc_do_log_color
    - functionName:    nqapplet_get_response
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 192
      functionLinenumberEnd: 220
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          250
      EdgeCount:       53
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_get_max_recv_size
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:197,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:198,12'
          Dst:             sc_get_max_recv_size
        - Src:             'card-nqApplet.c:198,12'
          Dst:             sc_get_max_recv_size
        - Src:             'card-nqApplet.c:200,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-nqApplet.c:203,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-nqApplet.c:204,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:204,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:209,3'
          Dst:             sc_check_sw
        - Src:             'card-nqApplet.c:209,3'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:209,3'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:209,3'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:216,8'
          Dst:             sc_check_sw
        - Src:             'card-nqApplet.c:219,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:219,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:219,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 179
      functionLinenumberEnd: 187
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          77
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:182,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:187,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:187,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:187,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_init
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 149
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          174
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - _sc_card_add_rsa_alg
        - init_driver_data
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - select_nqapplet
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:156,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:158,3'
          Dst:             select_nqapplet
        - Src:             'card-nqApplet.c:160,3'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:160,3'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:163,7'
          Dst:             init_driver_data
        - Src:             'card-nqApplet.c:164,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:164,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:170,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-nqApplet.c:175,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:175,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:175,2'
          Dst:             sc_do_log
    - functionName:    nqapplet_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 143
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:144,11'
          Dst:             _sc_match_atr
    - functionName:    sc_get_nqApplet_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 471
      functionLinenumberEnd: 525
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          67
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-nqApplet.c:472,33'
          Dst:             sc_get_iso7816_driver
    - functionName:    nqapplet_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 259
      functionLinenumberEnd: 298
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          240
      EdgeCount:       53
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-nqApplet.c:278,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-nqApplet.c:265,2'
          Dst:             sc_do_log
        - Src:             'card-nqApplet.c:271,3'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:271,3'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:281,4'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:281,4'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:288,4'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:288,4'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:294,3'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:294,3'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:297,2'
          Dst:             sc_strerror
        - Src:             'card-nqApplet.c:297,2'
          Dst:             sc_do_log_color
        - Src:             'card-nqApplet.c:297,2'
          Dst:             sc_do_log
    - functionName:    skeid_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-skeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 105
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          102
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-skeid.c:88,2'
          Dst:             sc_format_apdu
        - Src:             'card-skeid.c:92,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-skeid.c:93,2'
          Dst:             sc_strerror
        - Src:             'card-skeid.c:93,2'
          Dst:             sc_do_log_color
        - Src:             'card-skeid.c:101,3'
          Dst:             sc_do_log
    - functionName:    skeid_known_url
      functionSourceFile: '/src/opensc/src/libopensc/card-skeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 53
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          59
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - memcmp
        - sc_get_data
        - sc_path_set
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-skeid.c:62,2'
          Dst:             sc_path_set
        - Src:             'card-skeid.c:64,6'
          Dst:             sc_select_file
        - Src:             'card-skeid.c:65,6'
          Dst:             sc_get_data
        - Src:             'card-skeid.c:66,7'
          Dst:             memcmp
    - functionName:    skeid_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-skeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 174
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_format_path
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-skeid.c:172,2'
          Dst:             sc_format_path
        - Src:             'card-skeid.c:173,6'
          Dst:             sc_select_file
    - functionName:    skeid_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-skeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 165
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          80
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_restore_security_env
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-skeid.c:154,3'
          Dst:             sc_do_log
        - Src:             'card-skeid.c:162,6'
          Dst:             sc_restore_security_env
    - functionName:    skeid_init
      functionSourceFile: '/src/opensc/src/libopensc/card-skeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          120
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_card_add_rsa_alg
        - sc_do_log
        - sc_do_log_color
        - sc_get_max_recv_size
        - sc_get_max_send_size
        - sc_strerror
        - skeid_get_serialnr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-skeid.c:113,2'
          Dst:             sc_do_log
        - Src:             'card-skeid.c:119,6'
          Dst:             skeid_get_serialnr
        - Src:             'card-skeid.c:120,2'
          Dst:             sc_strerror
        - Src:             'card-skeid.c:120,2'
          Dst:             sc_do_log_color
        - Src:             'card-skeid.c:134,24'
          Dst:             sc_get_max_send_size
        - Src:             'card-skeid.c:136,24'
          Dst:             sc_get_max_recv_size
        - Src:             'card-skeid.c:138,6'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-skeid.c:140,2'
          Dst:             sc_strerror
        - Src:             'card-skeid.c:140,2'
          Dst:             sc_do_log_color
        - Src:             'card-skeid.c:140,2'
          Dst:             sc_do_log
    - functionName:    skeid_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-skeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          46
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_match_atr
        - sc_do_log
        - skeid_known_url
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-skeid.c:74,6'
          Dst:             _sc_match_atr
        - Src:             'card-skeid.c:74,58'
          Dst:             skeid_known_url
        - Src:             'card-skeid.c:77,2'
          Dst:             sc_do_log
    - functionName:    sc_get_skeid_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-skeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 179
      functionLinenumberEnd: 186
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-skeid.c:180,33'
          Dst:             sc_get_iso7816_driver
    - functionName:    rol
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          101
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    aes256_ecb_encrypt
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 105
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          101
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_EncryptFinal
        - EVP_EncryptInit
        - EVP_EncryptUpdate
        - EVP_aes_256_ecb
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:87,24'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-eoi.c:91,28'
          Dst:             EVP_aes_256_ecb
        - Src:             'card-eoi.c:91,7'
          Dst:             EVP_EncryptInit
        - Src:             'card-eoi.c:94,7'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-eoi.c:96,7'
          Dst:             EVP_EncryptUpdate
        - Src:             'card-eoi.c:99,7'
          Dst:             EVP_EncryptFinal
        - Src:             'card-eoi.c:104,3'
          Dst:             EVP_CIPHER_CTX_free
    - functionName:    EVP_aes_256_ecb
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    aes256_ecb_decrypt
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 128
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          101
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_set_padding
        - EVP_DecryptFinal
        - EVP_DecryptInit
        - EVP_DecryptUpdate
        - EVP_aes_256_ecb
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:110,24'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'card-eoi.c:114,28'
          Dst:             EVP_aes_256_ecb
        - Src:             'card-eoi.c:114,7'
          Dst:             EVP_DecryptInit
        - Src:             'card-eoi.c:117,7'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'card-eoi.c:119,7'
          Dst:             EVP_DecryptUpdate
        - Src:             'card-eoi.c:122,7'
          Dst:             EVP_DecryptFinal
        - Src:             'card-eoi.c:127,3'
          Dst:             EVP_CIPHER_CTX_free
    - functionName:    get_can_key
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          142
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - aes256_ecb_encrypt
        - rol
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:139,7'
          Dst:             aes256_ecb_encrypt
        - Src:             'card-eoi.c:141,2'
          Dst:             rol
        - Src:             'card-eoi.c:142,2'
          Dst:             rol
        - Src:             'card-eoi.c:147,7'
          Dst:             aes256_ecb_encrypt
        - Src:             'card-eoi.c:154,7'
          Dst:             aes256_ecb_encrypt
    - functionName:    eoi_decrypt_can
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 179
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          106
      EdgeCount:       26
      CyclomaticComplexity: 9
      functionsReached:
        - aes256_ecb_decrypt
        - get_can_key
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:169,7'
          Dst:             get_can_key
        - Src:             'card-eoi.c:171,7'
          Dst:             get_can_key
        - Src:             'card-eoi.c:174,7'
          Dst:             aes256_ecb_decrypt
    - functionName:    eoi_sm_open
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 182
      functionLinenumberEnd: 216
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         23
      ICount:          162
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - eoi_decrypt_can
        - perform_pace
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_get_mf_path
        - sc_select_file
        - sc_strerror
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:193,7'
          Dst:             eoi_decrypt_can
        - Src:             'card-eoi.c:194,3'
          Dst:             sc_do_log_openssl
        - Src:             'card-eoi.c:195,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:195,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:198,6'
          Dst:             strlen
        - Src:             'card-eoi.c:206,26'
          Dst:             strlen
        - Src:             'card-eoi.c:209,27'
          Dst:             sc_get_mf_path
        - Src:             'card-eoi.c:209,6'
          Dst:             sc_select_file
        - Src:             'card-eoi.c:210,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:210,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:212,6'
          Dst:             perform_pace
        - Src:             'card-eoi.c:213,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:213,2'
          Dst:             sc_do_log_color
    - functionName:    eoi_get_data
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 219
      functionLinenumberEnd: 232
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          74
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:223,2'
          Dst:             sc_format_apdu
        - Src:             'card-eoi.c:228,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-eoi.c:229,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:229,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:230,6'
          Dst:             sc_check_sw
    - functionName:    eoi_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 533
      functionLinenumberEnd: 563
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          197
      EdgeCount:       33
      CyclomaticComplexity: 6
      functionsReached:
        - eoi_set_security_env
        - sc_do_log
        - sc_do_log_color
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-eoi.c:546,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-eoi.c:537,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:540,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:540,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:540,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:559,6'
          Dst:             eoi_set_security_env
        - Src:             'card-eoi.c:560,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:560,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:562,2'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-eoi.c:562,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:562,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:562,2'
          Dst:             sc_do_log
    - functionName:    eoi_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 450
      functionLinenumberEnd: 530
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         130
      ICount:          798
      EdgeCount:       164
      CyclomaticComplexity: 36
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_lock
        - sc_strerror
        - sc_transmit_apdu
        - sc_unlock
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:456,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:459,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:459,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:459,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:462,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:462,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:462,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:469,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:469,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:469,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:473,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:473,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:473,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:475,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:475,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:475,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:477,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:477,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:477,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:479,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:479,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:479,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:480,2'
          Dst:             sc_format_apdu
        - Src:             'card-eoi.c:490,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:490,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:490,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:496,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:496,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:496,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:502,7'
          Dst:             sc_lock
        - Src:             'card-eoi.c:503,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:503,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:507,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-eoi.c:509,4'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:509,4'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:512,7'
          Dst:             sc_check_sw
        - Src:             'card-eoi.c:514,4'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:514,4'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:522,2'
          Dst:             sc_unlock
        - Src:             'card-eoi.c:523,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:523,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:525,2'
          Dst:             sc_check_sw
        - Src:             'card-eoi.c:525,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:525,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:525,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:528,3'
          Dst:             sc_unlock
        - Src:             'card-eoi.c:529,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:529,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:529,2'
          Dst:             sc_do_log
    - functionName:    eoi_card_ctl
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 424
      functionLinenumberEnd: 444
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          115
      EdgeCount:       21
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-eoi.c:429,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-eoi.c:428,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:439,16'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-eoi.c:441,8'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-eoi.c:444,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:444,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:444,2'
          Dst:             sc_do_log
    - functionName:    eoi_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 381
      functionLinenumberEnd: 420
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         45
      ICount:          317
      EdgeCount:       56
      CyclomaticComplexity: 13
      functionsReached:
        - eoi_pin_cmd
        - eoi_sm_open
        - sc_do_log
        - sc_do_log_color
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:384,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:388,7'
          Dst:             eoi_sm_open
        - Src:             'card-eoi.c:390,4'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:390,4'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:390,4'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:399,7'
          Dst:             eoi_pin_cmd
        - Src:             'card-eoi.c:401,4'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:401,4'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:401,4'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:407,7'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-eoi.c:409,4'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:409,4'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:409,4'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:419,2'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-eoi.c:419,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:419,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:419,2'
          Dst:             sc_do_log
    - functionName:    eoi_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 348
      functionLinenumberEnd: 378
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          148
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - iso_sm_close
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:354,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:357,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:357,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:357,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:359,2'
          Dst:             iso_sm_close
        - Src:             'card-eoi.c:367,3'
          Dst:             sc_format_apdu
        - Src:             'card-eoi.c:374,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-eoi.c:377,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:377,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:377,2'
          Dst:             sc_do_log
    - functionName:    eoi_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 329
      functionLinenumberEnd: 345
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          217
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - sc_compare_path
        - sc_do_log
        - sc_do_log_color
        - sc_get_iso7816_driver
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:333,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:336,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:336,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:336,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:339,33'
          Dst:             sc_compare_path
        - Src:             'card-eoi.c:340,4'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:340,4'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:340,4'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:344,2'
          Dst:             sc_get_iso7816_driver
        - Src:             'card-eoi.c:344,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:344,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:344,2'
          Dst:             sc_do_log
    - functionName:    eoi_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 313
      functionLinenumberEnd: 325
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          79
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_mem_clear
        - sc_mem_secure_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:316,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:319,3'
          Dst:             sc_mem_clear
        - Src:             'card-eoi.c:320,3'
          Dst:             sc_mem_secure_free
        - Src:             'card-eoi.c:325,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:325,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:325,2'
          Dst:             sc_do_log
    - functionName:    eoi_init
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 245
      functionLinenumberEnd: 310
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         70
      ICount:          460
      EdgeCount:       87
      CyclomaticComplexity: 19
      functionsReached:
        - _sc_card_add_ec_alg
        - _strlcpy
        - eoi_get_data
        - getenv
        - sc_do_log
        - sc_do_log_color
        - sc_mem_clear
        - sc_mem_secure_alloc
        - sc_mem_secure_free
        - sc_strerror
        - scconf_find_blocks
        - scconf_get_str
        - sprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:253,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:255,6'
          Dst:             eoi_get_data
        - Src:             'card-eoi.c:256,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:256,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:256,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:259,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:259,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:259,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:260,13'
          Dst:             sc_mem_secure_alloc
        - Src:             'card-eoi.c:262,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:262,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:262,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:267,2'
          Dst:             sprintf
        - Src:             'card-eoi.c:268,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:277,7'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-eoi.c:278,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:278,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:281,8'
          Dst:             getenv
        - Src:             'card-eoi.c:283,3'
          Dst:             _strlcpy
        - Src:             'card-eoi.c:285,18'
          Dst:             scconf_find_blocks
        - Src:             'card-eoi.c:292,23'
          Dst:             scconf_get_str
        - Src:             'card-eoi.c:294,6'
          Dst:             _strlcpy
        - Src:             'card-eoi.c:300,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:300,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:300,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:304,3'
          Dst:             sc_mem_clear
        - Src:             'card-eoi.c:305,3'
          Dst:             sc_mem_secure_free
        - Src:             'card-eoi.c:309,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:309,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:309,2'
          Dst:             sc_do_log
    - functionName:    eoi_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 236
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          107
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - _sc_match_atr
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:237,2'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:238,6'
          Dst:             _sc_match_atr
        - Src:             'card-eoi.c:239,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:240,3'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:240,3'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:240,3'
          Dst:             sc_do_log
        - Src:             'card-eoi.c:242,2'
          Dst:             sc_strerror
        - Src:             'card-eoi.c:242,2'
          Dst:             sc_do_log_color
        - Src:             'card-eoi.c:242,2'
          Dst:             sc_do_log
    - functionName:    sc_get_eoi_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 566
      functionLinenumberEnd: 579
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-eoi.c:567,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    dtrust_perform_pace
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 478
      functionLinenumberEnd: 603
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         72
      ICount:          429
      EdgeCount:       95
      CyclomaticComplexity: 25
      functionsReached:
        - dtrust_select_app
        - perform_pace
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15_cache_file
        - sc_pkcs15_read_cached_file
        - sc_strerror
        - strlen
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dtrust.c:488,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:493,2'
          Dst:             sc_format_path
        - Src:             'card-dtrust.c:501,6'
          Dst:             sc_pkcs15_read_cached_file
        - Src:             'card-dtrust.c:522,5'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:523,14'
          Dst:             strlen
        - Src:             'card-dtrust.c:530,5'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:534,5'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:544,5'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:547,5'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:548,5'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:548,5'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:548,5'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:562,6'
          Dst:             dtrust_select_app
        - Src:             'card-dtrust.c:563,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:563,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:565,6'
          Dst:             perform_pace
        - Src:             'card-dtrust.c:599,3'
          Dst:             sc_pkcs15_cache_file
    - functionName:    dtrust_select_app
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 438
      functionLinenumberEnd: 470
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          138
      EdgeCount:       26
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_select_file
        - sc_strerror
      functionUses:    4
      BranchProfiles:
        - Branch String:   'card-dtrust.c:444,2'
          Branch Sides:    []
        - Branch String:   'card-dtrust.c:450,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dtrust.c:442,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:452,4'
          Dst:             sc_format_path
        - Src:             'card-dtrust.c:456,4'
          Dst:             sc_format_path
        - Src:             'card-dtrust.c:460,4'
          Dst:             sc_format_path
        - Src:             'card-dtrust.c:464,7'
          Dst:             sc_select_file
        - Src:             'card-dtrust.c:465,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:465,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:469,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:469,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:469,2'
          Dst:             sc_do_log
    - functionName:    dtrust_pin_cmd_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 659
      functionLinenumberEnd: 701
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          184
      EdgeCount:       31
      CyclomaticComplexity: 5
      functionsReached:
        - dtrust_perform_pace
        - dtrust_select_app
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-dtrust.c:667,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dtrust.c:663,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:679,7'
          Dst:             dtrust_perform_pace
        - Src:             'card-dtrust.c:686,8'
          Dst:             dtrust_perform_pace
        - Src:             'card-dtrust.c:687,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:687,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:690,8'
          Dst:             dtrust_select_app
        - Src:             'card-dtrust.c:691,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:691,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:700,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:700,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:700,2'
          Dst:             sc_do_log
    - functionName:    dtrust_pin_cmd_get_info
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 608
      functionLinenumberEnd: 654
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          220
      EdgeCount:       36
      CyclomaticComplexity: 6
      functionsReached:
        - dtrust_perform_pace
        - dtrust_select_app
        - eac_pace_get_tries_left
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-dtrust.c:616,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dtrust.c:612,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:628,7'
          Dst:             dtrust_select_app
        - Src:             'card-dtrust.c:629,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:629,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:633,7'
          Dst:             eac_pace_get_tries_left
        - Src:             'card-dtrust.c:640,8'
          Dst:             dtrust_perform_pace
        - Src:             'card-dtrust.c:641,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:641,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:644,8'
          Dst:             dtrust_select_app
        - Src:             'card-dtrust.c:645,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:645,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:653,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:653,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:653,2'
          Dst:             sc_do_log
    - functionName:    _dtrust_get_serialnr
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 251
      functionLinenumberEnd: 262
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_parse_ef_gdo
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dtrust.c:255,6'
          Dst:             sc_parse_ef_gdo
    - functionName:    _dtrust_match_profile
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 149
      functionLinenumberEnd: 228
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         95
      ICount:          478
      EdgeCount:       126
      CyclomaticComplexity: 33
      functionsReached:
        - memcmp
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_hex_to_bin
        - sc_read_binary
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dtrust.c:157,2'
          Dst:             sc_format_path
        - Src:             'card-dtrust.c:159,6'
          Dst:             sc_hex_to_bin
        - Src:             'card-dtrust.c:160,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:160,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:162,6'
          Dst:             sc_select_file
        - Src:             'card-dtrust.c:163,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:163,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:165,6'
          Dst:             sc_read_binary
        - Src:             'card-dtrust.c:166,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:166,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:168,7'
          Dst:             sc_asn1_find_tag
        - Src:             'card-dtrust.c:173,7'
          Dst:             sc_asn1_find_tag
        - Src:             'card-dtrust.c:177,20'
          Dst:             memcmp
        - Src:             'card-dtrust.c:181,7'
          Dst:             sc_asn1_find_tag
        - Src:             'card-dtrust.c:191,22'
          Dst:             memcmp
        - Src:             'card-dtrust.c:193,27'
          Dst:             memcmp
        - Src:             'card-dtrust.c:195,27'
          Dst:             memcmp
        - Src:             'card-dtrust.c:197,27'
          Dst:             memcmp
        - Src:             'card-dtrust.c:199,27'
          Dst:             memcmp
        - Src:             'card-dtrust.c:204,22'
          Dst:             memcmp
        - Src:             'card-dtrust.c:206,27'
          Dst:             memcmp
        - Src:             'card-dtrust.c:208,27'
          Dst:             memcmp
        - Src:             'card-dtrust.c:210,27'
          Dst:             memcmp
        - Src:             'card-dtrust.c:212,27'
          Dst:             memcmp
        - Src:             'card-dtrust.c:225,2'
          Dst:             sc_do_log
    - functionName:    _dtrust_match_cardos
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 114
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         48
      ICount:          225
      EdgeCount:       64
      CyclomaticComplexity: 18
      functionsReached:
        - memcmp
        - sc_do_log_color
        - sc_get_data
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dtrust.c:120,6'
          Dst:             sc_get_data
        - Src:             'card-dtrust.c:121,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:121,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:132,6'
          Dst:             sc_get_data
        - Src:             'card-dtrust.c:133,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:133,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:137,56'
          Dst:             memcmp
        - Src:             'card-dtrust.c:140,52'
          Dst:             memcmp
    - functionName:    dtrust_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1023
      functionLinenumberEnd: 1051
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          117
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_mf_path
        - sc_select_file
        - sc_sm_stop
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dtrust.c:1027,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:1031,2'
          Dst:             sc_sm_stop
        - Src:             'card-dtrust.c:1041,3'
          Dst:             sc_format_apdu
        - Src:             'card-dtrust.c:1044,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-dtrust.c:1046,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:1049,27'
          Dst:             sc_get_mf_path
        - Src:             'card-dtrust.c:1049,6'
          Dst:             sc_select_file
        - Src:             'card-dtrust.c:1051,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:1051,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:1051,2'
          Dst:             sc_do_log
    - functionName:    dtrust_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 995
      functionLinenumberEnd: 1019
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          173
      EdgeCount:       31
      CyclomaticComplexity: 3
      functionsReached:
        - cardos_ec_compute_shared_value
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-dtrust.c:998,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dtrust.c:996,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:1004,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:1004,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:1004,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:1014,3'
          Dst:             cardos_ec_compute_shared_value
        - Src:             'card-dtrust.c:1014,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:1014,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:1014,3'
          Dst:             sc_do_log
    - functionName:    dtrust_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 939
      functionLinenumberEnd: 990
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          184
      EdgeCount:       27
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_mem_clear
        - sc_mem_secure_alloc
        - sc_mem_secure_free
        - sc_pkcs1_encode
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dtrust.c:946,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:973,8'
          Dst:             sc_mem_secure_alloc
        - Src:             'card-dtrust.c:975,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:975,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:975,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:980,6'
          Dst:             sc_pkcs1_encode
        - Src:             'card-dtrust.c:981,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:981,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:987,2'
          Dst:             sc_mem_clear
        - Src:             'card-dtrust.c:987,2'
          Dst:             sc_mem_secure_free
    - functionName:    dtrust_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 812
      functionLinenumberEnd: 934
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          298
      EdgeCount:       69
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-dtrust.c:834,2'
          Branch Sides:    []
        - Branch String:   'card-dtrust.c:839,4'
          Branch Sides:    []
        - Branch String:   'card-dtrust.c:860,4'
          Branch Sides:    []
        - Branch String:   'card-dtrust.c:883,4'
          Branch Sides:    []
        - Branch String:   'card-dtrust.c:898,4'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dtrust.c:818,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:824,3'
          Dst:             sc_do_log
    - functionName:    dtrust_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 706
      functionLinenumberEnd: 806
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         94
      ICount:          632
      EdgeCount:       116
      CyclomaticComplexity: 24
      functionsReached:
        - dtrust_pin_cmd
        - dtrust_pin_cmd_get_info
        - dtrust_pin_cmd_verify
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'card-dtrust.c:755,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dtrust.c:710,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:715,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:715,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:715,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:727,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:736,7'
          Dst:             dtrust_pin_cmd
        - Src:             'card-dtrust.c:740,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:743,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:743,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:743,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:746,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:752,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:752,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:752,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:757,7'
          Dst:             dtrust_pin_cmd_get_info
        - Src:             'card-dtrust.c:761,7'
          Dst:             dtrust_pin_cmd_verify
        - Src:             'card-dtrust.c:772,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:773,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:773,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:773,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:777,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:778,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:778,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:778,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:782,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:783,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:783,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:783,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:794,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:795,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:795,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:795,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:802,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:802,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:802,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:805,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:805,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:805,2'
          Dst:             sc_do_log
    - functionName:    dtrust_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 415
      functionLinenumberEnd: 433
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         16
      ICount:          108
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_mem_secure_free
        - sc_pkcs15_unbind
        - sc_strerror
        - strlen
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dtrust.c:418,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:423,3'
          Dst:             sc_pkcs15_unbind
        - Src:             'card-dtrust.c:427,43'
          Dst:             strlen
        - Src:             'card-dtrust.c:427,3'
          Dst:             sc_mem_secure_free
        - Src:             'card-dtrust.c:433,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:433,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:433,2'
          Dst:             sc_do_log
    - functionName:    dtrust_init
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 411
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         84
      ICount:          578
      EdgeCount:       98
      CyclomaticComplexity: 16
      functionsReached:
        - _dtrust_get_serialnr
        - _sc_card_add_ec_alg
        - _sc_card_add_rsa_alg
        - calloc
        - dtrust_finish
        - getenv
        - sc_do_log
        - sc_do_log_color
        - sc_get_max_recv_size
        - sc_get_max_send_size
        - sc_mem_secure_alloc
        - sc_pkcs15_bind
        - sc_strerror
        - scconf_find_blocks
        - scconf_get_bool
        - scconf_get_str
        - strlen
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-dtrust.c:354,2'
          Branch Sides:    []
        - Branch String:   'card-dtrust.c:396,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-dtrust.c:275,2'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:279,13'
          Dst:             calloc
        - Src:             'card-dtrust.c:290,12'
          Dst:             getenv
        - Src:             'card-dtrust.c:295,18'
          Dst:             scconf_find_blocks
        - Src:             'card-dtrust.c:300,26'
          Dst:             scconf_get_bool
        - Src:             'card-dtrust.c:304,17'
          Dst:             scconf_get_str
        - Src:             'card-dtrust.c:311,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:314,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:320,13'
          Dst:             strlen
        - Src:             'card-dtrust.c:321,25'
          Dst:             sc_mem_secure_alloc
        - Src:             'card-dtrust.c:323,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:323,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:323,4'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:330,6'
          Dst:             _dtrust_get_serialnr
        - Src:             'card-dtrust.c:332,3'
          Dst:             dtrust_finish
        - Src:             'card-dtrust.c:333,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:333,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:348,24'
          Dst:             sc_get_max_send_size
        - Src:             'card-dtrust.c:350,24'
          Dst:             sc_get_max_recv_size
        - Src:             'card-dtrust.c:369,3'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-dtrust.c:379,3'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-dtrust.c:389,3'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-dtrust.c:393,3'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:393,3'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:393,3'
          Dst:             sc_do_log
        - Src:             'card-dtrust.c:402,7'
          Dst:             sc_pkcs15_bind
        - Src:             'card-dtrust.c:404,4'
          Dst:             dtrust_finish
        - Src:             'card-dtrust.c:405,4'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:405,4'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:410,2'
          Dst:             sc_strerror
        - Src:             'card-dtrust.c:410,2'
          Dst:             sc_do_log_color
        - Src:             'card-dtrust.c:410,2'
          Dst:             sc_do_log
    - functionName:    dtrust_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 234
      functionLinenumberEnd: 247
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          56
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - _dtrust_match_cardos
        - _dtrust_match_profile
        - _sc_match_atr
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dtrust.c:235,6'
          Dst:             _sc_match_atr
        - Src:             'card-dtrust.c:238,6'
          Dst:             _dtrust_match_cardos
        - Src:             'card-dtrust.c:241,6'
          Dst:             _dtrust_match_profile
        - Src:             'card-dtrust.c:244,2'
          Dst:             sc_do_log
    - functionName:    sc_get_dtrust_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1056
      functionLinenumberEnd: 1070
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-dtrust.c:1058,13'
          Dst:             sc_get_iso7816_driver
    - functionName:    lteid_pin_cmd_change
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 437
      functionLinenumberEnd: 458
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          175
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:438,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:448,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:448,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:448,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:454,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:454,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:454,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:457,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:457,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:457,2'
          Dst:             sc_do_log
    - functionName:    lteid_pin_cmd_unblock
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 412
      functionLinenumberEnd: 433
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          175
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:413,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:423,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:423,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:423,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:429,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:429,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:429,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:432,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:432,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:432,2'
          Dst:             sc_do_log
    - functionName:    lteid_pin_cmd_get_info
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 342
      functionLinenumberEnd: 408
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         59
      ICount:          425
      EdgeCount:       71
      CyclomaticComplexity: 14
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-lteid.c:363,3'
          Branch Sides:    []
      Callsites:
        - Src:             'card-lteid.c:343,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:353,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:353,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:353,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:374,3'
          Dst:             sc_format_apdu_ex
        - Src:             'card-lteid.c:376,8'
          Dst:             sc_transmit_apdu
        - Src:             'card-lteid.c:377,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:377,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:379,19'
          Dst:             sc_asn1_find_tag
        - Src:             'card-lteid.c:380,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-lteid.c:381,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-lteid.c:382,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-lteid.c:383,9'
          Dst:             sc_asn1_find_tag
        - Src:             'card-lteid.c:389,4'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:389,4'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:389,4'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:398,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:398,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:398,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:404,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:404,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:404,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:407,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:407,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:407,2'
          Dst:             sc_do_log
    - functionName:    lteid_pin_cmd_verify
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 337
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          109
      EdgeCount:       16
      CyclomaticComplexity: 2
      functionsReached:
        - lteid_perform_pace
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-lteid.c:326,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-lteid.c:320,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:330,8'
          Dst:             lteid_perform_pace
        - Src:             'card-lteid.c:337,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:337,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:337,2'
          Dst:             sc_do_log
    - functionName:    lteid_perform_pace
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 185
      functionLinenumberEnd: 248
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          337
      EdgeCount:       71
      CyclomaticComplexity: 18
      functionsReached:
        - lteid_cache_can
        - lteid_clear_cached_can
        - lteid_get_can
        - perform_pace
        - sc_do_log
        - sc_do_log_color
        - sc_sm_stop
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:186,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:193,3'
          Dst:             sc_sm_stop
        - Src:             'card-lteid.c:199,21'
          Dst:             lteid_get_can
        - Src:             'card-lteid.c:200,4'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:200,4'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:200,4'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:208,11'
          Dst:             perform_pace
        - Src:             'card-lteid.c:210,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:224,8'
          Dst:             lteid_clear_cached_can
        - Src:             'card-lteid.c:229,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:229,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:229,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:234,3'
          Dst:             lteid_cache_can
        - Src:             'card-lteid.c:247,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:247,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:247,2'
          Dst:             sc_do_log
    - functionName:    lteid_get_can
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 131
      functionLinenumberEnd: 181
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         49
      ICount:          296
      EdgeCount:       63
      CyclomaticComplexity: 16
      functionsReached:
        - getenv
        - lteid_get_cached_can
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - scconf_find_blocks
        - scconf_get_str
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:132,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:139,29'
          Dst:             getenv
        - Src:             'card-lteid.c:140,22'
          Dst:             strlen
        - Src:             'card-lteid.c:146,18'
          Dst:             lteid_get_cached_can
        - Src:             'card-lteid.c:156,28'
          Dst:             scconf_find_blocks
        - Src:             'card-lteid.c:160,28'
          Dst:             scconf_get_str
        - Src:             'card-lteid.c:165,26'
          Dst:             strlen
        - Src:             'card-lteid.c:172,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:173,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:173,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:173,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:180,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:180,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:180,2'
          Dst:             sc_do_log
    - functionName:    lteid_clear_cached_can
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 115
      functionLinenumberEnd: 127
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          105
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - lteid_get_can_cache_path
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - unlink
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:116,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:120,2'
          Dst:             lteid_get_can_cache_path
        - Src:             'card-lteid.c:122,7'
          Dst:             unlink
        - Src:             'card-lteid.c:123,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:123,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:123,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:126,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:126,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:126,2'
          Dst:             sc_do_log
    - functionName:    lteid_cache_can
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 88
      functionLinenumberEnd: 111
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          81
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - __errno_location
        - fclose
        - fopen
        - fwrite
        - lteid_get_can_cache_path
        - sc_make_cache_dir
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:92,2'
          Dst:             lteid_get_can_cache_path
        - Src:             'card-lteid.c:94,13'
          Dst:             fopen
        - Src:             'card-lteid.c:96,13'
          Dst:             __errno_location
        - Src:             'card-lteid.c:97,13'
          Dst:             sc_make_cache_dir
        - Src:             'card-lteid.c:100,8'
          Dst:             fopen
        - Src:             'card-lteid.c:107,2'
          Dst:             fwrite
        - Src:             'card-lteid.c:108,2'
          Dst:             fclose
    - functionName:    lteid_get_can_cache_path
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 51
      functionLinenumberEnd: 61
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_cache_dir
        - strlcat
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:52,2'
          Dst:             sc_get_cache_dir
        - Src:             'card-lteid.c:57,2'
          Dst:             strlcat
        - Src:             'card-lteid.c:60,2'
          Dst:             strlcat
    - functionName:    lteid_get_cached_can
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 65
      functionLinenumberEnd: 84
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          157
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - fclose
        - fopen
        - fread
        - lteid_get_can_cache_path
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:66,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:69,2'
          Dst:             lteid_get_can_cache_path
        - Src:             'card-lteid.c:71,13'
          Dst:             fopen
        - Src:             'card-lteid.c:74,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:74,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:74,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:77,26'
          Dst:             fread
        - Src:             'card-lteid.c:78,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:78,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:78,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:81,2'
          Dst:             fclose
        - Src:             'card-lteid.c:83,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:83,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:83,2'
          Dst:             sc_do_log
    - functionName:    lteid_unlock
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 259
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          73
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - lteid_perform_pace
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:253,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:255,20'
          Dst:             lteid_perform_pace
        - Src:             'card-lteid.c:256,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:259,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:259,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:259,2'
          Dst:             sc_do_log
    - functionName:    lteid_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 534
      functionLinenumberEnd: 551
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          136
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:535,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:540,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:540,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:540,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:550,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:550,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:550,2'
          Dst:             sc_do_log
    - functionName:    lteid_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 309
      functionLinenumberEnd: 314
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          58
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_sm_stop
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:310,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:312,2'
          Dst:             sc_sm_stop
        - Src:             'card-lteid.c:314,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:314,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:314,2'
          Dst:             sc_do_log
    - functionName:    lteid_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 462
      functionLinenumberEnd: 485
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          103
      EdgeCount:       16
      CyclomaticComplexity: 2
      functionsReached:
        - lteid_pin_cmd_change
        - lteid_pin_cmd_get_info
        - lteid_pin_cmd_unblock
        - lteid_pin_cmd_verify
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-lteid.c:467,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-lteid.c:463,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:469,8'
          Dst:             lteid_pin_cmd_verify
        - Src:             'card-lteid.c:472,8'
          Dst:             lteid_pin_cmd_get_info
        - Src:             'card-lteid.c:475,8'
          Dst:             lteid_pin_cmd_unblock
        - Src:             'card-lteid.c:478,8'
          Dst:             lteid_pin_cmd_change
        - Src:             'card-lteid.c:485,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:485,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:485,2'
          Dst:             sc_do_log
    - functionName:    lteid_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 518
      functionLinenumberEnd: 530
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          124
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:519,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:523,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:523,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:523,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:529,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:529,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:529,2'
          Dst:             sc_do_log
    - functionName:    lteid_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 490
      functionLinenumberEnd: 514
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          260
      EdgeCount:       49
      CyclomaticComplexity: 11
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:491,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:497,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:497,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:497,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:499,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:502,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:502,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:502,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:505,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-lteid.c:507,7'
          Dst:             sc_transmit_apdu
        - Src:             'card-lteid.c:508,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:508,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:510,7'
          Dst:             sc_check_sw
        - Src:             'card-lteid.c:511,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:511,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:513,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:513,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:513,2'
          Dst:             sc_do_log
    - functionName:    lteid_finish
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 296
      functionLinenumberEnd: 304
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          65
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_sm_stop
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:297,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:299,2'
          Dst:             sc_sm_stop
        - Src:             'card-lteid.c:304,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:304,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:304,2'
          Dst:             sc_do_log
    - functionName:    lteid_init
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 264
      functionLinenumberEnd: 292
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          179
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - _sc_card_add_ec_alg
        - calloc
        - lteid_unlock
        - sc_do_log
        - sc_do_log_color
        - sc_enum_apps
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:265,2'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:268,36'
          Dst:             calloc
        - Src:             'card-lteid.c:271,3'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:271,3'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:271,3'
          Dst:             sc_do_log
        - Src:             'card-lteid.c:283,2'
          Dst:             _sc_card_add_ec_alg
        - Src:             'card-lteid.c:285,7'
          Dst:             sc_enum_apps
        - Src:             'card-lteid.c:286,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:286,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:288,7'
          Dst:             lteid_unlock
        - Src:             'card-lteid.c:289,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:289,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:291,2'
          Dst:             sc_strerror
        - Src:             'card-lteid.c:291,2'
          Dst:             sc_do_log_color
        - Src:             'card-lteid.c:291,2'
          Dst:             sc_do_log
    - functionName:    sc_get_lteid_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 555
      functionLinenumberEnd: 570
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-lteid.c:556,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    srbeid_pso
      functionSourceFile: '/src/opensc/src/libopensc/card-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 276
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          278
      EdgeCount:       49
      CyclomaticComplexity: 11
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-srbeid.c:249,2'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:252,3'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:252,3'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:252,3'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:260,2'
          Dst:             sc_format_apdu
        - Src:             'card-srbeid.c:267,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-srbeid.c:268,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:268,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:269,6'
          Dst:             sc_check_sw
        - Src:             'card-srbeid.c:270,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:270,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:273,3'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:273,3'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:273,3'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:275,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:275,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:275,2'
          Dst:             sc_do_log
    - functionName:    srbeid_decipher
      functionSourceFile: '/src/opensc/src/libopensc/card-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 295
      functionLinenumberEnd: 300
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - srbeid_pso
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-srbeid.c:296,10'
          Dst:             srbeid_pso
        - Src:             'card-srbeid.c:299,7'
          Dst:             srbeid_pso
    - functionName:    srbeid_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 282
      functionLinenumberEnd: 283
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - srbeid_pso
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-srbeid.c:283,9'
          Dst:             srbeid_pso
    - functionName:    srbeid_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 234
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          272
      EdgeCount:       40
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'card-srbeid.c:198,2'
          Branch Sides:    []
      Callsites:
        - Src:             'card-srbeid.c:184,2'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:193,3'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:221,2'
          Dst:             sc_format_apdu
        - Src:             'card-srbeid.c:226,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-srbeid.c:227,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:227,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:228,6'
          Dst:             sc_check_sw
        - Src:             'card-srbeid.c:229,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:229,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:231,2'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:233,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:233,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:233,2'
          Dst:             sc_do_log
    - functionName:    srbeid_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 112
      functionLinenumberEnd: 159
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          366
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - iso7816_select_aid
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_new
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-srbeid.c:124,10'
          Dst:             iso7816_select_aid
        - Src:             'card-srbeid.c:128,3'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:128,3'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:128,3'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:130,2'
          Dst:             sc_format_apdu
        - Src:             'card-srbeid.c:138,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-srbeid.c:139,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:139,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:140,6'
          Dst:             sc_check_sw
        - Src:             'card-srbeid.c:141,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:141,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:144,3'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:144,3'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:144,3'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:147,10'
          Dst:             sc_file_new
        - Src:             'card-srbeid.c:149,4'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:149,4'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:149,4'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:158,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:158,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:158,2'
          Dst:             sc_do_log
    - functionName:    srbeid_init
      functionSourceFile: '/src/opensc/src/libopensc/card-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 95
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          63
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_card_add_rsa_alg
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-srbeid.c:84,2'
          Dst:             sc_do_log
        - Src:             'card-srbeid.c:90,2'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-srbeid.c:95,2'
          Dst:             sc_strerror
        - Src:             'card-srbeid.c:95,2'
          Dst:             sc_do_log_color
        - Src:             'card-srbeid.c:95,2'
          Dst:             sc_do_log
    - functionName:    srbeid_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 72
      functionLinenumberEnd: 79
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_match_atr
        - iso7816_select_aid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-srbeid.c:73,10'
          Dst:             _sc_match_atr
        - Src:             'card-srbeid.c:74,16'
          Dst:             iso7816_select_aid
    - functionName:    sc_get_srbeid_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 305
      functionLinenumberEnd: 316
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-srbeid.c:307,12'
          Dst:             sc_get_iso7816_driver
    - functionName:    cedulauy_get_mf
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 153
      functionLinenumberEnd: 164
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         9
      ICount:          46
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_file_new
        - sc_get_mf_path
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:156,8'
          Dst:             sc_file_new
        - Src:             'card-cedulauy.c:158,16'
          Dst:             sc_get_mf_path
    - functionName:    cedulauy_select_app
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          116
      EdgeCount:       23
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:101,2'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:103,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-cedulauy.c:105,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-cedulauy.c:105,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:105,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:105,2'
          Dst:             sc_check_sw
        - Src:             'card-cedulauy.c:105,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:105,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:107,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:107,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:107,2'
          Dst:             sc_do_log
    - functionName:    cedulauy_card_reader_lock_obtained
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 149
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          98
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - cedulauy_select_app
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:147,3'
          Dst:             cedulauy_select_app
        - Src:             'card-cedulauy.c:147,3'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:147,3'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:147,3'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:148,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:148,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:148,2'
          Dst:             sc_do_log
    - functionName:    cedulauy_logout
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 285
      functionLinenumberEnd: 287
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          52
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - cedulauy_select_app
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:287,2'
          Dst:             cedulauy_select_app
        - Src:             'card-cedulauy.c:287,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:287,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:287,2'
          Dst:             sc_do_log
    - functionName:    cedulauy_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 266
      functionLinenumberEnd: 281
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          116
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:271,2'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:274,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:274,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:280,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:280,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:280,2'
          Dst:             sc_do_log
    - functionName:    cedulauy_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 262
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          351
      EdgeCount:       71
      CyclomaticComplexity: 15
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:232,2'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:235,3'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:235,3'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:235,3'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:242,3'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:242,3'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:250,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-cedulauy.c:251,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-cedulauy.c:251,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:251,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:251,2'
          Dst:             sc_check_sw
        - Src:             'card-cedulauy.c:251,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:251,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:254,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-cedulauy.c:255,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-cedulauy.c:255,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:255,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:255,2'
          Dst:             sc_check_sw
        - Src:             'card-cedulauy.c:255,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:255,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:258,3'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:258,3'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:261,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:261,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:261,2'
          Dst:             sc_do_log
    - functionName:    cedulauy_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 196
      functionLinenumberEnd: 221
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         57
      ICount:          339
      EdgeCount:       70
      CyclomaticComplexity: 15
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu_ex
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:201,2'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:204,3'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:204,3'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:204,3'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:206,3'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:206,3'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:206,3'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:208,3'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:208,3'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:208,3'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:210,3'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:210,3'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:210,3'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:216,2'
          Dst:             sc_format_apdu_ex
        - Src:             'card-cedulauy.c:218,2'
          Dst:             sc_transmit_apdu
        - Src:             'card-cedulauy.c:218,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:218,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:218,2'
          Dst:             sc_check_sw
        - Src:             'card-cedulauy.c:218,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:218,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:220,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:220,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:220,2'
          Dst:             sc_do_log
    - functionName:    cedulauy_select_file
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 191
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          216
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - cedulauy_get_mf
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:173,2'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:175,50'
          Dst:             memcmp
        - Src:             'card-cedulauy.c:186,25'
          Dst:             cedulauy_get_mf
        - Src:             'card-cedulauy.c:186,3'
          Dst:             sc_file_dup
        - Src:             'card-cedulauy.c:187,3'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:187,3'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:187,3'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:190,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:190,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:190,2'
          Dst:             sc_do_log
    - functionName:    cedulauy_init
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 123
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          92
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - _sc_card_add_rsa_alg
        - cedulauy_select_app
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:127,2'
          Dst:             sc_do_log
        - Src:             'card-cedulauy.c:131,6'
          Dst:             cedulauy_select_app
        - Src:             'card-cedulauy.c:132,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:132,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:138,6'
          Dst:             _sc_card_add_rsa_alg
        - Src:             'card-cedulauy.c:140,2'
          Dst:             sc_strerror
        - Src:             'card-cedulauy.c:140,2'
          Dst:             sc_do_log_color
        - Src:             'card-cedulauy.c:140,2'
          Dst:             sc_do_log
    - functionName:    cedulauy_match_card
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 112
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - _sc_match_atr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:113,10'
          Dst:             _sc_match_atr
    - functionName:    sc_get_cedulauy_driver
      functionSourceFile: '/src/opensc/src/libopensc/card-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 292
      functionLinenumberEnd: 309
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          40
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_get_iso7816_driver
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cedulauy.c:293,35'
          Dst:             sc_get_iso7816_driver
    - functionName:    sc_pkcs15emu_openpgp_add_data
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 636
      functionLinenumberEnd: 680
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          175
      EdgeCount:       32
      CyclomaticComplexity: 8
      functionsReached:
        - _strlcpy
        - read_file
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15emu_add_data_object
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-openpgp.c:640,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:651,3'
          Dst:             snprintf
        - Src:             'pkcs15-openpgp.c:652,3'
          Dst:             snprintf
        - Src:             'pkcs15-openpgp.c:657,7'
          Dst:             read_file
        - Src:             'pkcs15-openpgp.c:659,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:663,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-openpgp.c:664,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-openpgp.c:665,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-openpgp.c:675,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:676,7'
          Dst:             sc_pkcs15emu_add_data_object
        - Src:             'pkcs15-openpgp.c:677,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:677,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:679,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:679,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:679,2'
          Dst:             sc_do_log
    - functionName:    read_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 163
      functionLinenumberEnd: 178
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          65
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_file_free
        - sc_format_path
        - sc_read_binary
        - sc_select_file
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-openpgp.c:168,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-openpgp.c:169,11'
          Dst:             sc_select_file
        - Src:             'pkcs15-openpgp.c:175,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-openpgp.c:177,9'
          Dst:             sc_read_binary
    - functionName:    sc_pkcs15emu_openpgp_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 182
      functionLinenumberEnd: 628
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         200
      ICount:          1432
      EdgeCount:       258
      CyclomaticComplexity: 60
      functionsReached:
        - _strlcpy
        - bebytes2ushort
        - read_file
        - sc_asn1_decode_object_id
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_card_find_ec_alg
        - sc_card_find_eddsa_alg
        - sc_card_find_xeddsa_alg
        - sc_compare_oid
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_get_data
        - sc_pkcs15_card_clear
        - sc_pkcs15_format_id
        - sc_pkcs15emu_add_ec_prkey
        - sc_pkcs15emu_add_ec_pubkey
        - sc_pkcs15emu_add_eddsa_prkey
        - sc_pkcs15emu_add_eddsa_pubkey
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_rsa_pubkey
        - sc_pkcs15emu_add_x509_cert
        - sc_pkcs15emu_add_xeddsa_prkey
        - sc_pkcs15emu_add_xeddsa_pubkey
        - sc_pkcs15emu_openpgp_add_data
        - sc_select_file
        - sc_strerror
        - set_string
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-openpgp.c:348,4'
          Branch Sides:    []
        - Branch String:   'pkcs15-openpgp.c:378,4'
          Branch Sides:    []
        - Branch String:   'pkcs15-openpgp.c:479,4'
          Branch Sides:    []
        - Branch String:   'pkcs15-openpgp.c:509,4'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-openpgp.c:195,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:197,2'
          Dst:             set_string
        - Src:             'pkcs15-openpgp.c:198,2'
          Dst:             set_string
        - Src:             'pkcs15-openpgp.c:202,29'
          Dst:             bebytes2ushort
        - Src:             'pkcs15-openpgp.c:205,3'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-openpgp.c:206,3'
          Dst:             set_string
        - Src:             'pkcs15-openpgp.c:210,5'
          Dst:             set_string
        - Src:             'pkcs15-openpgp.c:219,6'
          Dst:             read_file
        - Src:             'pkcs15-openpgp.c:223,2'
          Dst:             set_string
        - Src:             'pkcs15-openpgp.c:231,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:232,11'
          Dst:             read_file
        - Src:             'pkcs15-openpgp.c:235,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:261,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-openpgp.c:263,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-openpgp.c:270,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-openpgp.c:282,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:283,11'
          Dst:             read_file
        - Src:             'pkcs15-openpgp.c:286,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:292,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:307,21'
          Dst:             read_file
        - Src:             'pkcs15-openpgp.c:328,4'
          Dst:             _strlcpy
        - Src:             'pkcs15-openpgp.c:342,9'
          Dst:             sc_asn1_decode_object_id
        - Src:             'pkcs15-openpgp.c:344,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:350,9'
          Dst:             sc_compare_oid
        - Src:             'pkcs15-openpgp.c:351,28'
          Dst:             sc_card_find_xeddsa_alg
        - Src:             'pkcs15-openpgp.c:354,7'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:361,26'
          Dst:             sc_card_find_ec_alg
        - Src:             'pkcs15-openpgp.c:364,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:369,27'
          Dst:             sc_card_find_eddsa_alg
        - Src:             'pkcs15-openpgp.c:372,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:382,9'
          Dst:             sc_pkcs15emu_add_eddsa_prkey
        - Src:             'pkcs15-openpgp.c:388,9'
          Dst:             sc_compare_oid
        - Src:             'pkcs15-openpgp.c:391,10'
          Dst:             sc_pkcs15emu_add_xeddsa_prkey
        - Src:             'pkcs15-openpgp.c:396,9'
          Dst:             sc_pkcs15emu_add_ec_prkey
        - Src:             'pkcs15-openpgp.c:401,9'
          Dst:             sc_pkcs15emu_add_ec_prkey
        - Src:             'pkcs15-openpgp.c:410,34'
          Dst:             bebytes2ushort
        - Src:             'pkcs15-openpgp.c:411,10'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-openpgp.c:416,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:427,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:442,21'
          Dst:             read_file
        - Src:             'pkcs15-openpgp.c:460,4'
          Dst:             sc_format_path
        - Src:             'pkcs15-openpgp.c:462,4'
          Dst:             _strlcpy
        - Src:             'pkcs15-openpgp.c:473,9'
          Dst:             sc_asn1_decode_object_id
        - Src:             'pkcs15-openpgp.c:475,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:481,9'
          Dst:             sc_compare_oid
        - Src:             'pkcs15-openpgp.c:482,28'
          Dst:             sc_card_find_xeddsa_alg
        - Src:             'pkcs15-openpgp.c:485,7'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:492,26'
          Dst:             sc_card_find_ec_alg
        - Src:             'pkcs15-openpgp.c:495,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:500,27'
          Dst:             sc_card_find_eddsa_alg
        - Src:             'pkcs15-openpgp.c:503,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:514,9'
          Dst:             sc_pkcs15emu_add_eddsa_pubkey
        - Src:             'pkcs15-openpgp.c:519,9'
          Dst:             sc_compare_oid
        - Src:             'pkcs15-openpgp.c:522,10'
          Dst:             sc_pkcs15emu_add_xeddsa_pubkey
        - Src:             'pkcs15-openpgp.c:526,9'
          Dst:             sc_pkcs15emu_add_ec_pubkey
        - Src:             'pkcs15-openpgp.c:530,9'
          Dst:             sc_pkcs15emu_add_ec_pubkey
        - Src:             'pkcs15-openpgp.c:538,35'
          Dst:             bebytes2ushort
        - Src:             'pkcs15-openpgp.c:539,10'
          Dst:             sc_pkcs15emu_add_rsa_pubkey
        - Src:             'pkcs15-openpgp.c:544,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:556,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-openpgp.c:557,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-openpgp.c:574,3'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-openpgp.c:576,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-openpgp.c:579,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-openpgp.c:581,14'
          Dst:             sc_get_data
        - Src:             'pkcs15-openpgp.c:602,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-openpgp.c:604,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-openpgp.c:618,2'
          Dst:             sc_pkcs15emu_openpgp_add_data
        - Src:             'pkcs15-openpgp.c:622,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:622,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:625,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-openpgp.c:627,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-openpgp.c:628,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:628,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:628,2'
          Dst:             sc_do_log
    - functionName:    openpgp_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 683
      functionLinenumberEnd: 692
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          75
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_openpgp_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 695
      functionLinenumberEnd: 699
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - openpgp_detect_card
        - sc_pkcs15emu_openpgp_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-openpgp.c:696,6'
          Dst:             openpgp_detect_card
        - Src:             'pkcs15-openpgp.c:698,9'
          Dst:             sc_pkcs15emu_openpgp_init
    - functionName:    get_cert_len
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-starcert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 98
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          87
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - sc_read_binary
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcert.c:87,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcert.c:90,6'
          Dst:             sc_read_binary
    - functionName:    sc_pkcs15emu_starcert_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-starcert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 125
      functionLinenumberEnd: 270
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         41
      ICount:          443
      EdgeCount:       55
      CyclomaticComplexity: 16
      functionsReached:
        - _strlcpy
        - get_cert_len
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_file_free
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_format_id
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_x509_cert
        - sc_select_file
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcert.c:165,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcert.c:168,6'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-starcert.c:172,2'
          Dst:             set_string
        - Src:             'pkcs15-starcert.c:176,2'
          Dst:             set_string
        - Src:             'pkcs15-starcert.c:188,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-starcert.c:190,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-starcert.c:191,8'
          Dst:             get_cert_len
        - Src:             'pkcs15-starcert.c:195,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-starcert.c:198,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-starcert.c:211,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-starcert.c:220,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-starcert.c:224,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-starcert.c:227,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-starcert.c:239,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-starcert.c:244,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-starcert.c:246,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-starcert.c:249,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-starcert.c:251,7'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-starcert.c:257,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-starcert.c:258,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcert.c:262,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcert.c:268,2'
          Dst:             sc_pkcs15_card_clear
    - functionName:    starcert_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-starcert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 101
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          77
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - memcmp
        - sc_format_path
        - sc_read_binary
        - sc_select_file
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcert.c:108,6'
          Dst:             strcmp
        - Src:             'pkcs15-starcert.c:111,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-starcert.c:112,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcert.c:115,6'
          Dst:             sc_read_binary
        - Src:             'pkcs15-starcert.c:118,6'
          Dst:             memcmp
    - functionName:    sc_pkcs15emu_starcert_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-starcert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 274
      functionLinenumberEnd: 278
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_starcert_init
        - starcert_detect_card
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcert.c:275,6'
          Dst:             starcert_detect_card
        - Src:             'pkcs15-starcert.c:277,9'
          Dst:             sc_pkcs15emu_starcert_init
    - functionName:    cardos_fix_token_info
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 134
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         61
      ICount:          443
      EdgeCount:       75
      CyclomaticComplexity: 16
      functionsReached:
        - calloc
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-cardos.c:81,4'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-cardos.c:53,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:55,11'
          Dst:             calloc
        - Src:             'pkcs15-cardos.c:57,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:57,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:57,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:60,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-cardos.c:63,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:63,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:63,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:68,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:80,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:91,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:111,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:114,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:120,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:127,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:130,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-cardos.c:133,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:133,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:133,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_cardos_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          127
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - cardos_fix_token_info
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_bind_internal
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:155,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:157,6'
          Dst:             sc_pkcs15_bind_internal
        - Src:             'pkcs15-cardos.c:158,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:158,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:161,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:163,7'
          Dst:             cardos_fix_token_info
        - Src:             'pkcs15-cardos.c:166,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:166,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:166,2'
          Dst:             sc_do_log
    - functionName:    cardos_pkcs15emu_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_cardos_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cardos_pkcs15emu_detect_card
        - sc_pkcs15emu_cardos_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:173,6'
          Dst:             cardos_pkcs15emu_detect_card
        - Src:             'pkcs15-cardos.c:176,9'
          Dst:             sc_pkcs15emu_cardos_init
    - functionName:    insert_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 205
      functionLinenumberEnd: 284
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
        - char
        - char
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          436
      EdgeCount:       72
      CyclomaticComplexity: 21
      functionsReached:
        - _strlcpy
        - sc_append_file_id
        - sc_do_log
        - sc_file_free
        - sc_format_path
        - sc_pkcs15emu_add_pin_obj
        - sc_print_path
        - sc_read_record
        - sc_select_file
      functionUses:    15
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:225,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-tcos.c:228,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-tcos.c:239,3'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-tcos.c:240,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-tcos.c:241,4'
          Dst:             sc_print_path
        - Src:             'pkcs15-tcos.c:241,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:244,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:245,15'
          Dst:             sc_read_record
        - Src:             'pkcs15-tcos.c:263,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:267,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-tcos.c:269,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:270,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-tcos.c:274,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-tcos.c:277,4'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-tcos.c:279,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:282,2'
          Dst:             sc_do_log
    - functionName:    insert_key
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 113
      functionLinenumberEnd: 194
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
        - char
        - int
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         70
      ICount:          489
      EdgeCount:       94
      CyclomaticComplexity: 26
      functionsReached:
        - _strlcpy
        - sc_append_file_id
        - sc_do_log
        - sc_file_free
        - sc_format_path
        - sc_pkcs15emu_add_rsa_prkey
        - sc_print_path
        - sc_read_record
        - sc_select_file
      functionUses:    27
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:127,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-tcos.c:130,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-tcos.c:141,3'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-tcos.c:142,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-tcos.c:143,4'
          Dst:             sc_print_path
        - Src:             'pkcs15-tcos.c:143,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:146,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:147,15'
          Dst:             sc_read_record
        - Src:             'pkcs15-tcos.c:159,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:169,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-tcos.c:171,4'
          Dst:             sc_print_path
        - Src:             'pkcs15-tcos.c:171,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:172,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-tcos.c:179,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-tcos.c:187,6'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-tcos.c:189,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:192,2'
          Dst:             sc_do_log
    - functionName:    dirpath
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 286
      functionLinenumberEnd: 291
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _strlcpy
        - strlcat
      functionUses:    24
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:289,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-tcos.c:290,2'
          Dst:             strlcat
    - functionName:    insert_cert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 42
      functionLinenumberEnd: 102
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          306
      EdgeCount:       46
      CyclomaticComplexity: 15
      functionsReached:
        - _strlcpy
        - sc_do_log
        - sc_format_path
        - sc_pkcs15emu_add_x509_cert
        - sc_read_binary
        - sc_select_file
      functionUses:    31
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:55,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-tcos.c:58,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-tcos.c:61,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-tcos.c:62,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:65,6'
          Dst:             sc_read_binary
        - Src:             'pkcs15-tcos.c:67,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:72,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:76,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:85,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:95,6'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-tcos.c:97,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:100,2'
          Dst:             sc_do_log
    - functionName:    detect_datev
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 464
      functionLinenumberEnd: 481
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          52
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - insert_cert
        - insert_key
        - insert_pin
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:465,5'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:466,2'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:467,2'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:469,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:470,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:472,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:473,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:474,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:476,2'
          Dst:             insert_pin
    - functionName:    detect_signtrust
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 434
      functionLinenumberEnd: 460
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          56
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - insert_cert
        - insert_key
        - insert_pin
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:435,5'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:436,2'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:437,2'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:439,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:440,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:442,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:443,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:444,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:446,2'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:450,2'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:454,2'
          Dst:             insert_pin
    - functionName:    detect_unicard
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 485
      functionLinenumberEnd: 517
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          85
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - insert_cert
        - insert_key
        - insert_pin
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:486,6'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:487,3'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:488,3'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:490,3'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:491,3'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:492,3'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:493,3'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:494,3'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:496,13'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:497,3'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:498,3'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:500,3'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:501,3'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:502,3'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:503,3'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:504,3'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:508,2'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:511,2'
          Dst:             insert_pin
    - functionName:    detect_idkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 390
      functionLinenumberEnd: 430
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          88
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - insert_cert
        - insert_key
        - insert_pin
        - sc_select_file
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:398,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-tcos.c:400,2'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:401,2'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:403,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:404,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:405,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:406,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:407,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:408,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:411,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:412,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:413,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:414,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:415,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:416,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:417,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:418,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:419,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:421,2'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:424,2'
          Dst:             insert_pin
    - functionName:    detect_netkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 296
      functionLinenumberEnd: 386
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          257
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - dirpath
        - insert_cert
        - insert_key
        - insert_pin
        - sc_file_free
        - sc_select_file
        - set_string
        - sprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:308,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-tcos.c:309,2'
          Dst:             sprintf
        - Src:             'pkcs15-tcos.c:310,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-tcos.c:312,2'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:313,2'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:317,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:317,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:318,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:318,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:319,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:319,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:320,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:320,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:321,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:321,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:322,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:322,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:323,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:323,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:324,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:324,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:325,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:325,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:326,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:326,2'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:328,22'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:328,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:329,22'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:329,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:330,22'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:330,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:331,22'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:331,2'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:333,2'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:336,2'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:341,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:341,3'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:346,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:346,3'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:351,22'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:351,2'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:359,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-tcos.c:360,3'
          Dst:             sprintf
        - Src:             'pkcs15-tcos.c:361,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-tcos.c:363,24'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:363,3'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:364,24'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:364,3'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:365,24'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:365,3'
          Dst:             insert_cert
        - Src:             'pkcs15-tcos.c:368,24'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:368,4'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:370,24'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:370,4'
          Dst:             insert_key
        - Src:             'pkcs15-tcos.c:373,23'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:373,3'
          Dst:             insert_pin
        - Src:             'pkcs15-tcos.c:378,24'
          Dst:             dirpath
        - Src:             'pkcs15-tcos.c:378,4'
          Dst:             insert_pin
    - functionName:    sc_pkcs15emu_tcos_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 522
      functionLinenumberEnd: 555
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          154
      EdgeCount:       32
      CyclomaticComplexity: 11
      functionsReached:
        - detect_datev
        - detect_idkey
        - detect_netkey
        - detect_signtrust
        - detect_unicard
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_do_log
        - sc_pkcs15_card_clear
        - set_string
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tcos.c:533,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-tcos.c:535,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:538,6'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-tcos.c:540,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-tcos.c:545,2'
          Dst:             set_string
        - Src:             'pkcs15-tcos.c:547,6'
          Dst:             detect_netkey
        - Src:             'pkcs15-tcos.c:548,6'
          Dst:             detect_idkey
        - Src:             'pkcs15-tcos.c:549,6'
          Dst:             detect_unicard
        - Src:             'pkcs15-tcos.c:550,6'
          Dst:             detect_signtrust
        - Src:             'pkcs15-tcos.c:551,6'
          Dst:             detect_datev
        - Src:             'pkcs15-tcos.c:553,2'
          Dst:             sc_pkcs15_card_clear
    - functionName:    do_sign
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-actalis.c'
      linkageType:     InternalLinkage
      functionLinenumber: 60
      functionLinenumberEnd: 61
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    set_sec_env
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-actalis.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 56
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          68
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_add_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-actalis.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      int
      argCount:        10
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          87
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _strlcpy
        - sc_pkcs15emu_add_rsa_prkey
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-actalis.c:126,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-actalis.c:130,16'
          Dst:             sc_pkcs15emu_add_rsa_prkey
    - functionName:    sc_pkcs15emu_add_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-actalis.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 100
      functionDepth:   0
      returnType:      int
      argCount:        12
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - int
        - int
        - char
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          120
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _strlcpy
        - sc_pkcs15emu_add_pin_obj
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-actalis.c:97,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-actalis.c:100,9'
          Dst:             sc_pkcs15emu_add_pin_obj
    - functionName:    sc_pkcs15emu_actalis_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-actalis.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 310
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         37
      ICount:          387
      EdgeCount:       50
      CyclomaticComplexity: 15
      functionsReached:
        - _strlcpy
        - sc_do_log
        - sc_format_path
        - sc_pkcs15_cache_file
        - sc_pkcs15_card_clear
        - sc_pkcs15emu_add_pin
        - sc_pkcs15emu_add_prkey
        - sc_pkcs15emu_add_x509_cert
        - sc_read_binary
        - sc_select_file
        - set_string
        - uncompress
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-actalis.c:174,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-actalis.c:175,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-actalis.c:179,6'
          Dst:             sc_read_binary
        - Src:             'pkcs15-actalis.c:201,2'
          Dst:             set_string
        - Src:             'pkcs15-actalis.c:202,2'
          Dst:             set_string
        - Src:             'pkcs15-actalis.c:203,2'
          Dst:             set_string
        - Src:             'pkcs15-actalis.c:208,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-actalis.c:210,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-actalis.c:219,22'
          Dst:             sc_read_binary
        - Src:             'pkcs15-actalis.c:228,5'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-actalis.c:233,8'
          Dst:             sc_read_binary
        - Src:             'pkcs15-actalis.c:234,9'
          Dst:             uncompress
        - Src:             'pkcs15-actalis.c:242,4'
          Dst:             sc_pkcs15_cache_file
        - Src:             'pkcs15-actalis.c:249,4'
          Dst:             _strlcpy
        - Src:             'pkcs15-actalis.c:253,8'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-actalis.c:255,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-actalis.c:272,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-actalis.c:277,2'
          Dst:             sc_pkcs15emu_add_pin
        - Src:             'pkcs15-actalis.c:284,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-actalis.c:289,2'
          Dst:             sc_pkcs15emu_add_prkey
        - Src:             'pkcs15-actalis.c:298,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-actalis.c:299,2'
          Dst:             sc_select_file
    - functionName:    uncompress
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    actalis_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-actalis.c'
      linkageType:     InternalLinkage
      functionLinenumber: 313
      functionLinenumberEnd: 321
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-actalis.c:317,6'
          Dst:             strcmp
    - functionName:    sc_pkcs15emu_actalis_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-actalis.c'
      linkageType:     InternalLinkage
      functionLinenumber: 325
      functionLinenumberEnd: 329
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - actalis_detect_card
        - sc_pkcs15emu_actalis_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-actalis.c:326,6'
          Dst:             actalis_detect_card
        - Src:             'pkcs15-actalis.c:328,9'
          Dst:             sc_pkcs15emu_actalis_init
    - functionName:    get_cert_len
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 88
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          87
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - sc_read_binary
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-atrust-acos.c:77,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-atrust-acos.c:80,6'
          Dst:             sc_read_binary
    - functionName:    sc_pkcs15emu_atrust_acos_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 113
      functionLinenumberEnd: 260
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         45
      ICount:          470
      EdgeCount:       61
      CyclomaticComplexity: 18
      functionsReached:
        - _strlcpy
        - get_cert_len
        - sc_bin_to_hex
        - sc_file_free
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_format_id
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_x509_cert
        - sc_read_binary
        - sc_select_file
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-atrust-acos.c:146,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-atrust-acos.c:147,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-atrust-acos.c:150,6'
          Dst:             sc_read_binary
        - Src:             'pkcs15-atrust-acos.c:153,6'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-atrust-acos.c:157,2'
          Dst:             set_string
        - Src:             'pkcs15-atrust-acos.c:162,2'
          Dst:             set_string
        - Src:             'pkcs15-atrust-acos.c:167,2'
          Dst:             set_string
        - Src:             'pkcs15-atrust-acos.c:179,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-atrust-acos.c:181,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-atrust-acos.c:182,8'
          Dst:             get_cert_len
        - Src:             'pkcs15-atrust-acos.c:186,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-atrust-acos.c:189,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-atrust-acos.c:201,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-atrust-acos.c:210,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-atrust-acos.c:214,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-atrust-acos.c:217,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-atrust-acos.c:229,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-atrust-acos.c:234,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-atrust-acos.c:236,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-atrust-acos.c:239,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-atrust-acos.c:241,7'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-atrust-acos.c:247,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-atrust-acos.c:248,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-atrust-acos.c:252,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-atrust-acos.c:258,2'
          Dst:             sc_pkcs15_card_clear
    - functionName:    acos_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 91
      functionLinenumberEnd: 110
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - sc_format_path
        - sc_read_binary
        - sc_select_file
        - strncmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-atrust-acos.c:98,6'
          Dst:             strncmp
        - Src:             'pkcs15-atrust-acos.c:101,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-atrust-acos.c:102,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-atrust-acos.c:105,6'
          Dst:             sc_read_binary
    - functionName:    sc_pkcs15emu_atrust_acos_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-atrust-acos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 264
      functionLinenumberEnd: 268
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - acos_detect_card
        - sc_pkcs15emu_atrust_acos_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-atrust-acos.c:265,6'
          Dst:             acos_detect_card
        - Src:             'pkcs15-atrust-acos.c:267,9'
          Dst:             sc_pkcs15emu_atrust_acos_init
    - functionName:    get_service
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tccardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 82
      functionLinenumberEnd: 93
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          59
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    get_keyholder
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tccardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 68
      functionLinenumberEnd: 79
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          48
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    create_pkey_obj
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tccardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 163
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          154
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - get_service
        - sc_format_path
        - sc_pkcs15emu_add_rsa_prkey
        - sprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tccardos.c:150,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-tccardos.c:154,36'
          Dst:             get_service
        - Src:             'pkcs15-tccardos.c:154,2'
          Dst:             sprintf
        - Src:             'pkcs15-tccardos.c:163,9'
          Dst:             sc_pkcs15emu_add_rsa_prkey
    - functionName:    create_pin_obj
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tccardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 168
      functionLinenumberEnd: 199
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          101
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - get_service
        - sc_format_path
        - sc_pkcs15emu_add_pin_obj
        - sprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tccardos.c:190,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-tccardos.c:194,37'
          Dst:             get_service
        - Src:             'pkcs15-tccardos.c:194,2'
          Dst:             sprintf
        - Src:             'pkcs15-tccardos.c:199,9'
          Dst:             sc_pkcs15emu_add_pin_obj
    - functionName:    create_cert_obj
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tccardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 96
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          85
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - get_keyholder
        - get_service
        - sc_pkcs15emu_add_x509_cert
        - sprintf
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tccardos.c:115,35'
          Dst:             get_keyholder
        - Src:             'pkcs15-tccardos.c:115,58'
          Dst:             get_service
        - Src:             'pkcs15-tccardos.c:115,2'
          Dst:             sprintf
        - Src:             'pkcs15-tccardos.c:119,9'
          Dst:             sc_pkcs15emu_add_x509_cert
    - functionName:    read_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tccardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 65
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          94
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - sc_file_free
        - sc_format_path
        - sc_read_binary
        - sc_select_file
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tccardos.c:51,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-tccardos.c:52,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-tccardos.c:59,6'
          Dst:             sc_read_binary
        - Src:             'pkcs15-tccardos.c:60,2'
          Dst:             sc_file_free
    - functionName:    parse_EF_CardInfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tccardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 312
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         54
      ICount:          464
      EdgeCount:       74
      CyclomaticComplexity: 22
      functionsReached:
        - create_cert_obj
        - create_pin_obj
        - create_pkey_obj
        - read_file
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tccardos.c:219,6'
          Dst:             read_file
        - Src:             'pkcs15-tccardos.c:223,6'
          Dst:             read_file
        - Src:             'pkcs15-tccardos.c:231,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-tccardos.c:280,8'
          Dst:             create_cert_obj
        - Src:             'pkcs15-tccardos.c:285,8'
          Dst:             create_cert_obj
        - Src:             'pkcs15-tccardos.c:290,8'
          Dst:             create_cert_obj
        - Src:             'pkcs15-tccardos.c:295,8'
          Dst:             create_cert_obj
        - Src:             'pkcs15-tccardos.c:301,8'
          Dst:             create_pin_obj
        - Src:             'pkcs15-tccardos.c:307,7'
          Dst:             create_pkey_obj
    - functionName:    sc_pkcs15_tccardos_init_func
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tccardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 316
      functionLinenumberEnd: 370
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         25
      ICount:          174
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - parse_EF_CardInfo
        - sc_bin_to_hex
        - sc_file_free
        - sc_format_path
        - sc_parse_ef_gdo
        - sc_pkcs15_card_clear
        - sc_select_file
        - set_string
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tccardos.c:326,6'
          Dst:             strcmp
        - Src:             'pkcs15-tccardos.c:329,6'
          Dst:             parse_EF_CardInfo
        - Src:             'pkcs15-tccardos.c:333,2'
          Dst:             set_string
        - Src:             'pkcs15-tccardos.c:337,2'
          Dst:             set_string
        - Src:             'pkcs15-tccardos.c:343,6'
          Dst:             sc_parse_ef_gdo
        - Src:             'pkcs15-tccardos.c:348,2'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-tccardos.c:349,2'
          Dst:             set_string
        - Src:             'pkcs15-tccardos.c:355,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-tccardos.c:356,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-tccardos.c:362,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-tccardos.c:368,2'
          Dst:             sc_pkcs15_card_clear
    - functionName:    sc_pkcs15emu_tccardos_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-tccardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 374
      functionLinenumberEnd: 375
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_tccardos_init_func
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-tccardos.c:375,9'
          Dst:             sc_pkcs15_tccardos_init_func
    - functionName:    piv_get_guid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 130
      functionLinenumberEnd: 233
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          386
      EdgeCount:       72
      CyclomaticComplexity: 20
      functionsReached:
        - sc_card_ctl
        - sc_pkcs15_get_object_id
        - sprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-piv.c:142,6'
          Dst:             sc_pkcs15_get_object_id
        - Src:             'pkcs15-piv.c:146,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-piv.c:230,3'
          Dst:             sprintf
    - functionName:    sc_pkcs15emu_piv_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 1297
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         336
      ICount:          2928
      EdgeCount:       429
      CyclomaticComplexity: 95
      functionsReached:
        - getenv
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_format_oid
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_encode_pubkey_as_spki
        - sc_pkcs15_format_id
        - sc_pkcs15_free_certificate
        - sc_pkcs15_free_pubkey
        - sc_pkcs15_get_bitstring_extension
        - sc_pkcs15_get_name_from_dn
        - sc_pkcs15_pubkey_from_spki_file
        - sc_pkcs15_read_certificate
        - sc_pkcs15_read_file
        - sc_pkcs15emu_add_ec_prkey
        - sc_pkcs15emu_add_ec_pubkey
        - sc_pkcs15emu_add_eddsa_prkey
        - sc_pkcs15emu_add_eddsa_pubkey
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_rsa_pubkey
        - sc_pkcs15emu_add_x509_cert
        - sc_pkcs15emu_add_xeddsa_prkey
        - sc_pkcs15emu_add_xeddsa_pubkey
        - sc_pkcs15emu_object_add
        - sc_strerror
        - set_string
        - strcmp
        - strncpy
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-piv.c:845,3'
          Branch Sides:    []
        - Branch String:   'pkcs15-piv.c:1096,4'
          Branch Sides:    []
        - Branch String:   'pkcs15-piv.c:1128,3'
          Branch Sides:    []
        - Branch String:   'pkcs15-piv.c:1202,4'
          Branch Sides:    []
        - Branch String:   'pkcs15-piv.c:1243,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-piv.c:659,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:666,2'
          Dst:             set_string
        - Src:             'pkcs15-piv.c:667,2'
          Dst:             set_string
        - Src:             'pkcs15-piv.c:676,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-piv.c:678,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:679,3'
          Dst:             set_string
        - Src:             'pkcs15-piv.c:681,3'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-piv.c:682,3'
          Dst:             set_string
        - Src:             'pkcs15-piv.c:689,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:698,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:699,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-piv.c:702,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-piv.c:706,3'
          Dst:             strncpy
        - Src:             'pkcs15-piv.c:707,7'
          Dst:             sc_format_oid
        - Src:             'pkcs15-piv.c:709,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:709,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:709,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:713,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:715,3'
          Dst:             strncpy
        - Src:             'pkcs15-piv.c:718,7'
          Dst:             sc_pkcs15emu_object_add
        - Src:             'pkcs15-piv.c:722,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:722,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:722,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:736,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:758,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:760,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-piv.c:762,3'
          Dst:             strncpy
        - Src:             'pkcs15-piv.c:766,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-piv.c:768,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:773,7'
          Dst:             sc_pkcs15_read_file
        - Src:             'pkcs15-piv.c:776,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:792,8'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-piv.c:794,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:796,5'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-piv.c:806,8'
          Dst:             sc_pkcs15_get_name_from_dn
        - Src:             'pkcs15-piv.c:811,6'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-piv.c:814,6'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:814,6'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:835,8'
          Dst:             sc_pkcs15_get_bitstring_extension
        - Src:             'pkcs15-piv.c:947,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:954,3'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-piv.c:956,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-piv.c:958,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:964,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:972,27'
          Dst:             strcmp
        - Src:             'pkcs15-piv.c:979,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:988,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-piv.c:992,4'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-piv.c:999,3'
          Dst:             strncpy
        - Src:             'pkcs15-piv.c:1010,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-piv.c:1011,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:1011,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:1019,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1029,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:1035,3'
          Dst:             strncpy
        - Src:             'pkcs15-piv.c:1040,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:1051,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1062,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1068,15'
          Dst:             getenv
        - Src:             'pkcs15-piv.c:1069,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1073,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1075,8'
          Dst:             sc_pkcs15_pubkey_from_spki_file
        - Src:             'pkcs15-piv.c:1082,8'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'pkcs15-piv.c:1083,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:1083,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:1112,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1119,8'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'pkcs15-piv.c:1121,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:1121,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:1127,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1136,5'
          Dst:             strncpy
        - Src:             'pkcs15-piv.c:1139,9'
          Dst:             sc_pkcs15emu_add_rsa_pubkey
        - Src:             'pkcs15-piv.c:1140,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:1140,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:1154,5'
          Dst:             strncpy
        - Src:             'pkcs15-piv.c:1159,10'
          Dst:             sc_pkcs15emu_add_eddsa_pubkey
        - Src:             'pkcs15-piv.c:1161,10'
          Dst:             sc_pkcs15emu_add_xeddsa_pubkey
        - Src:             'pkcs15-piv.c:1163,10'
          Dst:             sc_pkcs15emu_add_ec_pubkey
        - Src:             'pkcs15-piv.c:1165,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:1165,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:1170,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1173,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1179,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1191,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:1194,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-piv.c:1196,3'
          Dst:             strncpy
        - Src:             'pkcs15-piv.c:1200,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-piv.c:1205,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1209,5'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:1210,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1214,5'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:1215,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1219,5'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:1223,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:1226,34'
          Dst:             strcmp
        - Src:             'pkcs15-piv.c:1227,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-piv.c:1240,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1255,9'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-piv.c:1270,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1274,10'
          Dst:             sc_pkcs15emu_add_eddsa_prkey
        - Src:             'pkcs15-piv.c:1276,10'
          Dst:             sc_pkcs15emu_add_xeddsa_prkey
        - Src:             'pkcs15-piv.c:1278,10'
          Dst:             sc_pkcs15emu_add_ec_prkey
        - Src:             'pkcs15-piv.c:1281,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1284,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1285,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:1285,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:1290,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:1290,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:1290,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1293,3'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             'pkcs15-piv.c:1295,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-piv.c:1296,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-piv.c:1296,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-piv.c:1296,2'
          Dst:             sc_do_log
    - functionName:    piv_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 237
      functionLinenumberEnd: 245
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          53
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-piv.c:240,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_piv_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-piv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1301
      functionLinenumberEnd: 1310
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          48
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - piv_detect_card
        - sc_do_log
        - sc_pkcs15emu_piv_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-piv.c:1305,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-piv.c:1307,6'
          Dst:             piv_detect_card
        - Src:             'pkcs15-piv.c:1309,9'
          Dst:             sc_pkcs15emu_piv_init
    - functionName:    cac_get_name
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 78
      functionLinenumberEnd: 86
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          33
      EdgeCount:       12
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-cac.c:79,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_pkcs15emu_cac_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 89
      functionLinenumberEnd: 367
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         115
      ICount:          1139
      EdgeCount:       148
      CyclomaticComplexity: 35
      functionsReached:
        - _sc_debug_hex
        - cac_get_name
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_encode_pubkey_as_spki
        - sc_pkcs15_format_id
        - sc_pkcs15_free_certificate
        - sc_pkcs15_get_bitstring_extension
        - sc_pkcs15_get_name_from_dn
        - sc_pkcs15_map_usage
        - sc_pkcs15_read_certificate
        - sc_pkcs15_read_file
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_rsa_pubkey
        - sc_pkcs15emu_add_x509_cert
        - sc_pkcs15emu_object_add
        - sc_strerror
        - set_string
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cac.c:120,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:126,41'
          Dst:             cac_get_name
        - Src:             'pkcs15-cac.c:126,2'
          Dst:             set_string
        - Src:             'pkcs15-cac.c:127,2'
          Dst:             set_string
        - Src:             'pkcs15-cac.c:132,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-cac.c:134,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:135,3'
          Dst:             set_string
        - Src:             'pkcs15-cac.c:137,3'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-cac.c:138,3'
          Dst:             set_string
        - Src:             'pkcs15-cac.c:145,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:155,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-cac.c:163,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-cac.c:167,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:168,3'
          Dst:             strncpy
        - Src:             'pkcs15-cac.c:172,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-cac.c:173,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:173,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:175,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-cac.c:176,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:176,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:181,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:181,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:188,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:188,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:192,7'
          Dst:             sc_pkcs15emu_object_add
        - Src:             'pkcs15-cac.c:194,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:194,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:197,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:197,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:205,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:207,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:207,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:221,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:221,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:253,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-cac.c:255,7'
          Dst:             sc_pkcs15_read_file
        - Src:             'pkcs15-cac.c:258,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:263,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:265,3'
          Dst:             _sc_debug_hex
        - Src:             'pkcs15-cac.c:276,8'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-cac.c:278,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:280,5'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-cac.c:285,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-cac.c:287,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:288,4'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-cac.c:297,8'
          Dst:             sc_pkcs15_get_name_from_dn
        - Src:             'pkcs15-cac.c:315,7'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'pkcs15-cac.c:320,7'
          Dst:             sc_pkcs15_get_bitstring_extension
        - Src:             'pkcs15-cac.c:324,3'
          Dst:             sc_pkcs15_map_usage
        - Src:             'pkcs15-cac.c:325,3'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-cac.c:325,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:329,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:330,4'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-cac.c:336,8'
          Dst:             sc_pkcs15emu_add_rsa_pubkey
        - Src:             'pkcs15-cac.c:337,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:344,8'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-cac.c:347,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:352,3'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-cac.c:355,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:355,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:360,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:360,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:362,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:362,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:362,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:365,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-cac.c:366,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cac.c:366,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cac.c:366,2'
          Dst:             sc_do_log
    - functionName:    cac_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 65
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          53
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cac.c:68,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_cac_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 371
      functionLinenumberEnd: 380
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          48
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - cac_detect_card
        - sc_do_log
        - sc_pkcs15emu_cac_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cac.c:375,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cac.c:377,6'
          Dst:             cac_detect_card
        - Src:             'pkcs15-cac.c:379,9'
          Dst:             sc_pkcs15emu_cac_init
    - functionName:    sc_pkcs15emu_entersafe_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-esinit.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          108
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_do_log
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-esinit.c:52,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-esinit.c:55,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-esinit.c:58,6'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-esinit.c:62,2'
          Dst:             set_string
        - Src:             'pkcs15-esinit.c:67,2'
          Dst:             set_string
    - functionName:    entersafe_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-esinit.c'
      linkageType:     InternalLinkage
      functionLinenumber: 33
      functionLinenumberEnd: 43
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          43
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-esinit.c:36,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-esinit.c:39,6'
          Dst:             strcmp
    - functionName:    sc_pkcs15emu_entersafe_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-esinit.c'
      linkageType:     InternalLinkage
      functionLinenumber: 79
      functionLinenumberEnd: 85
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          42
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - entersafe_detect_card
        - sc_do_log
        - sc_pkcs15emu_entersafe_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-esinit.c:80,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-esinit.c:82,6'
          Dst:             entersafe_detect_card
        - Src:             'pkcs15-esinit.c:84,9'
          Dst:             sc_pkcs15emu_entersafe_init
    - functionName:    parse_odf
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 105
      functionLinenumberEnd: 140
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          153
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - sc_asn1_decode_choice
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
        - sc_format_path
        - sc_pkcs15_add_df
        - sc_pkcs15_make_absolute_path
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pteid.c:119,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-pteid.c:121,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-pteid.c:123,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-pteid.c:125,7'
          Dst:             sc_asn1_decode_choice
        - Src:             'pkcs15-pteid.c:132,7'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15-pteid.c:135,7'
          Dst:             sc_pkcs15_add_df
    - functionName:    dump_ef
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 55
      functionLinenumberEnd: 76
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          85
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - sc_file_free
        - sc_format_path
        - sc_read_binary
        - sc_select_file
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pteid.c:59,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-pteid.c:60,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-pteid.c:62,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-pteid.c:66,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-pteid.c:69,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-pteid.c:70,2'
          Dst:             sc_file_free
    - functionName:    sc_pkcs15emu_pteid_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 143
      functionLinenumberEnd: 339
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         114
      ICount:          789
      EdgeCount:       148
      CyclomaticComplexity: 36
      functionsReached:
        - _strlcpy
        - dump_ef
        - parse_odf
        - pteid_detect_card
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_pin_cmd
        - sc_pkcs15_card_clear
        - sc_pkcs15_format_id
        - sc_pkcs15_free_object
        - sc_pkcs15_parse_df
        - sc_pkcs15_parse_tokeninfo
        - sc_pkcs15_remove_object
        - sc_pkcs15emu_object_add
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pteid.c:154,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:157,6'
          Dst:             pteid_detect_card
        - Src:             'pkcs15-pteid.c:160,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:161,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-pteid.c:162,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-pteid.c:166,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-pteid.c:171,7'
          Dst:             dump_ef
        - Src:             'pkcs15-pteid.c:173,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:174,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pteid.c:174,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pteid.c:174,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:176,7'
          Dst:             sc_pkcs15_parse_tokeninfo
        - Src:             'pkcs15-pteid.c:179,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:180,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pteid.c:180,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pteid.c:180,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:189,7'
          Dst:             dump_ef
        - Src:             'pkcs15-pteid.c:191,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:192,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pteid.c:192,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pteid.c:192,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:194,7'
          Dst:             parse_odf
        - Src:             'pkcs15-pteid.c:196,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:197,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-pteid.c:198,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pteid.c:198,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pteid.c:198,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:204,9'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-pteid.c:206,5'
          Dst:             sc_print_path
        - Src:             'pkcs15-pteid.c:206,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:212,9'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-pteid.c:214,5'
          Dst:             sc_print_path
        - Src:             'pkcs15-pteid.c:214,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:220,9'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-pteid.c:222,5'
          Dst:             sc_print_path
        - Src:             'pkcs15-pteid.c:222,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:228,9'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-pteid.c:230,5'
          Dst:             sc_print_path
        - Src:             'pkcs15-pteid.c:230,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:260,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:266,4'
          Dst:             _strlcpy
        - Src:             'pkcs15-pteid.c:277,9'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-pteid.c:287,4'
          Dst:             sc_pkcs15_remove_object
        - Src:             'pkcs15-pteid.c:288,4'
          Dst:             sc_pkcs15_free_object
        - Src:             'pkcs15-pteid.c:324,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-pteid.c:325,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-pteid.c:327,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-pteid.c:328,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-pteid.c:331,8'
          Dst:             sc_pkcs15emu_object_add
        - Src:             'pkcs15-pteid.c:333,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:338,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pteid.c:338,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pteid.c:338,2'
          Dst:             sc_do_log
    - functionName:    pteid_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 342
      functionLinenumberEnd: 346
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          24
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_pteid_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-pteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 349
      functionLinenumberEnd: 360
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          108
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - pteid_detect_card
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_pteid_init
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-pteid.c:352,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:355,6'
          Dst:             pteid_detect_card
        - Src:             'pkcs15-pteid.c:357,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-pteid.c:357,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pteid.c:357,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-pteid.c:359,2'
          Dst:             sc_pkcs15emu_pteid_init
        - Src:             'pkcs15-pteid.c:359,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-pteid.c:359,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-pteid.c:359,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_esteid2025_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 256
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         132
      ICount:          1050
      EdgeCount:       167
      CyclomaticComplexity: 37
      functionsReached:
        - __ctype_b_loc
        - _strlcpy
        - is_fin_eid
        - realloc
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_free_certificate
        - sc_pkcs15_get_name_from_dn
        - sc_pkcs15_get_objects
        - sc_pkcs15_get_pin_info
        - sc_pkcs15_read_certificate
        - sc_pkcs15emu_add_ec_prkey
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_x509_cert
        - sc_read_binary
        - sc_select_file
        - sc_strerror
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-esteid2025.c:52,6'
          Dst:             is_fin_eid
        - Src:             'pkcs15-esteid2025.c:57,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-esteid2025.c:58,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-esteid2025.c:59,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:59,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:61,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-esteid2025.c:62,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:62,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:64,9'
          Dst:             sc_asn1_find_tag
        - Src:             'pkcs15-esteid2025.c:66,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:66,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:69,9'
          Dst:             __ctype_b_loc
        - Src:             'pkcs15-esteid2025.c:70,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:70,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:76,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:76,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:76,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-esteid2025.c:84,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-esteid2025.c:85,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-esteid2025.c:86,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:86,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:90,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:90,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:90,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-esteid2025.c:91,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-esteid2025.c:94,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:94,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:98,9'
          Dst:             __ctype_b_loc
        - Src:             'pkcs15-esteid2025.c:100,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:100,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:109,2'
          Dst:             set_string
        - Src:             'pkcs15-esteid2025.c:110,2'
          Dst:             set_string
        - Src:             'pkcs15-esteid2025.c:126,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-esteid2025.c:127,29'
          Dst:             is_fin_eid
        - Src:             'pkcs15-esteid2025.c:127,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-esteid2025.c:128,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-esteid2025.c:129,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:129,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:135,7'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-esteid2025.c:136,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:136,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:146,7'
          Dst:             sc_pkcs15_get_name_from_dn
        - Src:             'pkcs15-esteid2025.c:147,3'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-esteid2025.c:148,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:148,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:150,31'
          Dst:             realloc
        - Src:             'pkcs15-esteid2025.c:187,28'
          Dst:             is_fin_eid
        - Src:             'pkcs15-esteid2025.c:189,31'
          Dst:             is_fin_eid
        - Src:             'pkcs15-esteid2025.c:186,30'
          Dst:             is_fin_eid
        - Src:             'pkcs15-esteid2025.c:196,57'
          Dst:             is_fin_eid
        - Src:             'pkcs15-esteid2025.c:198,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-esteid2025.c:206,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-esteid2025.c:207,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:207,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:212,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-esteid2025.c:214,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-esteid2025.c:218,7'
          Dst:             sc_pkcs15_get_pin_info
        - Src:             'pkcs15-esteid2025.c:219,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:219,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:236,32'
          Dst:             is_fin_eid
        - Src:             'pkcs15-esteid2025.c:246,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-esteid2025.c:248,7'
          Dst:             sc_pkcs15emu_add_ec_prkey
        - Src:             'pkcs15-esteid2025.c:249,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:249,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:254,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-esteid2025.c:255,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2025.c:255,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2025.c:255,2'
          Dst:             sc_do_log
    - functionName:    is_fin_eid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 37
      functionLinenumberEnd: 39
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          31
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_esteid2025_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-esteid2025.c'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 264
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          47
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - is_fin_eid
        - sc_pkcs15emu_esteid2025_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-esteid2025.c:261,57'
          Dst:             is_fin_eid
        - Src:             'pkcs15-esteid2025.c:262,10'
          Dst:             sc_pkcs15emu_esteid2025_init
    - functionName:    sc_oberthur_get_certificate_authority
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 188
      functionLinenumberEnd: 231
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          135
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - BIO_ctrl
        - BIO_free
        - BIO_new
        - BIO_s_mem
        - X509_free
        - X509_get_ext_d2i
        - d2i_X509_bio
        - sc_do_log_openssl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:205,16'
          Dst:             BIO_s_mem
        - Src:             'pkcs15-oberthur.c:205,8'
          Dst:             BIO_new
        - Src:             'pkcs15-oberthur.c:208,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-oberthur.c:212,2'
          Dst:             BIO_ctrl
        - Src:             'pkcs15-oberthur.c:213,6'
          Dst:             d2i_X509_bio
        - Src:             'pkcs15-oberthur.c:215,2'
          Dst:             BIO_free
        - Src:             'pkcs15-oberthur.c:217,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-oberthur.c:221,28'
          Dst:             X509_get_ext_d2i
        - Src:             'pkcs15-oberthur.c:225,2'
          Dst:             X509_free
    - functionName:    X509_get_ext_d2i
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_oberthur_add_cert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 664
      functionLinenumberEnd: 747
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         76
      ICount:          509
      EdgeCount:       96
      CyclomaticComplexity: 22
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_oberthur_get_certificate_authority
        - sc_oberthur_read_file
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:674,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:675,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:680,2'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:681,7'
          Dst:             sc_oberthur_read_file
        - Src:             'pkcs15-oberthur.c:682,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:682,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:686,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:686,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:694,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:694,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:699,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:699,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:710,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:710,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:715,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:715,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:718,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:718,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:727,2'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:728,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-oberthur.c:729,7'
          Dst:             sc_oberthur_read_file
        - Src:             'pkcs15-oberthur.c:730,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:730,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:735,7'
          Dst:             sc_oberthur_get_certificate_authority
        - Src:             'pkcs15-oberthur.c:738,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:738,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:744,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-oberthur.c:746,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:746,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:746,2'
          Dst:             sc_do_log
    - functionName:    sc_oberthur_read_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 238
      functionLinenumberEnd: 359
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         94
      ICount:          604
      EdgeCount:       121
      CyclomaticComplexity: 29
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_format_path
        - sc_oberthur_read_file
        - sc_pkcs15_get_objects
        - sc_pkcs15_verify_pin
        - sc_read_binary
        - sc_read_record
        - sc_select_file
        - sc_strerror
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:246,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:248,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:248,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:250,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:255,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-oberthur.c:256,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur.c:258,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:259,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:259,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:267,9'
          Dst:             calloc
        - Src:             'pkcs15-oberthur.c:269,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:270,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:270,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:274,8'
          Dst:             sc_read_binary
        - Src:             'pkcs15-oberthur.c:286,9'
          Dst:             sc_read_record
        - Src:             'pkcs15-oberthur.c:306,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:309,36'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-oberthur.c:313,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:316,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:316,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:316,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:319,11'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-oberthur.c:321,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:324,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:324,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:330,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:342,9'
          Dst:             sc_pkcs15_verify_pin
        - Src:             'pkcs15-oberthur.c:344,10'
          Dst:             sc_oberthur_read_file
        - Src:             'pkcs15-oberthur.c:348,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:358,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:358,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:358,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_oberthur_add_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 574
      functionLinenumberEnd: 651
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         63
      ICount:          435
      EdgeCount:       80
      CyclomaticComplexity: 19
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_oberthur_decode_usage
        - sc_oberthur_read_file
        - sc_pkcs15emu_add_rsa_pubkey
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:584,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:585,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:590,2'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:591,7'
          Dst:             sc_oberthur_read_file
        - Src:             'pkcs15-oberthur.c:592,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:592,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:598,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:598,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:601,19'
          Dst:             sc_oberthur_decode_usage
        - Src:             'pkcs15-oberthur.c:604,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:609,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:609,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:614,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:614,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:625,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:625,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:632,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:632,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:641,2'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:642,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-oberthur.c:648,7'
          Dst:             sc_pkcs15emu_add_rsa_pubkey
        - Src:             'pkcs15-oberthur.c:650,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:650,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:650,2'
          Dst:             sc_do_log
    - functionName:    sc_oberthur_decode_usage
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 159
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         28
      ICount:          153
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_oberthur_parse_publicinfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 457
      functionLinenumberEnd: 494
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          248
      EdgeCount:       44
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_oberthur_add_cert
        - sc_pkcs15emu_oberthur_add_data
        - sc_pkcs15emu_oberthur_add_pubkey
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur.c:473,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur.c:462,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:471,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:475,9'
          Dst:             sc_pkcs15emu_oberthur_add_pubkey
        - Src:             'pkcs15-oberthur.c:476,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:476,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:479,9'
          Dst:             sc_pkcs15emu_oberthur_add_cert
        - Src:             'pkcs15-oberthur.c:480,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:480,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:485,9'
          Dst:             sc_pkcs15emu_oberthur_add_data
        - Src:             'pkcs15-oberthur.c:486,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:486,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:489,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:489,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:493,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:493,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:493,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_oberthur_add_data
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 909
      functionLinenumberEnd: 1010
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         91
      ICount:          645
      EdgeCount:       116
      CyclomaticComplexity: 27
      functionsReached:
        - sc_asn1_decode_object_id
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_oberthur_read_file
        - sc_pkcs15emu_add_data_object
        - sc_strerror
        - snprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:919,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:920,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:924,2'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:926,7'
          Dst:             sc_oberthur_read_file
        - Src:             'pkcs15-oberthur.c:927,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:927,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:931,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:931,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:939,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:939,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:945,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:945,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:954,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:954,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:960,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:960,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:969,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:969,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:974,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:974,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:980,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:980,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:986,2'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:988,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-oberthur.c:993,3'
          Dst:             sc_asn1_decode_object_id
        - Src:             'pkcs15-oberthur.c:1006,7'
          Dst:             sc_pkcs15emu_add_data_object
        - Src:             'pkcs15-oberthur.c:1009,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1009,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1009,2'
          Dst:             sc_do_log
    - functionName:    sc_oberthur_parse_containers
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 401
      functionLinenumberEnd: 451
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          285
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:405,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:418,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:422,30'
          Dst:             calloc
        - Src:             'pkcs15-oberthur.c:435,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:450,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:450,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:450,2'
          Dst:             sc_do_log
    - functionName:    sc_oberthur_parse_tokeninfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 365
      functionLinenumberEnd: 395
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          205
      EdgeCount:       36
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - set_string
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:371,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:373,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:373,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:385,2'
          Dst:             set_string
        - Src:             'pkcs15-oberthur.c:386,2'
          Dst:             set_string
        - Src:             'pkcs15-oberthur.c:391,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:392,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:394,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:394,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:394,2'
          Dst:             sc_do_log
    - functionName:    sc_oberthur_get_friends
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 182
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          136
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_oberthur_add_prvkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 763
      functionLinenumberEnd: 903
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         123
      ICount:          827
      EdgeCount:       157
      CyclomaticComplexity: 36
      functionsReached:
        - _strlcpy
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_oberthur_decode_usage
        - sc_oberthur_get_friends
        - sc_oberthur_read_file
        - sc_pkcs15_get_objects
        - sc_pkcs15emu_add_rsa_prkey
        - sc_strerror
        - snprintf
        - strlen
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:775,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:776,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:782,7'
          Dst:             sc_oberthur_get_friends
        - Src:             'pkcs15-oberthur.c:783,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:783,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:789,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:790,8'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-oberthur.c:791,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:791,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:799,5'
          Dst:             _strlcpy
        - Src:             'pkcs15-oberthur.c:805,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:805,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:808,2'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:809,7'
          Dst:             sc_oberthur_read_file
        - Src:             'pkcs15-oberthur.c:810,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:810,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:814,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:814,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:822,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:822,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:827,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:827,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:829,14'
          Dst:             strlen
        - Src:             'pkcs15-oberthur.c:832,3'
          Dst:             strncpy
        - Src:             'pkcs15-oberthur.c:839,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:839,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:844,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:844,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:847,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:847,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:850,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:850,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:862,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:862,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:867,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:867,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:872,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:872,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:882,2'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:883,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-oberthur.c:884,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:890,16'
          Dst:             sc_oberthur_decode_usage
        - Src:             'pkcs15-oberthur.c:899,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:901,7'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-oberthur.c:902,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:902,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:902,2'
          Dst:             sc_do_log
    - functionName:    sc_oberthur_parse_privateinfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 500
      functionLinenumberEnd: 560
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          344
      EdgeCount:       68
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15_add_df
        - sc_pkcs15emu_oberthur_add_data
        - sc_pkcs15emu_oberthur_add_prvkey
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur.c:518,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur.c:506,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:516,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:523,9'
          Dst:             sc_pkcs15emu_oberthur_add_prvkey
        - Src:             'pkcs15-oberthur.c:527,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:528,5'
          Dst:             sc_format_path
        - Src:             'pkcs15-oberthur.c:529,10'
          Dst:             sc_pkcs15_add_df
        - Src:             'pkcs15-oberthur.c:530,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:530,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:533,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:533,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:538,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:542,9'
          Dst:             sc_pkcs15emu_oberthur_add_data
        - Src:             'pkcs15-oberthur.c:546,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:547,5'
          Dst:             sc_format_path
        - Src:             'pkcs15-oberthur.c:548,10'
          Dst:             sc_pkcs15_add_df
        - Src:             'pkcs15-oberthur.c:549,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:549,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:552,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:552,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:555,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:555,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:559,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:559,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:559,2'
          Dst:             sc_do_log
    - functionName:    sc_awp_clear
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1207
      functionLinenumberEnd: 1209
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          24
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:1208,2'
          Dst:             sc_do_log
    - functionName:    sc_awp_parse_df
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1174
      functionLinenumberEnd: 1202
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         47
      ICount:          265
      EdgeCount:       58
      CyclomaticComplexity: 13
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_oberthur_parse_privateinfo
        - sc_oberthur_read_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:1180,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1182,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1182,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1182,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1185,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1185,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1185,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1187,7'
          Dst:             sc_oberthur_read_file
        - Src:             'pkcs15-oberthur.c:1188,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1188,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1190,7'
          Dst:             sc_oberthur_parse_privateinfo
        - Src:             'pkcs15-oberthur.c:1196,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1196,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1196,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1198,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1198,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1201,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1201,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1201,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_oberthur_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1015
      functionLinenumberEnd: 1143
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         67
      ICount:          570
      EdgeCount:       84
      CyclomaticComplexity: 19
      functionsReached:
        - sc_bin_to_hex
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_oberthur_read_file
        - sc_pkcs15_card_clear
        - sc_pkcs15_print_id
        - sc_pkcs15emu_add_pin_obj
        - sc_select_file
        - sc_strerror
        - sc_verify
        - set_string
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:1025,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1026,2'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-oberthur.c:1027,2'
          Dst:             set_string
        - Src:             'pkcs15-oberthur.c:1032,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1034,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-oberthur.c:1035,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur.c:1036,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1036,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1039,7'
          Dst:             sc_verify
        - Src:             'pkcs15-oberthur.c:1042,8'
          Dst:             sc_verify
        - Src:             'pkcs15-oberthur.c:1045,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1045,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1068,2'
          Dst:             strncpy
        - Src:             'pkcs15-oberthur.c:1071,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-oberthur.c:1071,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1073,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-oberthur.c:1074,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1074,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1077,7'
          Dst:             sc_verify
        - Src:             'pkcs15-oberthur.c:1100,3'
          Dst:             strncpy
        - Src:             'pkcs15-oberthur.c:1112,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-oberthur.c:1115,3'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-oberthur.c:1115,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1117,8'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-oberthur.c:1118,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1118,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1121,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1121,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1125,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1127,8'
          Dst:             sc_oberthur_read_file
        - Src:             'pkcs15-oberthur.c:1129,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1129,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1131,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1135,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1135,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1138,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1138,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1138,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1141,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-oberthur.c:1142,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1142,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1142,2'
          Dst:             sc_do_log
    - functionName:    oberthur_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1148
      functionLinenumberEnd: 1155
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          117
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:1151,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1153,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1153,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1153,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1154,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1154,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1154,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_oberthur_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1160
      functionLinenumberEnd: 1168
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          84
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - oberthur_detect_card
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_oberthur_init
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:1163,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:1164,7'
          Dst:             oberthur_detect_card
        - Src:             'pkcs15-oberthur.c:1166,8'
          Dst:             sc_pkcs15emu_oberthur_init
        - Src:             'pkcs15-oberthur.c:1168,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:1168,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:1168,2'
          Dst:             sc_do_log
    - functionName:    itacns_add_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 335
      functionLinenumberEnd: 366
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          125
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - _strlcpy
        - sc_do_log
        - sc_pkcs15emu_add_pin_obj
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:339,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:357,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-itacns.c:366,9'
          Dst:             sc_pkcs15emu_add_pin_obj
    - functionName:    itacns_add_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 296
      functionLinenumberEnd: 326
      functionDepth:   0
      returnType:      int
      argCount:        10
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - size_t
        - int
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          113
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - _strlcpy
        - sc_do_log
        - sc_pkcs15emu_add_rsa_prkey
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:300,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:303,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:321,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-itacns.c:325,9'
          Dst:             sc_pkcs15emu_add_rsa_prkey
    - functionName:    itacns_add_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 264
      functionLinenumberEnd: 288
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          108
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - _strlcpy
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_add_rsa_pubkey
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:269,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:279,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-itacns.c:284,6'
          Dst:             sc_pkcs15emu_add_rsa_pubkey
        - Src:             'pkcs15-itacns.c:285,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:285,2'
          Dst:             sc_do_log_color
    - functionName:    itacns_add_keyset
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 581
      functionLinenumberEnd: 642
      functionDepth:   0
      returnType:      int
      argCount:        10
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - char
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          224
      EdgeCount:       32
      CyclomaticComplexity: 8
      functionsReached:
        - _strlcpy
        - itacns_add_pin
        - itacns_add_prkey
        - itacns_add_pubkey
        - sc_do_log_color
        - sc_format_path
        - sc_strerror
        - strlcat
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:592,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-itacns.c:593,7'
          Dst:             itacns_add_pubkey
        - Src:             'pkcs15-itacns.c:595,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:595,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:604,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-itacns.c:607,6'
          Dst:             itacns_add_prkey
        - Src:             'pkcs15-itacns.c:611,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:611,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:615,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-itacns.c:616,2'
          Dst:             strlcat
        - Src:             'pkcs15-itacns.c:622,6'
          Dst:             itacns_add_pin
        - Src:             'pkcs15-itacns.c:624,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:624,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:627,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-itacns.c:628,2'
          Dst:             strlcat
        - Src:             'pkcs15-itacns.c:636,6'
          Dst:             itacns_add_pin
        - Src:             'pkcs15-itacns.c:638,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:638,2'
          Dst:             sc_do_log_color
    - functionName:    itacns_add_cert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 189
      functionLinenumberEnd: 259
      functionDepth:   0
      returnType:      int
      argCount:        11
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          250
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - CRYPTO_free
        - X509_check_purpose
        - X509_get_extended_key_usage
        - X509_get_extension_flags
        - X509_get_key_usage
        - _strlcpy
        - d2i_X509
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_pkcs15_free_certificate
        - sc_pkcs15_read_certificate
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:200,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:203,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:219,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-itacns.c:224,6'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-itacns.c:225,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:225,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:230,10'
          Dst:             d2i_X509
        - Src:             'pkcs15-itacns.c:237,2'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-itacns.c:239,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-itacns.c:242,2'
          Dst:             X509_check_purpose
        - Src:             'pkcs15-itacns.c:244,5'
          Dst:             X509_get_extension_flags
        - Src:             'pkcs15-itacns.c:246,16'
          Dst:             X509_get_key_usage
        - Src:             'pkcs15-itacns.c:247,18'
          Dst:             X509_get_extended_key_usage
        - Src:             'pkcs15-itacns.c:249,2'
          Dst:             CRYPTO_free
        - Src:             'pkcs15-itacns.c:254,6'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-itacns.c:255,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:255,2'
          Dst:             sc_do_log_color
    - functionName:    X509_check_purpose
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_get_extension_flags
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_get_key_usage
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_get_extended_key_usage
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hextoint
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 370
      functionLinenumberEnd: 383
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          60
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - strncpy
        - strtol
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:377,2'
          Dst:             strncpy
        - Src:             'pkcs15-itacns.c:379,13'
          Dst:             strtol
    - functionName:    get_name_from_EF_DatiPersonali
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 387
      functionLinenumberEnd: 479
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          215
      EdgeCount:       38
      CyclomaticComplexity: 12
      functionsReached:
        - hextoint
        - snprintf
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:401,14'
          Dst:             hextoint
        - Src:             'pkcs15-itacns.c:457,16'
          Dst:             hextoint
        - Src:             'pkcs15-itacns.c:466,3'
          Dst:             strncpy
        - Src:             'pkcs15-itacns.c:475,2'
          Dst:             snprintf
    - functionName:    itacns_check_and_add_keyset
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 654
      functionLinenumberEnd: 756
      functionDepth:   0
      returnType:      int
      argCount:        9
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          375
      EdgeCount:       72
      CyclomaticComplexity: 20
      functionsReached:
        - itacns_add_cert
        - itacns_add_keyset
        - loadFile
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_select_file
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:669,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:674,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-itacns.c:675,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-itacns.c:679,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:692,7'
          Dst:             loadFile
        - Src:             'pkcs15-itacns.c:693,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:693,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:705,6'
          Dst:             itacns_add_cert
        - Src:             'pkcs15-itacns.c:709,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:709,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:749,6'
          Dst:             itacns_add_keyset
        - Src:             'pkcs15-itacns.c:752,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:752,2'
          Dst:             sc_do_log_color
    - functionName:    loadFile
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 179
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          59
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_read_binary
        - sc_select_file
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:171,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:173,11'
          Dst:             sc_select_file
        - Src:             'pkcs15-itacns.c:177,11'
          Dst:             sc_read_binary
    - functionName:    itacns_add_data_files
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 482
      functionLinenumberEnd: 574
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         35
      ICount:          295
      EdgeCount:       46
      CyclomaticComplexity: 13
      functionsReached:
        - _strlcpy
        - get_name_from_EF_DatiPersonali
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15_free_data_object
        - sc_pkcs15_get_objects
        - sc_pkcs15_read_data_object
        - sc_pkcs15emu_add_data_object
        - sc_strerror
        - set_string
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:502,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-itacns.c:506,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-itacns.c:508,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-itacns.c:511,8'
          Dst:             sc_pkcs15emu_add_data_object
        - Src:             'pkcs15-itacns.c:512,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:512,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:522,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-itacns.c:526,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-itacns.c:529,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:536,7'
          Dst:             strcmp
        - Src:             'pkcs15-itacns.c:541,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:548,7'
          Dst:             sc_pkcs15_read_data_object
        - Src:             'pkcs15-itacns.c:550,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:558,7'
          Dst:             get_name_from_EF_DatiPersonali
        - Src:             'pkcs15-itacns.c:560,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:563,4'
          Dst:             sc_pkcs15_free_data_object
        - Src:             'pkcs15-itacns.c:568,3'
          Dst:             set_string
        - Src:             'pkcs15-itacns.c:572,2'
          Dst:             sc_pkcs15_free_data_object
    - functionName:    itacns_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 761
      functionLinenumberEnd: 878
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         68
      ICount:          522
      EdgeCount:       86
      CyclomaticComplexity: 20
      functionsReached:
        - itacns_add_data_files
        - itacns_check_and_add_keyset
        - loadFile
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_select_file
        - sc_strerror
        - set_string
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:768,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:770,2'
          Dst:             set_string
        - Src:             'pkcs15-itacns.c:784,3'
          Dst:             snprintf
        - Src:             'pkcs15-itacns.c:787,3'
          Dst:             set_string
        - Src:             'pkcs15-itacns.c:794,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-itacns.c:795,11'
          Dst:             loadFile
        - Src:             'pkcs15-itacns.c:799,3'
          Dst:             set_string
        - Src:             'pkcs15-itacns.c:825,6'
          Dst:             itacns_add_data_files
        - Src:             'pkcs15-itacns.c:826,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:826,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:831,6'
          Dst:             itacns_check_and_add_keyset
        - Src:             'pkcs15-itacns.c:834,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:834,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:839,6'
          Dst:             itacns_check_and_add_keyset
        - Src:             'pkcs15-itacns.c:842,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:842,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:847,6'
          Dst:             itacns_check_and_add_keyset
        - Src:             'pkcs15-itacns.c:850,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:850,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:855,6'
          Dst:             itacns_check_and_add_keyset
        - Src:             'pkcs15-itacns.c:858,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:858,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:864,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:868,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-itacns.c:869,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-itacns.c:870,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:870,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:873,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:873,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:873,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:876,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-itacns.c:877,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-itacns.c:877,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-itacns.c:877,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_itacns_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-itacns.c'
      linkageType:     InternalLinkage
      functionLinenumber: 881
      functionLinenumberEnd: 895
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          71
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - itacns_init
        - sc_do_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-itacns.c:883,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-itacns.c:894,9'
          Dst:             itacns_init
    - functionName:    sc_pkcs15emu_get_df
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 459
      functionLinenumberEnd: 484
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          100
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - sc_file_free
        - sc_file_new
        - sc_format_path
        - sc_pkcs15_add_df
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gemsafeV1.c:476,10'
          Dst:             sc_file_new
        - Src:             'pkcs15-gemsafeV1.c:479,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-gemsafeV1.c:480,3'
          Dst:             sc_pkcs15_add_df
        - Src:             'pkcs15-gemsafeV1.c:481,3'
          Dst:             sc_file_free
    - functionName:    sc_pkcs15emu_add_object
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 490
      functionLinenumberEnd: 532
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          169
      EdgeCount:       27
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_add_object
        - sc_pkcs15emu_get_df
        - sc_strerror
        - strncpy
      functionUses:    3
      BranchProfiles:
        - Branch String:   'pkcs15-gemsafeV1.c:509,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-gemsafeV1.c:494,8'
          Dst:             calloc
        - Src:             'pkcs15-gemsafeV1.c:496,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gemsafeV1.c:496,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gemsafeV1.c:496,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:503,3'
          Dst:             strncpy
        - Src:             'pkcs15-gemsafeV1.c:523,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:528,12'
          Dst:             sc_pkcs15emu_get_df
        - Src:             'pkcs15-gemsafeV1.c:529,2'
          Dst:             sc_pkcs15_add_object
    - functionName:    sc_pkcs15emu_add_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 595
      functionLinenumberEnd: 618
      functionDepth:   0
      returnType:      int
      argCount:        10
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          130
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_add_object
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gemsafeV1.c:598,9'
          Dst:             calloc
        - Src:             'pkcs15-gemsafeV1.c:601,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gemsafeV1.c:601,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gemsafeV1.c:601,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:616,9'
          Dst:             sc_pkcs15emu_add_object
    - functionName:    sc_pkcs15emu_add_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 541
      functionLinenumberEnd: 565
      functionDepth:   0
      returnType:      int
      argCount:        12
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - int
        - int
        - char
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          164
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_add_object
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gemsafeV1.c:544,9'
          Dst:             calloc
        - Src:             'pkcs15-gemsafeV1.c:546,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gemsafeV1.c:546,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gemsafeV1.c:546,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:564,9'
          Dst:             sc_pkcs15emu_add_object
    - functionName:    sc_pkcs15emu_add_cert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 573
      functionLinenumberEnd: 586
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          108
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_add_object
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gemsafeV1.c:575,9'
          Dst:             calloc
        - Src:             'pkcs15-gemsafeV1.c:578,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gemsafeV1.c:578,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gemsafeV1.c:578,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:585,9'
          Dst:             sc_pkcs15emu_add_object
    - functionName:    gemsafe_get_cert_len
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 163
      functionLinenumberEnd: 295
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         70
      ICount:          518
      EdgeCount:       94
      CyclomaticComplexity: 26
      functionsReached:
        - sc_do_log
        - sc_file_free
        - sc_format_path
        - sc_read_binary
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gemsafeV1.c:174,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-gemsafeV1.c:175,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-gemsafeV1.c:178,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-gemsafeV1.c:181,13'
          Dst:             sc_read_binary
        - Src:             'pkcs15-gemsafeV1.c:183,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:191,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:193,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:215,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:222,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:241,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-gemsafeV1.c:244,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:253,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:265,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:272,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:288,4'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_gemsafeV1_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 306
      functionLinenumberEnd: 447
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         62
      ICount:          594
      EdgeCount:       83
      CyclomaticComplexity: 23
      functionsReached:
        - gemsafe_get_cert_len
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_apdu
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_format_id
        - sc_pkcs15emu_add_cert
        - sc_pkcs15emu_add_pin
        - sc_pkcs15emu_add_prkey
        - sc_select_file
        - sc_strerror
        - sc_transmit_apdu
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gemsafeV1.c:315,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:317,2'
          Dst:             set_string
        - Src:             'pkcs15-gemsafeV1.c:321,2'
          Dst:             set_string
        - Src:             'pkcs15-gemsafeV1.c:329,2'
          Dst:             sc_format_apdu
        - Src:             'pkcs15-gemsafeV1.c:337,6'
          Dst:             sc_transmit_apdu
        - Src:             'pkcs15-gemsafeV1.c:339,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-gemsafeV1.c:340,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gemsafeV1.c:340,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gemsafeV1.c:343,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-gemsafeV1.c:348,2'
          Dst:             set_string
        - Src:             'pkcs15-gemsafeV1.c:350,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-gemsafeV1.c:355,6'
          Dst:             gemsafe_get_cert_len
        - Src:             'pkcs15-gemsafeV1.c:357,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-gemsafeV1.c:362,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:369,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-gemsafeV1.c:370,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-gemsafeV1.c:373,3'
          Dst:             sc_pkcs15emu_add_cert
        - Src:             'pkcs15-gemsafeV1.c:379,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:384,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-gemsafeV1.c:385,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-gemsafeV1.c:388,7'
          Dst:             memcmp
        - Src:             'pkcs15-gemsafeV1.c:390,4'
          Dst:             sc_pkcs15emu_add_pin
        - Src:             'pkcs15-gemsafeV1.c:400,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:408,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-gemsafeV1.c:410,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-gemsafeV1.c:414,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-gemsafeV1.c:422,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:427,3'
          Dst:             sc_pkcs15emu_add_prkey
        - Src:             'pkcs15-gemsafeV1.c:435,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gemsafeV1.c:436,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-gemsafeV1.c:437,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-gemsafeV1.c:439,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-gemsafeV1.c:443,2'
          Dst:             sc_file_free
    - functionName:    gemsafe_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 298
      functionLinenumberEnd: 303
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gemsafeV1.c:299,6'
          Dst:             strcmp
    - functionName:    sc_pkcs15emu_gemsafeV1_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gemsafeV1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 451
      functionLinenumberEnd: 455
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - gemsafe_detect_card
        - sc_pkcs15emu_gemsafeV1_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gemsafeV1.c:452,6'
          Dst:             gemsafe_detect_card
        - Src:             'pkcs15-gemsafeV1.c:454,9'
          Dst:             sc_pkcs15emu_gemsafeV1_init
    - functionName:    sc_pkcs15emu_sc_hsm_add_pubkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1065
      functionLinenumberEnd: 1125
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          306
      EdgeCount:       54
      CyclomaticComplexity: 13
      functionsReached:
        - _strlcpy
        - sc_do_log_color
        - sc_pkcs15_encode_pubkey
        - sc_pkcs15_encode_pubkey_as_spki
        - sc_pkcs15_erase_pubkey
        - sc_pkcs15emu_add_ec_pubkey
        - sc_pkcs15emu_add_rsa_pubkey
        - sc_pkcs15emu_sc_hsm_decode_cvc
        - sc_pkcs15emu_sc_hsm_free_cvc
        - sc_pkcs15emu_sc_hsm_get_public_key
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:1078,6'
          Dst:             sc_pkcs15emu_sc_hsm_decode_cvc
        - Src:             'pkcs15-sc-hsm.c:1079,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1079,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1082,6'
          Dst:             sc_pkcs15emu_sc_hsm_get_public_key
        - Src:             'pkcs15-sc-hsm.c:1083,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1083,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1088,6'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             'pkcs15-sc-hsm.c:1090,3'
          Dst:             sc_pkcs15_erase_pubkey
        - Src:             'pkcs15-sc-hsm.c:1091,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1091,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1093,6'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             'pkcs15-sc-hsm.c:1095,3'
          Dst:             sc_pkcs15_erase_pubkey
        - Src:             'pkcs15-sc-hsm.c:1096,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1096,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1098,6'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'pkcs15-sc-hsm.c:1100,3'
          Dst:             sc_pkcs15_erase_pubkey
        - Src:             'pkcs15-sc-hsm.c:1101,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1101,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1105,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-sc-hsm.c:1110,7'
          Dst:             sc_pkcs15emu_add_rsa_pubkey
        - Src:             'pkcs15-sc-hsm.c:1115,7'
          Dst:             sc_pkcs15emu_add_ec_pubkey
        - Src:             'pkcs15-sc-hsm.c:1119,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1119,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1121,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
        - Src:             'pkcs15-sc-hsm.c:1122,2'
          Dst:             sc_pkcs15_erase_pubkey
    - functionName:    sc_pkcs15emu_sc_hsm_decode_cvc
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 433
      functionLinenumberEnd: 484
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          239
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - fixup_cvc_printable_string_lengths
        - sc_asn1_decode
        - sc_asn1_read_tag
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_pkcs15emu_sc_hsm_format_asn1_cvcert
        - sc_pkcs15emu_sc_hsm_format_asn1_req
        - sc_strerror
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:447,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:448,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:450,6'
          Dst:             sc_pkcs15emu_sc_hsm_format_asn1_cvcert
        - Src:             'pkcs15-sc-hsm.c:455,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:455,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:457,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:459,6'
          Dst:             sc_pkcs15emu_sc_hsm_format_asn1_req
        - Src:             'pkcs15-sc-hsm.c:462,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:462,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:464,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:469,6'
          Dst:             sc_asn1_read_tag
        - Src:             'pkcs15-sc-hsm.c:470,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:470,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:474,7'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-sc-hsm.c:476,7'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-sc-hsm.c:479,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:479,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:481,2'
          Dst:             fixup_cvc_printable_string_lengths
        - Src:             'pkcs15-sc-hsm.c:483,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:483,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:483,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_sc_hsm_get_public_key
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1012
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_pkcs15emu_sc_hsm_get_ec_public_key
        - sc_pkcs15emu_sc_hsm_get_rsa_public_key
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:1008,10'
          Dst:             sc_pkcs15emu_sc_hsm_get_ec_public_key
        - Src:             'pkcs15-sc-hsm.c:1010,10'
          Dst:             sc_pkcs15emu_sc_hsm_get_rsa_public_key
    - functionName:    sc_pkcs15emu_sc_hsm_free_cvc
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1017
      functionLinenumberEnd: 1054
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         30
      ICount:          193
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_sc_hsm_get_ec_public_key
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 937
      functionLinenumberEnd: 1001
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          282
      EdgeCount:       26
      CyclomaticComplexity: 9
      functionsReached:
        - calloc
        - sc_do_log
        - sc_pkcs15_fix_ec_parameters
        - sc_pkcs15emu_sc_hsm_get_curve_oid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:944,6'
          Dst:             sc_pkcs15emu_sc_hsm_get_curve_oid
        - Src:             'pkcs15-sc-hsm.c:948,8'
          Dst:             calloc
        - Src:             'pkcs15-sc-hsm.c:953,19'
          Dst:             calloc
        - Src:             'pkcs15-sc-hsm.c:964,45'
          Dst:             calloc
        - Src:             'pkcs15-sc-hsm.c:995,6'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-sc-hsm.c:997,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_sc_hsm_get_rsa_public_key
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 908
      functionLinenumberEnd: 932
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          152
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:911,45'
          Dst:             calloc
    - functionName:    sc_pkcs15emu_sc_hsm_get_curve_oid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 889
      functionLinenumberEnd: 903
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          124
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:894,6'
          Dst:             memcmp
        - Src:             'pkcs15-sc-hsm.c:896,6'
          Dst:             memcmp
    - functionName:    sc_pkcs15emu_sc_hsm_format_asn1_cvcert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 365
      functionLinenumberEnd: 396
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          160
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:372,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:373,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:374,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:376,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:377,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:378,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:379,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:380,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:381,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:382,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:383,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:384,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:386,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:388,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:389,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:391,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:393,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:394,2'
          Dst:             sc_format_asn1_entry
    - functionName:    sc_pkcs15emu_sc_hsm_format_asn1_req
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 413
      functionLinenumberEnd: 425
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          57
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:418,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:420,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:422,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:423,2'
          Dst:             sc_format_asn1_entry
    - functionName:    fixup_cvc_printable_string_lengths
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 337
      functionLinenumberEnd: 348
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          63
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_sc_hsm_add_cd
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1277
      functionLinenumberEnd: 1311
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          145
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - read_file
        - sc_do_log_color
        - sc_pkcs15_decode_cdf_entry
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:1293,6'
          Dst:             read_file
        - Src:             'pkcs15-sc-hsm.c:1294,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1294,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1299,6'
          Dst:             sc_pkcs15_decode_cdf_entry
        - Src:             'pkcs15-sc-hsm.c:1302,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1302,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1306,6'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-sc-hsm.c:1308,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1308,2'
          Dst:             sc_do_log_color
    - functionName:    read_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 293
      functionLinenumberEnd: 334
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          156
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_path_set
        - sc_pkcs15_cache_file
        - sc_pkcs15_read_cached_file
        - sc_read_binary
        - sc_select_file
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:297,2'
          Dst:             sc_path_set
        - Src:             'pkcs15-sc-hsm.c:303,21'
          Dst:             sc_pkcs15_read_cached_file
        - Src:             'pkcs15-sc-hsm.c:306,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-sc-hsm.c:308,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:310,8'
          Dst:             sc_read_binary
        - Src:             'pkcs15-sc-hsm.c:314,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:329,4'
          Dst:             sc_pkcs15_cache_file
    - functionName:    sc_pkcs15emu_sc_hsm_add_dcod
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1238
      functionLinenumberEnd: 1270
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          124
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - read_file
        - sc_do_log_color
        - sc_pkcs15_decode_dodf_entry
        - sc_pkcs15emu_add_data_object
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:1254,6'
          Dst:             read_file
        - Src:             'pkcs15-sc-hsm.c:1255,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1255,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1260,6'
          Dst:             sc_pkcs15_decode_dodf_entry
        - Src:             'pkcs15-sc-hsm.c:1261,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1261,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1265,6'
          Dst:             sc_pkcs15emu_add_data_object
        - Src:             'pkcs15-sc-hsm.c:1267,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1267,2'
          Dst:             sc_do_log_color
    - functionName:    sc_pkcs15emu_sc_hsm_add_prkd
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1132
      functionLinenumberEnd: 1231
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         39
      ICount:          313
      EdgeCount:       50
      CyclomaticComplexity: 13
      functionsReached:
        - _strlcpy
        - read_file
        - sc_do_log_color
        - sc_path_set
        - sc_pkcs15_decode_prkdf_entry
        - sc_pkcs15emu_add_ec_prkey
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_x509_cert
        - sc_pkcs15emu_sc_hsm_add_pubkey
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:1156,6'
          Dst:             read_file
        - Src:             'pkcs15-sc-hsm.c:1157,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1157,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1162,6'
          Dst:             sc_pkcs15_decode_prkdf_entry
        - Src:             'pkcs15-sc-hsm.c:1163,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1163,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1179,7'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-sc-hsm.c:1185,7'
          Dst:             sc_pkcs15emu_add_ec_prkey
        - Src:             'pkcs15-sc-hsm.c:1188,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1188,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1194,6'
          Dst:             read_file
        - Src:             'pkcs15-sc-hsm.c:1195,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1195,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1198,3'
          Dst:             sc_pkcs15emu_sc_hsm_add_pubkey
        - Src:             'pkcs15-sc-hsm.c:1212,2'
          Dst:             sc_path_set
        - Src:             'pkcs15-sc-hsm.c:1223,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-sc-hsm.c:1224,6'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-sc-hsm.c:1228,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1228,2'
          Dst:             sc_do_log_color
    - functionName:    sc_pkcs15emu_sc_hsm_read_tokeninfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1316
      functionLinenumberEnd: 1333
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          123
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - read_file
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_parse_tokeninfo
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:1322,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1326,6'
          Dst:             read_file
        - Src:             'pkcs15-sc-hsm.c:1327,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1327,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1329,6'
          Dst:             sc_pkcs15_parse_tokeninfo
        - Src:             'pkcs15-sc-hsm.c:1330,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1330,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1332,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1332,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1332,2'
          Dst:             sc_do_log
    - functionName:    sc_asn1_sc_hsm_pka_set_ptr_callback
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 528
      functionLinenumberEnd: 534
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          45
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_asn1_decode
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:534,9'
          Dst:             sc_asn1_decode
    - functionName:    sc_asn1_sc_hsm_pka_data_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 540
      functionLinenumberEnd: 616
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          275
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_asn1_sc_hsm_pka_set_ptr_callback
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_pkcs15emu_sc_hsm_format_asn1_cvcert
        - sc_pkcs15emu_sc_hsm_format_asn1_req
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:548,6'
          Dst:             sc_pkcs15emu_sc_hsm_format_asn1_cvcert
        - Src:             'pkcs15-sc-hsm.c:553,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:553,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:555,6'
          Dst:             sc_pkcs15emu_sc_hsm_format_asn1_req
        - Src:             'pkcs15-sc-hsm.c:559,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:559,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:566,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:570,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:570,2'
          Dst:             sc_asn1_sc_hsm_pka_set_ptr_callback
        - Src:             'pkcs15-sc-hsm.c:575,6'
          Dst:             sc_pkcs15emu_sc_hsm_format_asn1_cvcert
        - Src:             'pkcs15-sc-hsm.c:580,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:580,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:587,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:591,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:591,2'
          Dst:             sc_asn1_sc_hsm_pka_set_ptr_callback
        - Src:             'pkcs15-sc-hsm.c:596,6'
          Dst:             sc_pkcs15emu_sc_hsm_format_asn1_cvcert
        - Src:             'pkcs15-sc-hsm.c:601,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:601,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:608,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:612,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:612,2'
          Dst:             sc_asn1_sc_hsm_pka_set_ptr_callback
    - functionName:    sc_pkcs15emu_sc_hsm_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1342
      functionLinenumberEnd: 1598
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         179
      ICount:          1307
      EdgeCount:       228
      CyclomaticComplexity: 51
      functionsReached:
        - _strlcpy
        - calloc
        - read_file
        - realloc
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_hsm_set_serialnr
        - sc_list_files
        - sc_path_set
        - sc_pin_cmd
        - sc_pkcs15_card_clear
        - sc_pkcs15_get_pin_info
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_sc_hsm_add_cd
        - sc_pkcs15emu_sc_hsm_add_dcod
        - sc_pkcs15emu_sc_hsm_add_prkd
        - sc_pkcs15emu_sc_hsm_decode_cvc
        - sc_pkcs15emu_sc_hsm_free_cvc
        - sc_pkcs15emu_sc_hsm_read_tokeninfo
        - sc_select_file
        - sc_strerror
        - strcmp
        - strdup
        - strnlen
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-sc-hsm.c:1581,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:1359,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1361,12'
          Dst:             calloc
        - Src:             'pkcs15-sc-hsm.c:1364,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1364,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1364,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1372,2'
          Dst:             sc_path_set
        - Src:             'pkcs15-sc-hsm.c:1373,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-sc-hsm.c:1374,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1374,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1383,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-sc-hsm.c:1391,7'
          Dst:             read_file
        - Src:             'pkcs15-sc-hsm.c:1392,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1392,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1396,10'
          Dst:             realloc
        - Src:             'pkcs15-sc-hsm.c:1408,6'
          Dst:             sc_pkcs15emu_sc_hsm_decode_cvc
        - Src:             'pkcs15-sc-hsm.c:1409,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1409,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1411,2'
          Dst:             sc_pkcs15emu_sc_hsm_read_tokeninfo
        - Src:             'pkcs15-sc-hsm.c:1416,32'
          Dst:             strdup
        - Src:             'pkcs15-sc-hsm.c:1418,32'
          Dst:             strdup
        - Src:             'pkcs15-sc-hsm.c:1421,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1421,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1421,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1424,56'
          Dst:             strcmp
        - Src:             'pkcs15-sc-hsm.c:1432,42'
          Dst:             strdup
        - Src:             'pkcs15-sc-hsm.c:1434,42'
          Dst:             strdup
        - Src:             'pkcs15-sc-hsm.c:1437,4'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-sc-hsm.c:1438,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1438,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1438,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1442,19'
          Dst:             strdup
        - Src:             'pkcs15-sc-hsm.c:1444,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-sc-hsm.c:1445,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1445,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1445,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1448,8'
          Dst:             strnlen
        - Src:             'pkcs15-sc-hsm.c:1454,38'
          Dst:             calloc
        - Src:             'pkcs15-sc-hsm.c:1456,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-sc-hsm.c:1457,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1457,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1457,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1463,2'
          Dst:             sc_hsm_set_serialnr
        - Src:             'pkcs15-sc-hsm.c:1465,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
        - Src:             'pkcs15-sc-hsm.c:1487,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-sc-hsm.c:1492,6'
          Dst:             sc_pkcs15_get_pin_info
        - Src:             'pkcs15-sc-hsm.c:1496,4'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-sc-hsm.c:1497,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1497,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1497,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1500,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-sc-hsm.c:1502,4'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-sc-hsm.c:1503,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1503,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1503,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1525,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-sc-hsm.c:1530,6'
          Dst:             sc_pkcs15_get_pin_info
        - Src:             'pkcs15-sc-hsm.c:1539,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-sc-hsm.c:1540,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1540,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1540,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1543,6'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-sc-hsm.c:1545,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-sc-hsm.c:1546,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1546,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1546,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1560,7'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-sc-hsm.c:1568,7'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-sc-hsm.c:1575,19'
          Dst:             sc_list_files
        - Src:             'pkcs15-sc-hsm.c:1577,3'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-sc-hsm.c:1578,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1578,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1583,8'
          Dst:             sc_pkcs15emu_sc_hsm_add_prkd
        - Src:             'pkcs15-sc-hsm.c:1586,8'
          Dst:             sc_pkcs15emu_sc_hsm_add_dcod
        - Src:             'pkcs15-sc-hsm.c:1589,8'
          Dst:             sc_pkcs15emu_sc_hsm_add_cd
        - Src:             'pkcs15-sc-hsm.c:1593,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:1597,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:1597,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:1597,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_sc_hsm_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1604
      functionLinenumberEnd: 1611
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          62
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_pkcs15emu_sc_hsm_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:1610,9'
          Dst:             sc_pkcs15emu_sc_hsm_init
    - functionName:    sc_pkcs15emu_sc_hsm_get_curve
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 874
      functionLinenumberEnd: 884
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          83
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:878,41'
          Dst:             memcmp
    - functionName:    sc_pkcs15emu_sc_hsm_encode_cvc
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 819
      functionLinenumberEnd: 869
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          311
      EdgeCount:       46
      CyclomaticComplexity: 13
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:827,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:828,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:829,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:830,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:835,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:837,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:839,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:841,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:842,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:843,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:845,4'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:847,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:850,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:853,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:854,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:855,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:856,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:858,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:860,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:863,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:865,6'
          Dst:             sc_asn1_encode
        - Src:             'pkcs15-sc-hsm.c:866,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:866,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:868,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:868,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:868,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_sc_hsm_free_cvc_pka
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1057
      functionLinenumberEnd: 1062
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15emu_sc_hsm_free_cvc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:1058,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
        - Src:             'pkcs15-sc-hsm.c:1059,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
        - Src:             'pkcs15-sc-hsm.c:1060,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
    - functionName:    decode_pka_old_format
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 632
      functionLinenumberEnd: 664
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          140
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - sc_asn1_decode
        - sc_asn1_sc_hsm_pka_data_init
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:639,11'
          Dst:             calloc
        - Src:             'pkcs15-sc-hsm.c:645,6'
          Dst:             sc_asn1_sc_hsm_pka_data_init
        - Src:             'pkcs15-sc-hsm.c:646,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:646,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:648,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:653,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-sc-hsm.c:655,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:655,2'
          Dst:             sc_do_log_color
    - functionName:    decode_pka_new_format
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 689
      functionLinenumberEnd: 733
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          166
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - sc_asn1_decode
        - sc_asn1_sc_hsm_pka_data_init
        - sc_compare_oid
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_do_log_color
        - sc_dump_oid
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:696,11'
          Dst:             calloc
        - Src:             'pkcs15-sc-hsm.c:702,6'
          Dst:             sc_asn1_sc_hsm_pka_data_init
        - Src:             'pkcs15-sc-hsm.c:703,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:703,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:705,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:706,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:707,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:709,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:711,2'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-sc-hsm.c:714,6'
          Dst:             sc_asn1_decode
        - Src:             'pkcs15-sc-hsm.c:716,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:716,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:719,6'
          Dst:             sc_compare_oid
        - Src:             'pkcs15-sc-hsm.c:721,3'
          Dst:             sc_dump_oid
        - Src:             'pkcs15-sc-hsm.c:721,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_sc_hsm_decode_pka
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 742
      functionLinenumberEnd: 811
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          241
      EdgeCount:       44
      CyclomaticComplexity: 11
      functionsReached:
        - decode_pka_new_format
        - decode_pka_old_format
        - fixup_cvc_printable_string_lengths
        - sc_asn1_read_tag
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_sc_hsm_free_cvc_pka
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:758,6'
          Dst:             sc_asn1_read_tag
        - Src:             'pkcs15-sc-hsm.c:759,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:759,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:765,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:773,6'
          Dst:             sc_asn1_read_tag
        - Src:             'pkcs15-sc-hsm.c:774,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:774,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:779,7'
          Dst:             decode_pka_new_format
        - Src:             'pkcs15-sc-hsm.c:780,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:780,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:788,7'
          Dst:             decode_pka_old_format
        - Src:             'pkcs15-sc-hsm.c:789,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:789,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:792,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:799,2'
          Dst:             fixup_cvc_printable_string_lengths
        - Src:             'pkcs15-sc-hsm.c:800,2'
          Dst:             fixup_cvc_printable_string_lengths
        - Src:             'pkcs15-sc-hsm.c:801,2'
          Dst:             fixup_cvc_printable_string_lengths
        - Src:             'pkcs15-sc-hsm.c:809,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc_pka
    - functionName:    coolkey_get_object
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 84
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          50
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:78,6'
          Dst:             sc_card_ctl
    - functionName:    coolkey_make_new_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 258
      functionLinenumberEnd: 258
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          13
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    coolkey_find_matching_cert
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 111
      functionLinenumberEnd: 145
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          96
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - sc_card_ctl
        - ulong2bebytes
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:122,2'
          Dst:             ulong2bebytes
        - Src:             'pkcs15-coolkey.c:127,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-coolkey.c:139,6'
          Dst:             sc_card_ctl
    - functionName:    coolkey_get_object_type
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 254
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    coolkey_get_public_key_from_certificate
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 422
      functionLinenumberEnd: 451
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          101
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - coolkey_get_certificate
        - coolkey_get_flags
        - sc_pkcs15_free_certificate
        - sc_pkcs15_read_certificate
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:431,6'
          Dst:             coolkey_get_certificate
        - Src:             'pkcs15-coolkey.c:436,2'
          Dst:             coolkey_get_flags
        - Src:             'pkcs15-coolkey.c:438,6'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-coolkey.c:446,3'
          Dst:             sc_pkcs15_free_certificate
    - functionName:    coolkey_get_certificate
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          125
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - coolkey_find_matching_cert
        - coolkey_get_attribute_lv
        - coolkey_get_object
        - coolkey_get_object_type
        - coolkey_make_new_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:273,6'
          Dst:             coolkey_get_object_type
        - Src:             'pkcs15-coolkey.c:274,7'
          Dst:             coolkey_find_matching_cert
        - Src:             'pkcs15-coolkey.c:279,6'
          Dst:             coolkey_get_attribute_lv
        - Src:             'pkcs15-coolkey.c:281,15'
          Dst:             coolkey_make_new_id
        - Src:             'pkcs15-coolkey.c:282,7'
          Dst:             coolkey_get_object
    - functionName:    coolkey_get_flags
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 359
      functionLinenumberEnd: 360
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - coolkey_set_bool_flags
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:360,9'
          Dst:             coolkey_set_bool_flags
    - functionName:    coolkey_set_bool_flags
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 336
      functionLinenumberEnd: 346
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          74
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_get_attribute_boolean
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:341,7'
          Dst:             coolkey_get_attribute_boolean
    - functionName:    coolkey_get_attribute_boolean
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 183
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          63
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - coolkey_get_attribute
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:174,6'
          Dst:             coolkey_get_attribute
    - functionName:    coolkey_get_attribute
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 91
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          71
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_card_ctl
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:98,6'
          Dst:             sc_card_ctl
    - functionName:    coolkey_get_attribute_lv
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 244
      functionLinenumberEnd: 246
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - coolkey_get_attribute_bytes_alloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:246,9'
          Dst:             coolkey_get_attribute_bytes_alloc
    - functionName:    coolkey_get_attribute_bytes_alloc
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          76
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - coolkey_get_attribute
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:211,6'
          Dst:             coolkey_get_attribute
    - functionName:    coolkey_make_public_key
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 375
      functionLinenumberEnd: 417
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          147
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
        - coolkey_get_attribute_bytes_alloc
        - coolkey_get_attribute_lv
        - sc_pkcs15_fix_ec_parameters
        - sc_pkcs15_free_pubkey
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-coolkey.c:382,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-coolkey.c:379,8'
          Dst:             calloc
        - Src:             'pkcs15-coolkey.c:385,7'
          Dst:             coolkey_get_attribute_lv
        - Src:             'pkcs15-coolkey.c:389,7'
          Dst:             coolkey_get_attribute_lv
        - Src:             'pkcs15-coolkey.c:396,7'
          Dst:             coolkey_get_attribute_bytes_alloc
        - Src:             'pkcs15-coolkey.c:400,7'
          Dst:             coolkey_get_attribute_bytes_alloc
        - Src:             'pkcs15-coolkey.c:405,7'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-coolkey.c:413,2'
          Dst:             sc_pkcs15_free_pubkey
    - functionName:    coolkey_get_public_key
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 456
      functionLinenumberEnd: 464
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - coolkey_get_public_key_from_certificate
        - coolkey_make_public_key
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:459,8'
          Dst:             coolkey_make_public_key
        - Src:             'pkcs15-coolkey.c:463,9'
          Dst:             coolkey_get_public_key_from_certificate
    - functionName:    coolkey_get_access
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 365
      functionLinenumberEnd: 366
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - coolkey_set_bool_flags
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:366,9'
          Dst:             coolkey_set_bool_flags
    - functionName:    coolkey_get_usage
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 352
      functionLinenumberEnd: 353
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          22
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - coolkey_set_bool_flags
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:353,9'
          Dst:             coolkey_set_bool_flags
    - functionName:    coolkey_get_id
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 227
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - coolkey_get_attribute_bytes
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:227,9'
          Dst:             coolkey_get_attribute_bytes
    - functionName:    coolkey_get_attribute_bytes
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 187
      functionLinenumberEnd: 202
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          68
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - coolkey_get_attribute
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:192,6'
          Dst:             coolkey_get_attribute
    - functionName:    coolkey_get_attribute_ulong
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 149
      functionLinenumberEnd: 165
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          71
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - bebytes2ulong
        - coolkey_get_attribute
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:155,7'
          Dst:             coolkey_get_attribute
        - Src:             'pkcs15-coolkey.c:163,11'
          Dst:             bebytes2ulong
    - functionName:    sc_pkcs15emu_coolkey_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 467
      functionLinenumberEnd: 727
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         112
      ICount:          914
      EdgeCount:       141
      CyclomaticComplexity: 31
      functionsReached:
        - coolkey_get_access
        - coolkey_get_attribute_bytes
        - coolkey_get_attribute_ulong
        - coolkey_get_certificate
        - coolkey_get_flags
        - coolkey_get_id
        - coolkey_get_public_key
        - coolkey_get_usage
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_encode_pubkey_as_spki
        - sc_pkcs15_find_cert_by_id
        - sc_pkcs15_format_id
        - sc_pkcs15_free_pubkey
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_object_add
        - sc_strerror
        - set_string
        - strncpy
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-coolkey.c:575,3'
          Branch Sides:    []
        - Branch String:   'pkcs15-coolkey.c:700,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-coolkey.c:492,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:502,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-coolkey.c:505,3'
          Dst:             set_string
        - Src:             'pkcs15-coolkey.c:506,3'
          Dst:             set_string
        - Src:             'pkcs15-coolkey.c:507,3'
          Dst:             set_string
        - Src:             'pkcs15-coolkey.c:511,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:521,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-coolkey.c:529,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-coolkey.c:533,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:534,3'
          Dst:             strncpy
        - Src:             'pkcs15-coolkey.c:537,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-coolkey.c:538,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-coolkey.c:538,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-coolkey.c:543,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-coolkey.c:543,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-coolkey.c:545,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:560,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-coolkey.c:560,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-coolkey.c:561,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:565,3'
          Dst:             coolkey_get_attribute_bytes
        - Src:             'pkcs15-coolkey.c:566,3'
          Dst:             coolkey_get_flags
        - Src:             'pkcs15-coolkey.c:568,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-coolkey.c:571,7'
          Dst:             coolkey_get_attribute_ulong
        - Src:             'pkcs15-coolkey.c:577,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:578,8'
          Dst:             coolkey_get_attribute_ulong
        - Src:             'pkcs15-coolkey.c:590,4'
          Dst:             coolkey_get_id
        - Src:             'pkcs15-coolkey.c:594,4'
          Dst:             coolkey_get_usage
        - Src:             'pkcs15-coolkey.c:595,4'
          Dst:             coolkey_get_access
        - Src:             'pkcs15-coolkey.c:596,10'
          Dst:             coolkey_get_public_key
        - Src:             'pkcs15-coolkey.c:613,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:614,8'
          Dst:             coolkey_get_attribute_ulong
        - Src:             'pkcs15-coolkey.c:623,10'
          Dst:             coolkey_get_public_key
        - Src:             'pkcs15-coolkey.c:630,8'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'pkcs15-coolkey.c:634,4'
          Dst:             coolkey_get_id
        - Src:             'pkcs15-coolkey.c:638,4'
          Dst:             coolkey_get_usage
        - Src:             'pkcs15-coolkey.c:639,4'
          Dst:             coolkey_get_access
        - Src:             'pkcs15-coolkey.c:656,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:659,4'
          Dst:             coolkey_get_id
        - Src:             'pkcs15-coolkey.c:664,8'
          Dst:             coolkey_get_certificate
        - Src:             'pkcs15-coolkey.c:673,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:677,7'
          Dst:             sc_pkcs15emu_object_add
        - Src:             'pkcs15-coolkey.c:679,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:682,4'
          Dst:             sc_pkcs15_free_pubkey
        - Src:             'pkcs15-coolkey.c:689,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-coolkey.c:689,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-coolkey.c:711,7'
          Dst:             sc_pkcs15_find_cert_by_id
        - Src:             'pkcs15-coolkey.c:715,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:720,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-coolkey.c:720,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-coolkey.c:720,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:723,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-coolkey.c:726,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-coolkey.c:726,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-coolkey.c:726,2'
          Dst:             sc_do_log
    - functionName:    coolkey_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 60
      functionLinenumberEnd: 68
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          53
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:63,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_coolkey_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-coolkey.c'
      linkageType:     InternalLinkage
      functionLinenumber: 732
      functionLinenumberEnd: 745
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          110
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - coolkey_detect_card
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_coolkey_init
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-coolkey.c:737,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:739,7'
          Dst:             coolkey_detect_card
        - Src:             'pkcs15-coolkey.c:741,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-coolkey.c:741,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-coolkey.c:741,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-coolkey.c:742,7'
          Dst:             sc_pkcs15emu_coolkey_init
        - Src:             'pkcs15-coolkey.c:744,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-coolkey.c:744,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-coolkey.c:744,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_din_66291_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-din-66291.c'
      linkageType:     InternalLinkage
      functionLinenumber: 42
      functionLinenumberEnd: 194
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         40
      ICount:          402
      EdgeCount:       53
      CyclomaticComplexity: 15
      functionsReached:
        - _strlcpy
        - sc_format_path
        - sc_path_set
        - sc_pin_cmd
        - sc_pkcs15_card_clear
        - sc_pkcs15_free_certificate
        - sc_pkcs15_get_name_from_dn
        - sc_pkcs15_read_certificate
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_x509_cert
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-din-66291.c:62,5'
          Dst:             sc_path_set
        - Src:             'pkcs15-din-66291.c:63,23'
          Dst:             sc_select_file
        - Src:             'pkcs15-din-66291.c:71,23'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-din-66291.c:99,13'
          Dst:             _strlcpy
        - Src:             'pkcs15-din-66291.c:112,21'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-din-66291.c:113,17'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-din-66291.c:141,13'
          Dst:             sc_format_path
        - Src:             'pkcs15-din-66291.c:142,31'
          Dst:             sc_select_file
        - Src:             'pkcs15-din-66291.c:149,21'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-din-66291.c:154,35'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-din-66291.c:158,21'
          Dst:             sc_pkcs15_get_name_from_dn
        - Src:             'pkcs15-din-66291.c:170,21'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-din-66291.c:188,21'
          Dst:             sc_pkcs15emu_add_rsa_prkey
    - functionName:    sc_pkcs15emu_din_66291_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-din-66291.c'
      linkageType:     InternalLinkage
      functionLinenumber: 197
      functionLinenumberEnd: 282
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         63
      ICount:          354
      EdgeCount:       86
      CyclomaticComplexity: 25
      functionsReached:
        - memcmp
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_do_log
        - sc_file_free
        - sc_format_path
        - sc_path_set
        - sc_pkcs15_free_tokeninfo
        - sc_pkcs15_parse_tokeninfo
        - sc_pkcs15_tokeninfo_new
        - sc_pkcs15emu_din_66291_init
        - sc_read_binary
        - sc_select_file
        - set_string
        - strcmp
        - strdup
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-din-66291.c:208,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-din-66291.c:210,17'
          Dst:             sc_pkcs15_tokeninfo_new
        - Src:             'pkcs15-din-66291.c:213,29'
          Dst:             memcmp
        - Src:             'pkcs15-din-66291.c:218,21'
          Dst:             strcmp
        - Src:             'pkcs15-din-66291.c:221,27'
          Dst:             sc_path_set
        - Src:             'pkcs15-din-66291.c:223,34'
          Dst:             sc_select_file
        - Src:             'pkcs15-din-66291.c:224,13'
          Dst:             sc_format_path
        - Src:             'pkcs15-din-66291.c:225,31'
          Dst:             sc_select_file
        - Src:             'pkcs15-din-66291.c:231,17'
          Dst:             sc_read_binary
        - Src:             'pkcs15-din-66291.c:234,17'
          Dst:             sc_pkcs15_parse_tokeninfo
        - Src:             'pkcs15-din-66291.c:239,29'
          Dst:             strcmp
        - Src:             'pkcs15-din-66291.c:246,31'
          Dst:             sc_path_set
        - Src:             'pkcs15-din-66291.c:248,38'
          Dst:             sc_select_file
        - Src:             'pkcs15-din-66291.c:251,50'
          Dst:             strdup
        - Src:             'pkcs15-din-66291.c:255,23'
          Dst:             sc_pkcs15emu_din_66291_init
        - Src:             'pkcs15-din-66291.c:259,5'
          Dst:             sc_pkcs15_free_tokeninfo
        - Src:             'pkcs15-din-66291.c:260,5'
          Dst:             sc_file_free
        - Src:             'pkcs15-din-66291.c:268,30'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-din-66291.c:270,9'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-din-66291.c:271,9'
          Dst:             set_string
        - Src:             'pkcs15-din-66291.c:277,5'
          Dst:             sc_pkcs15_free_tokeninfo
        - Src:             'pkcs15-din-66291.c:278,5'
          Dst:             sc_file_free
    - functionName:    sc_pkcs15emu_idprime_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 52
      functionLinenumberEnd: 353
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         120
      ICount:          1171
      EdgeCount:       157
      CyclomaticComplexity: 39
      functionsReached:
        - _sc_debug_hex
        - memcmp
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_pkcs15_card_clear
        - sc_pkcs15_encode_pubkey_as_spki
        - sc_pkcs15_format_id
        - sc_pkcs15_free_certificate
        - sc_pkcs15_get_bitstring_extension
        - sc_pkcs15_get_name_from_dn
        - sc_pkcs15_map_usage
        - sc_pkcs15_read_certificate
        - sc_pkcs15_read_file
        - sc_pkcs15emu_add_ec_prkey
        - sc_pkcs15emu_add_ec_pubkey
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_rsa_pubkey
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
        - set_string
        - snprintf
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-idprime.c:70,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:73,2'
          Dst:             set_string
        - Src:             'pkcs15-idprime.c:74,2'
          Dst:             set_string
        - Src:             'pkcs15-idprime.c:80,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-idprime.c:82,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:83,3'
          Dst:             set_string
        - Src:             'pkcs15-idprime.c:85,3'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-idprime.c:86,3'
          Dst:             set_string
        - Src:             'pkcs15-idprime.c:89,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:94,2'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-idprime.c:111,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:112,2'
          Dst:             strncpy
        - Src:             'pkcs15-idprime.c:115,6'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-idprime.c:116,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-idprime.c:116,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-idprime.c:120,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:125,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-idprime.c:138,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:139,3'
          Dst:             strncpy
        - Src:             'pkcs15-idprime.c:142,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-idprime.c:143,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-idprime.c:143,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-idprime.c:149,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-idprime.c:152,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:156,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:164,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:166,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-idprime.c:166,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-idprime.c:180,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-idprime.c:180,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-idprime.c:182,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-idprime.c:182,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-idprime.c:199,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:204,3'
          Dst:             snprintf
        - Src:             'pkcs15-idprime.c:205,3'
          Dst:             snprintf
        - Src:             'pkcs15-idprime.c:206,3'
          Dst:             snprintf
        - Src:             'pkcs15-idprime.c:210,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-idprime.c:211,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:213,7'
          Dst:             memcmp
        - Src:             'pkcs15-idprime.c:216,7'
          Dst:             sc_pkcs15_read_file
        - Src:             'pkcs15-idprime.c:219,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:224,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:226,3'
          Dst:             _sc_debug_hex
        - Src:             'pkcs15-idprime.c:237,8'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-idprime.c:239,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:241,5'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-idprime.c:246,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-idprime.c:248,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:249,4'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-idprime.c:258,8'
          Dst:             sc_pkcs15_get_name_from_dn
        - Src:             'pkcs15-idprime.c:276,7'
          Dst:             sc_pkcs15_encode_pubkey_as_spki
        - Src:             'pkcs15-idprime.c:282,7'
          Dst:             sc_pkcs15_get_bitstring_extension
        - Src:             'pkcs15-idprime.c:286,3'
          Dst:             sc_pkcs15_map_usage
        - Src:             'pkcs15-idprime.c:287,3'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-idprime.c:287,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:294,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:295,8'
          Dst:             sc_pkcs15emu_add_rsa_pubkey
        - Src:             'pkcs15-idprime.c:303,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:304,9'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-idprime.c:306,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:313,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:314,8'
          Dst:             sc_pkcs15emu_add_ec_pubkey
        - Src:             'pkcs15-idprime.c:322,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:323,9'
          Dst:             sc_pkcs15emu_add_ec_prkey
        - Src:             'pkcs15-idprime.c:325,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:330,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:331,4'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-idprime.c:338,3'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-idprime.c:341,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-idprime.c:341,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-idprime.c:346,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-idprime.c:346,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-idprime.c:348,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-idprime.c:348,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-idprime.c:348,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:351,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-idprime.c:352,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-idprime.c:352,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-idprime.c:352,2'
          Dst:             sc_do_log
    - functionName:    idprime_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 40
      functionLinenumberEnd: 49
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          53
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-idprime.c:43,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_idprime_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-idprime.c'
      linkageType:     InternalLinkage
      functionLinenumber: 357
      functionLinenumberEnd: 366
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          48
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - idprime_detect_card
        - sc_do_log
        - sc_pkcs15emu_idprime_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-idprime.c:361,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-idprime.c:363,6'
          Dst:             idprime_detect_card
        - Src:             'pkcs15-idprime.c:365,9'
          Dst:             sc_pkcs15emu_idprime_init
    - functionName:    get_nqapplet_certificate
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 35
      functionLinenumberEnd: 56
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          169
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_data
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-nqApplet.c:39,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-nqApplet.c:41,7'
          Dst:             sc_get_data
        - Src:             'pkcs15-nqApplet.c:42,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:42,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:44,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:44,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:55,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:55,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:55,2'
          Dst:             sc_do_log
    - functionName:    add_nqapplet_private_key
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 118
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          123
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - _strlcpy
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_format_id
        - sc_pkcs15emu_add_rsa_prkey
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-nqApplet.c:124,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-nqApplet.c:129,2'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-nqApplet.c:135,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-nqApplet.c:137,2'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-nqApplet.c:139,7'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-nqApplet.c:140,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:140,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:142,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:142,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:142,2'
          Dst:             sc_do_log
    - functionName:    add_nqapplet_certificate
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 114
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          131
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - _strlcpy
        - get_nqapplet_certificate
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_format_id
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-nqApplet.c:99,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-nqApplet.c:104,2'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-nqApplet.c:105,7'
          Dst:             get_nqapplet_certificate
        - Src:             'pkcs15-nqApplet.c:106,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:106,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:108,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-nqApplet.c:110,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-nqApplet.c:111,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:111,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:113,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:113,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:113,2'
          Dst:             sc_do_log
    - functionName:    add_nqapplet_pin
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 59
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          132
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - _strlcpy
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_format_id
        - sc_pkcs15emu_add_pin_obj
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-nqApplet.c:65,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-nqApplet.c:70,2'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-nqApplet.c:83,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-nqApplet.c:86,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-nqApplet.c:87,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:87,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:89,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:89,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:89,2'
          Dst:             sc_do_log
    - functionName:    add_nqapplet_objects
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 176
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         29
      ICount:          183
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - add_nqapplet_certificate
        - add_nqapplet_pin
        - add_nqapplet_private_key
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-nqApplet.c:150,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-nqApplet.c:153,7'
          Dst:             add_nqapplet_pin
        - Src:             'pkcs15-nqApplet.c:154,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:154,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:157,7'
          Dst:             add_nqapplet_certificate
        - Src:             'pkcs15-nqApplet.c:158,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:158,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:161,7'
          Dst:             add_nqapplet_private_key
        - Src:             'pkcs15-nqApplet.c:163,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:163,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:166,7'
          Dst:             add_nqapplet_certificate
        - Src:             'pkcs15-nqApplet.c:169,8'
          Dst:             add_nqapplet_private_key
        - Src:             'pkcs15-nqApplet.c:170,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:170,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:172,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-nqApplet.c:175,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:175,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:175,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_nqapplet_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-nqApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 179
      functionLinenumberEnd: 231
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         45
      ICount:          288
      EdgeCount:       57
      CyclomaticComplexity: 14
      functionsReached:
        - add_nqapplet_objects
        - sc_bin_to_hex
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_free_tokeninfo
        - sc_pkcs15_tokeninfo_new
        - sc_strerror
        - set_string
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-nqApplet.c:191,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-nqApplet.c:194,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-nqApplet.c:198,7'
          Dst:             add_nqapplet_objects
        - Src:             'pkcs15-nqApplet.c:199,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:199,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:202,26'
          Dst:             sc_file_new
        - Src:             'pkcs15-nqApplet.c:205,4'
          Dst:             sc_format_path
        - Src:             'pkcs15-nqApplet.c:206,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-nqApplet.c:211,2'
          Dst:             sc_pkcs15_free_tokeninfo
        - Src:             'pkcs15-nqApplet.c:213,23'
          Dst:             sc_pkcs15_tokeninfo_new
        - Src:             'pkcs15-nqApplet.c:216,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:216,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:220,3'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-nqApplet.c:221,3'
          Dst:             set_string
        - Src:             'pkcs15-nqApplet.c:222,3'
          Dst:             set_string
        - Src:             'pkcs15-nqApplet.c:223,3'
          Dst:             set_string
        - Src:             'pkcs15-nqApplet.c:227,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:227,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:227,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-nqApplet.c:229,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-nqApplet.c:230,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-nqApplet.c:230,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-nqApplet.c:230,2'
          Dst:             sc_do_log
    - functionName:    parse_odf
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 101
      functionLinenumberEnd: 136
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          153
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - sc_asn1_decode_choice
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
        - sc_format_path
        - sc_pkcs15_add_df
        - sc_pkcs15_make_absolute_path
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-dnie.c:115,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-dnie.c:117,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'pkcs15-dnie.c:119,3'
          Dst:             sc_format_asn1_entry
        - Src:             'pkcs15-dnie.c:121,7'
          Dst:             sc_asn1_decode_choice
        - Src:             'pkcs15-dnie.c:128,7'
          Dst:             sc_pkcs15_make_absolute_path
        - Src:             'pkcs15-dnie.c:131,7'
          Dst:             sc_pkcs15_add_df
    - functionName:    dump_ef
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 42
      functionLinenumberEnd: 63
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          85
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - sc_file_free
        - sc_format_path
        - sc_read_binary
        - sc_select_file
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-dnie.c:46,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-dnie.c:47,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-dnie.c:49,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-dnie.c:53,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-dnie.c:56,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-dnie.c:57,2'
          Dst:             sc_file_free
    - functionName:    sc_pkcs15emu_dnie_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 139
      functionLinenumberEnd: 273
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         100
      ICount:          637
      EdgeCount:       129
      CyclomaticComplexity: 31
      functionsReached:
        - dnie_match_card
        - dump_ef
        - parse_odf
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_free_object
        - sc_pkcs15_parse_df
        - sc_pkcs15_parse_tokeninfo
        - sc_pkcs15_remove_object
        - sc_print_path
        - sc_strerror
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-dnie.c:149,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-dnie.c:152,6'
          Dst:             strcmp
        - Src:             'pkcs15-dnie.c:156,6'
          Dst:             dnie_match_card
        - Src:             'pkcs15-dnie.c:165,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-dnie.c:173,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-dnie.c:174,22'
          Dst:             sc_file_new
        - Src:             'pkcs15-dnie.c:177,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:177,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:179,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-dnie.c:182,7'
          Dst:             dump_ef
        - Src:             'pkcs15-dnie.c:183,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:183,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:185,7'
          Dst:             sc_pkcs15_parse_tokeninfo
        - Src:             'pkcs15-dnie.c:187,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:187,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:190,6'
          Dst:             strcmp
        - Src:             'pkcs15-dnie.c:192,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:192,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:196,7'
          Dst:             dump_ef
        - Src:             'pkcs15-dnie.c:197,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:197,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:199,7'
          Dst:             parse_odf
        - Src:             'pkcs15-dnie.c:200,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:200,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:205,9'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-dnie.c:207,5'
          Dst:             sc_print_path
        - Src:             'pkcs15-dnie.c:207,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-dnie.c:213,9'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-dnie.c:215,5'
          Dst:             sc_print_path
        - Src:             'pkcs15-dnie.c:215,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-dnie.c:221,9'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-dnie.c:223,5'
          Dst:             sc_print_path
        - Src:             'pkcs15-dnie.c:223,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-dnie.c:229,9'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-dnie.c:231,5'
          Dst:             sc_print_path
        - Src:             'pkcs15-dnie.c:231,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-dnie.c:260,4'
          Dst:             sc_pkcs15_remove_object
        - Src:             'pkcs15-dnie.c:261,4'
          Dst:             sc_pkcs15_free_object
        - Src:             'pkcs15-dnie.c:267,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:267,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:267,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-dnie.c:270,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-dnie.c:272,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:272,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:272,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_dnie_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-dnie.c'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 297
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          108
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - dnie_match_card
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_dnie_init
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-dnie.c:284,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-dnie.c:288,6'
          Dst:             dnie_match_card
        - Src:             'pkcs15-dnie.c:290,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:290,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:290,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-dnie.c:292,2'
          Dst:             sc_pkcs15emu_dnie_init
        - Src:             'pkcs15-dnie.c:292,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dnie.c:292,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dnie.c:292,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_gids_add_prkey
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 42
      functionLinenumberEnd: 105
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          232
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - _strlcpy
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_rsa_pubkey
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:53,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:65,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-gids.c:70,6'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-gids.c:71,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:71,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:76,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-gids.c:78,2'
          Dst:             snprintf
        - Src:             'pkcs15-gids.c:79,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-gids.c:86,6'
          Dst:             sc_pkcs15emu_add_rsa_pubkey
        - Src:             'pkcs15-gids.c:87,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:87,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:97,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-gids.c:98,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-gids.c:99,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:99,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:101,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_gids_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 112
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         85
      ICount:          669
      EdgeCount:       108
      CyclomaticComplexity: 25
      functionsReached:
        - _strlcpy
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_pin_cmd
        - sc_pkcs15_card_clear
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_gids_add_prkey
        - sc_strerror
        - strcmp
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:122,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:123,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:123,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:125,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:126,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:126,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:131,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:131,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:131,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:133,2'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-gids.c:136,31'
          Dst:             strdup
        - Src:             'pkcs15-gids.c:140,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:140,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:140,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:144,56'
          Dst:             strcmp
        - Src:             'pkcs15-gids.c:150,41'
          Dst:             strdup
        - Src:             'pkcs15-gids.c:152,4'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-gids.c:153,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:153,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:153,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:183,6'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-gids.c:189,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-gids.c:197,12'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-gids.c:203,6'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-gids.c:204,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:204,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:212,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-gids.c:214,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-gids.c:215,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:215,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:218,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:219,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:219,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:225,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:231,3'
          Dst:             sc_pkcs15emu_gids_add_prkey
        - Src:             'pkcs15-gids.c:235,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-gids.c:236,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:236,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:236,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_gids_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 241
      functionLinenumberEnd: 246
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          62
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_pkcs15emu_gids_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:245,9'
          Dst:             sc_pkcs15emu_gids_init
    - functionName:    _iasecc_md_update_keyinfo
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         82
      ICount:          552
      EdgeCount:       102
      CyclomaticComplexity: 22
      functionsReached:
        - sc_aux_data_allocate
        - sc_aux_data_set_md_flags
        - sc_aux_data_set_md_guid
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_prkey_by_id
        - sc_pkcs15_free_data_object
        - sc_pkcs15_read_data_object
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:56,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:59,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:59,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:59,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:62,7'
          Dst:             sc_pkcs15_read_data_object
        - Src:             'pkcs15-iasecc.c:63,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:63,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:74,3'
          Dst:             sc_pkcs15_free_data_object
        - Src:             'pkcs15-iasecc.c:75,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:75,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:75,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:80,3'
          Dst:             sc_pkcs15_free_data_object
        - Src:             'pkcs15-iasecc.c:81,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:81,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:81,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:87,3'
          Dst:             sc_pkcs15_free_data_object
        - Src:             'pkcs15-iasecc.c:88,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:88,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:88,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:91,3'
          Dst:             sc_pkcs15_free_data_object
        - Src:             'pkcs15-iasecc.c:92,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:92,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:92,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:99,2'
          Dst:             sc_pkcs15_free_data_object
        - Src:             'pkcs15-iasecc.c:101,7'
          Dst:             sc_pkcs15_find_prkey_by_id
        - Src:             'pkcs15-iasecc.c:102,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:102,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:106,8'
          Dst:             sc_aux_data_allocate
        - Src:             'pkcs15-iasecc.c:107,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:107,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:110,7'
          Dst:             sc_aux_data_set_md_guid
        - Src:             'pkcs15-iasecc.c:111,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:111,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:113,7'
          Dst:             sc_aux_data_set_md_flags
        - Src:             'pkcs15-iasecc.c:114,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:114,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:116,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:116,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:116,2'
          Dst:             sc_do_log
    - functionName:    _iasecc_cpx_fixup_prkdf
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 126
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         22
      ICount:          131
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_pkcs15_encode_supported_algos
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:132,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:134,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-iasecc.c:135,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:135,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:139,8'
          Dst:             iasecc_pkcs15_encode_supported_algos
        - Src:             'pkcs15-iasecc.c:140,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:140,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:143,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:143,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:143,2'
          Dst:             sc_do_log
    - functionName:    _iasecc_parse_df
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 154
      functionLinenumberEnd: 234
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         91
      ICount:          556
      EdgeCount:       112
      CyclomaticComplexity: 23
      functionsReached:
        - _iasecc_cpx_fixup_prkdf
        - _iasecc_md_update_keyinfo
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_free_data_object
        - sc_pkcs15_get_objects
        - sc_pkcs15_parse_df
        - sc_pkcs15_read_data_object
        - sc_strerror
        - strcmp
        - strlen
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-iasecc.c:171,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-iasecc.c:160,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:163,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:163,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:163,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:166,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:166,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:166,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:168,7'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-iasecc.c:169,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:169,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:176,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:180,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:182,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:182,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:182,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:187,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:187,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:187,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:189,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:191,7'
          Dst:             _iasecc_cpx_fixup_prkdf
        - Src:             'pkcs15-iasecc.c:192,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:192,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:194,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-iasecc.c:195,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:195,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:202,7'
          Dst:             strcmp
        - Src:             'pkcs15-iasecc.c:205,8'
          Dst:             strcmp
        - Src:             'pkcs15-iasecc.c:206,9'
          Dst:             sc_pkcs15_read_data_object
        - Src:             'pkcs15-iasecc.c:207,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:207,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:216,7'
          Dst:             strcmp
        - Src:             'pkcs15-iasecc.c:219,8'
          Dst:             strcmp
        - Src:             'pkcs15-iasecc.c:223,8'
          Dst:             strlen
        - Src:             'pkcs15-iasecc.c:224,10'
          Dst:             memcmp
        - Src:             'pkcs15-iasecc.c:227,8'
          Dst:             _iasecc_md_update_keyinfo
        - Src:             'pkcs15-iasecc.c:228,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:228,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:231,2'
          Dst:             sc_pkcs15_free_data_object
        - Src:             'pkcs15-iasecc.c:233,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:233,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:233,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_iasecc_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 262
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          69
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_bind_internal
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:256,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:258,7'
          Dst:             sc_pkcs15_bind_internal
        - Src:             'pkcs15-iasecc.c:262,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:262,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:262,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15emu_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 239
      functionLinenumberEnd: 247
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_iasecc_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 268
      functionLinenumberEnd: 273
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - iasecc_pkcs15emu_detect_card
        - sc_pkcs15emu_iasecc_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:269,6'
          Dst:             iasecc_pkcs15emu_detect_card
        - Src:             'pkcs15-iasecc.c:272,9'
          Dst:             sc_pkcs15emu_iasecc_init
    - functionName:    sc_pkcs15emu_cedulauy_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 192
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         60
      ICount:          509
      EdgeCount:       76
      CyclomaticComplexity: 18
      functionsReached:
        - _strlcpy
        - calloc
        - sc_bin_to_hex
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15_free_certificate
        - sc_pkcs15_get_name_from_dn
        - sc_pkcs15_read_certificate
        - sc_pkcs15emu_add_data_object
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cedulauy.c:85,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cedulauy.c:90,12'
          Dst:             calloc
        - Src:             'pkcs15-cedulauy.c:92,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cedulauy.c:92,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cedulauy.c:92,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cedulauy.c:111,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-cedulauy.c:112,6'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-cedulauy.c:113,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cedulauy.c:113,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cedulauy.c:116,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-cedulauy.c:120,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-cedulauy.c:121,6'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-cedulauy.c:122,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cedulauy.c:122,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cedulauy.c:126,6'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-cedulauy.c:135,3'
          Dst:             sc_pkcs15_get_name_from_dn
        - Src:             'pkcs15-cedulauy.c:156,5'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-cedulauy.c:162,3'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-cedulauy.c:175,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-cedulauy.c:176,6'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-cedulauy.c:177,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cedulauy.c:177,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cedulauy.c:184,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-cedulauy.c:185,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-cedulauy.c:186,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-cedulauy.c:187,7'
          Dst:             sc_pkcs15emu_add_data_object
        - Src:             'pkcs15-cedulauy.c:188,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cedulauy.c:188,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cedulauy.c:191,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cedulauy.c:191,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cedulauy.c:191,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_cedulauy_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-cedulauy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 196
      functionLinenumberEnd: 201
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_cedulauy_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cedulauy.c:200,9'
          Dst:             sc_pkcs15emu_cedulauy_init
    - functionName:    sc_pkcs15emu_jpki_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         75
      ICount:          700
      EdgeCount:       93
      CyclomaticComplexity: 20
      functionsReached:
        - _strlcpy
        - jpki_select_ap
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pin_cmd
        - sc_pkcs15_card_clear
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_rsa_pubkey
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-jpki.c:43,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-jpki.c:45,2'
          Dst:             set_string
        - Src:             'pkcs15-jpki.c:46,2'
          Dst:             set_string
        - Src:             'pkcs15-jpki.c:48,2'
          Dst:             set_string
        - Src:             'pkcs15-jpki.c:52,8'
          Dst:             jpki_select_ap
        - Src:             'pkcs15-jpki.c:53,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-jpki.c:53,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-jpki.c:87,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-jpki.c:90,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-jpki.c:97,8'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-jpki.c:99,4'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-jpki.c:100,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-jpki.c:100,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-jpki.c:100,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-jpki.c:150,8'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-jpki.c:152,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-jpki.c:152,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-jpki.c:153,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-jpki.c:156,8'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-jpki.c:158,4'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-jpki.c:159,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-jpki.c:159,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-jpki.c:159,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-jpki.c:188,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-jpki.c:194,8'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-jpki.c:196,4'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-jpki.c:197,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-jpki.c:197,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-jpki.c:197,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-jpki.c:222,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-jpki.c:228,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-jpki.c:236,8'
          Dst:             sc_pkcs15emu_add_rsa_pubkey
        - Src:             'pkcs15-jpki.c:238,4'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-jpki.c:239,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-jpki.c:239,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-jpki.c:239,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-jpki.c:242,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-jpki.c:242,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-jpki.c:242,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_jpki_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-jpki.c'
      linkageType:     InternalLinkage
      functionLinenumber: 248
      functionLinenumberEnd: 252
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          37
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_jpki_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-jpki.c:251,9'
          Dst:             sc_pkcs15emu_jpki_init
    - functionName:    sc_pkcs15emu_esteid2018_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 254
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         133
      ICount:          1066
      EdgeCount:       169
      CyclomaticComplexity: 38
      functionsReached:
        - __ctype_b_loc
        - _strlcpy
        - is_latvian_eid
        - realloc
        - sc_asn1_find_tag
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_path
        - sc_pkcs15_card_clear
        - sc_pkcs15_decode_cdf_entry
        - sc_pkcs15_free_cert_info
        - sc_pkcs15_free_certificate
        - sc_pkcs15_get_name_from_dn
        - sc_pkcs15_get_objects
        - sc_pkcs15_get_pin_info
        - sc_pkcs15_read_certificate
        - sc_pkcs15_read_file
        - sc_pkcs15emu_add_ec_prkey
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_x509_cert
        - sc_read_binary
        - sc_select_file
        - sc_strerror
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-esteid2018.c:51,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-esteid2018.c:52,2'
          Dst:             sc_select_file
        - Src:             'pkcs15-esteid2018.c:52,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:52,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:53,6'
          Dst:             sc_read_binary
        - Src:             'pkcs15-esteid2018.c:54,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:54,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:55,18'
          Dst:             sc_asn1_find_tag
        - Src:             'pkcs15-esteid2018.c:57,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:57,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:57,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-esteid2018.c:60,8'
          Dst:             __ctype_b_loc
        - Src:             'pkcs15-esteid2018.c:61,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:61,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:61,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-esteid2018.c:65,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:65,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:65,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-esteid2018.c:67,2'
          Dst:             set_string
        - Src:             'pkcs15-esteid2018.c:68,2'
          Dst:             set_string
        - Src:             'pkcs15-esteid2018.c:73,6'
          Dst:             is_latvian_eid
        - Src:             'pkcs15-esteid2018.c:80,24'
          Dst:             sc_file_new
        - Src:             'pkcs15-esteid2018.c:83,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:83,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:83,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-esteid2018.c:86,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-esteid2018.c:87,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-esteid2018.c:88,7'
          Dst:             sc_pkcs15_read_file
        - Src:             'pkcs15-esteid2018.c:89,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:89,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:91,7'
          Dst:             sc_pkcs15_decode_cdf_entry
        - Src:             'pkcs15-esteid2018.c:92,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:92,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:100,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:100,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:104,3'
          Dst:             sc_pkcs15_free_cert_info
        - Src:             'pkcs15-esteid2018.c:105,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-esteid2018.c:124,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-esteid2018.c:125,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-esteid2018.c:126,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-esteid2018.c:127,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:127,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:134,7'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-esteid2018.c:135,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:135,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:145,3'
          Dst:             sc_pkcs15_get_name_from_dn
        - Src:             'pkcs15-esteid2018.c:146,3'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-esteid2018.c:148,31'
          Dst:             realloc
        - Src:             'pkcs15-esteid2018.c:182,31'
          Dst:             is_latvian_eid
        - Src:             'pkcs15-esteid2018.c:192,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-esteid2018.c:193,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-esteid2018.c:201,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-esteid2018.c:202,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:202,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:207,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-esteid2018.c:209,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-esteid2018.c:213,7'
          Dst:             sc_pkcs15_get_pin_info
        - Src:             'pkcs15-esteid2018.c:214,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:214,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:233,32'
          Dst:             is_latvian_eid
        - Src:             'pkcs15-esteid2018.c:243,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-esteid2018.c:244,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-esteid2018.c:246,7'
          Dst:             sc_pkcs15emu_add_ec_prkey
        - Src:             'pkcs15-esteid2018.c:247,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:247,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:252,2'
          Dst:             sc_pkcs15_card_clear
        - Src:             'pkcs15-esteid2018.c:253,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-esteid2018.c:253,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-esteid2018.c:253,2'
          Dst:             sc_do_log
    - functionName:    is_latvian_eid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 40
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          31
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_esteid2018_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-esteid2018.c'
      linkageType:     InternalLinkage
      functionLinenumber: 256
      functionLinenumberEnd: 262
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          59
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - is_latvian_eid
        - sc_pkcs15emu_esteid2018_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-esteid2018.c:259,4'
          Dst:             is_latvian_eid
        - Src:             'pkcs15-esteid2018.c:260,10'
          Dst:             sc_pkcs15emu_esteid2018_init
    - functionName:    get_cert_size
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-starcos-esign.c'
      linkageType:     InternalLinkage
      functionLinenumber: 101
      functionLinenumberEnd: 112
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          60
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log_color
        - sc_file_free
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos-esign.c:105,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos-esign.c:106,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:106,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:109,2'
          Dst:             sc_file_free
    - functionName:    add_app
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-starcos-esign.c'
      linkageType:     InternalLinkage
      functionLinenumber: 116
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          623
      EdgeCount:       71
      CyclomaticComplexity: 17
      functionsReached:
        - _strlcpy
        - get_cert_size
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15_format_id
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos-esign.c:122,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-starcos-esign.c:132,3'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-starcos-esign.c:134,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-starcos-esign.c:136,7'
          Dst:             get_cert_size
        - Src:             'pkcs15-starcos-esign.c:138,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-starcos-esign.c:142,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-starcos-esign.c:145,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-starcos-esign.c:146,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:146,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:167,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-starcos-esign.c:174,5'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-starcos-esign.c:184,6'
          Dst:             sc_format_path
        - Src:             'pkcs15-starcos-esign.c:188,5'
          Dst:             _strlcpy
        - Src:             'pkcs15-starcos-esign.c:191,9'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-starcos-esign.c:192,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:192,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:203,4'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-starcos-esign.c:208,4'
          Dst:             sc_format_path
        - Src:             'pkcs15-starcos-esign.c:210,4'
          Dst:             _strlcpy
        - Src:             'pkcs15-starcos-esign.c:213,5'
          Dst:             sc_pkcs15_format_id
        - Src:             'pkcs15-starcos-esign.c:216,8'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-starcos-esign.c:217,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:217,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:229,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:229,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:229,2'
          Dst:             sc_do_log
    - functionName:    starcos_add_esign_app
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-starcos-esign.c'
      linkageType:     InternalLinkage
      functionLinenumber: 253
      functionLinenumberEnd: 281
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          47
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - add_app
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos-esign.c:281,9'
          Dst:             add_app
    - functionName:    starcos_esign_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-starcos-esign.c'
      linkageType:     InternalLinkage
      functionLinenumber: 286
      functionLinenumberEnd: 351
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         59
      ICount:          354
      EdgeCount:       76
      CyclomaticComplexity: 19
      functionsReached:
        - memcmp
        - sc_bin_to_hex
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_path_set
        - sc_pkcs15_free_tokeninfo
        - sc_pkcs15_tokeninfo_new
        - sc_select_file
        - sc_strerror
        - starcos_add_esign_app
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos-esign.c:293,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-starcos-esign.c:301,7'
          Dst:             starcos_add_esign_app
        - Src:             'pkcs15-starcos-esign.c:306,40'
          Dst:             memcmp
        - Src:             'pkcs15-starcos-esign.c:307,8'
          Dst:             starcos_add_esign_app
        - Src:             'pkcs15-starcos-esign.c:318,4'
          Dst:             sc_path_set
        - Src:             'pkcs15-starcos-esign.c:319,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos-esign.c:322,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos-esign.c:328,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:328,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:331,2'
          Dst:             sc_pkcs15_free_tokeninfo
        - Src:             'pkcs15-starcos-esign.c:333,23'
          Dst:             sc_pkcs15_tokeninfo_new
        - Src:             'pkcs15-starcos-esign.c:335,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:335,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:339,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos-esign.c:340,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:340,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:342,7'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-starcos-esign.c:343,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:343,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:344,39'
          Dst:             strdup
        - Src:             'pkcs15-starcos-esign.c:345,31'
          Dst:             strdup
        - Src:             'pkcs15-starcos-esign.c:346,41'
          Dst:             strdup
        - Src:             'pkcs15-starcos-esign.c:350,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:350,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:350,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_starcos_esign_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-starcos-esign.c'
      linkageType:     InternalLinkage
      functionLinenumber: 355
      functionLinenumberEnd: 363
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          92
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - starcos_esign_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos-esign.c:361,6'
          Dst:             starcos_esign_init
        - Src:             'pkcs15-starcos-esign.c:362,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-starcos-esign.c:362,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-starcos-esign.c:362,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_skeid_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-skeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 39
      functionLinenumberEnd: 178
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         40
      ICount:          438
      EdgeCount:       50
      CyclomaticComplexity: 12
      functionsReached:
        - _strlcpy
        - sc_bin_to_hex
        - sc_do_log
        - sc_do_log_color
        - sc_format_path
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_x509_cert
        - sc_strerror
        - set_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-skeid.c:45,2'
          Dst:             set_string
        - Src:             'pkcs15-skeid.c:46,2'
          Dst:             set_string
        - Src:             'pkcs15-skeid.c:52,3'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-skeid.c:82,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-skeid.c:83,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-skeid.c:85,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-skeid.c:87,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-skeid.c:87,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skeid.c:121,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-skeid.c:124,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-skeid.c:126,7'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-skeid.c:128,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-skeid.c:128,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skeid.c:162,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-skeid.c:166,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-skeid.c:173,7'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-skeid.c:175,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-skeid.c:175,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skeid.c:177,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-skeid.c:177,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-skeid.c:177,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_skeid_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-skeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 181
      functionLinenumberEnd: 188
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          66
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - memcmp
        - sc_pkcs15emu_skeid_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-skeid.c:185,57'
          Dst:             memcmp
        - Src:             'pkcs15-skeid.c:186,7'
          Dst:             sc_pkcs15emu_skeid_init
    - functionName:    sc_pkcs15emu_eoi_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-eoi.c'
      linkageType:     InternalLinkage
      functionLinenumber: 35
      functionLinenumberEnd: 137
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         106
      ICount:          681
      EdgeCount:       137
      CyclomaticComplexity: 33
      functionsReached:
        - sc_bin_to_hex
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_bind_internal
        - sc_pkcs15_read_file
        - sc_pkcs15_search_objects
        - sc_strerror
        - strcmp
        - strlen
        - strncmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-eoi.c:42,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-eoi.c:45,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-eoi.c:45,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-eoi.c:45,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-eoi.c:48,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-eoi.c:48,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-eoi.c:48,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-eoi.c:57,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-eoi.c:57,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-eoi.c:57,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-eoi.c:63,2'
          Dst:             sc_pkcs15_bind_internal
        - Src:             'pkcs15-eoi.c:63,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-eoi.c:63,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-eoi.c:73,8'
          Dst:             sc_pkcs15_search_objects
        - Src:             'pkcs15-eoi.c:76,52'
          Dst:             strcmp
        - Src:             'pkcs15-eoi.c:79,8'
          Dst:             sc_pkcs15_read_file
        - Src:             'pkcs15-eoi.c:82,6'
          Dst:             sc_strerror
        - Src:             'pkcs15-eoi.c:82,6'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-eoi.c:82,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-eoi.c:83,9'
          Dst:             strlen
        - Src:             'pkcs15-eoi.c:84,6'
          Dst:             sc_strerror
        - Src:             'pkcs15-eoi.c:84,6'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-eoi.c:84,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-eoi.c:86,5'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-eoi.c:97,52'
          Dst:             strcmp
        - Src:             'pkcs15-eoi.c:117,8'
          Dst:             sc_pkcs15_search_objects
        - Src:             'pkcs15-eoi.c:127,39'
          Dst:             strncmp
        - Src:             'pkcs15-eoi.c:136,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-eoi.c:136,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-eoi.c:136,2'
          Dst:             sc_do_log
    - functionName:    _dtrust_parse_df
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 32
      functionLinenumberEnd: 78
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         56
      ICount:          303
      EdgeCount:       65
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_pkcs15_parse_df
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-dtrust.c:59,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-dtrust.c:38,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-dtrust.c:41,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-dtrust.c:41,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dtrust.c:41,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-dtrust.c:44,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-dtrust.c:44,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dtrust.c:44,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-dtrust.c:46,7'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-dtrust.c:47,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dtrust.c:47,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dtrust.c:50,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-dtrust.c:50,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dtrust.c:50,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-dtrust.c:52,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-dtrust.c:53,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dtrust.c:53,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dtrust.c:77,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dtrust.c:77,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dtrust.c:77,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_dtrust_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 94
      functionLinenumberEnd: 120
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          120
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_bind_internal
        - sc_pkcs15_search_objects
        - sc_strerror
        - strcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-dtrust.c:98,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-dtrust.c:100,7'
          Dst:             sc_pkcs15_bind_internal
        - Src:             'pkcs15-dtrust.c:111,8'
          Dst:             sc_pkcs15_search_objects
        - Src:             'pkcs15-dtrust.c:113,8'
          Dst:             strcmp
        - Src:             'pkcs15-dtrust.c:120,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-dtrust.c:120,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-dtrust.c:120,2'
          Dst:             sc_do_log
    - functionName:    dtrust_pkcs15emu_detect_card
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 82
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15emu_dtrust_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-dtrust.c'
      linkageType:     InternalLinkage
      functionLinenumber: 125
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - dtrust_pkcs15emu_detect_card
        - sc_pkcs15emu_dtrust_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-dtrust.c:126,6'
          Dst:             dtrust_pkcs15emu_detect_card
        - Src:             'pkcs15-dtrust.c:129,9'
          Dst:             sc_pkcs15emu_dtrust_init
    - functionName:    lteid_parse_df
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 26
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          262
      EdgeCount:       56
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_pkcs15_parse_df
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-lteid.c:31,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-lteid.c:34,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-lteid.c:34,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-lteid.c:34,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-lteid.c:37,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-lteid.c:37,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-lteid.c:37,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-lteid.c:39,7'
          Dst:             sc_pkcs15_parse_df
        - Src:             'pkcs15-lteid.c:40,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-lteid.c:40,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-lteid.c:43,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-lteid.c:43,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-lteid.c:43,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-lteid.c:45,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-lteid.c:46,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-lteid.c:46,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-lteid.c:54,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-lteid.c:54,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-lteid.c:54,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_lteid_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 59
      functionLinenumberEnd: 65
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          74
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_bind_internal
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-lteid.c:60,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-lteid.c:62,11'
          Dst:             sc_pkcs15_bind_internal
        - Src:             'pkcs15-lteid.c:65,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-lteid.c:65,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-lteid.c:65,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_lteid_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-lteid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 76
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_lteid_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-lteid.c:72,10'
          Dst:             sc_pkcs15emu_lteid_init
    - functionName:    ce_private_key_fid
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 58
      functionLinenumberEnd: 59
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          17
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ce_parse_dir
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 175
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          214
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - calloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-srbeid.c:154,12'
          Dst:             calloc
    - functionName:    srbeid_read_file
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          143
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - sc_file_free
        - sc_read_binary
        - sc_select_file
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-srbeid.c:87,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-srbeid.c:92,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-srbeid.c:97,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-srbeid.c:103,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-srbeid.c:107,6'
          Dst:             sc_read_binary
        - Src:             'pkcs15-srbeid.c:108,2'
          Dst:             sc_file_free
    - functionName:    srbeid_read_cert_der
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 348
      functionLinenumberEnd: 411
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          204
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - sc_decompress_alloc
        - sc_do_log
        - srbeid_read_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-srbeid.c:358,6'
          Dst:             srbeid_read_file
        - Src:             'pkcs15-srbeid.c:377,7'
          Dst:             sc_decompress_alloc
        - Src:             'pkcs15-srbeid.c:380,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-srbeid.c:402,3'
          Dst:             sc_do_log
    - functionName:    srbeid_enum_certs
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 190
      functionLinenumberEnd: 334
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         80
      ICount:          600
      EdgeCount:       108
      CyclomaticComplexity: 30
      functionsReached:
        - calloc
        - ce_parse_dir
        - ce_private_key_fid
        - iso7816_select_aid
        - realloc
        - sc_do_log
        - snprintf
        - srbeid_read_file
        - strcmp
        - strlen
        - strncmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-srbeid.c:204,6'
          Dst:             iso7816_select_aid
        - Src:             'pkcs15-srbeid.c:210,6'
          Dst:             srbeid_read_file
        - Src:             'pkcs15-srbeid.c:214,15'
          Dst:             ce_parse_dir
        - Src:             'pkcs15-srbeid.c:221,33'
          Dst:             strcmp
        - Src:             'pkcs15-srbeid.c:232,6'
          Dst:             srbeid_read_file
        - Src:             'pkcs15-srbeid.c:236,15'
          Dst:             ce_parse_dir
        - Src:             'pkcs15-srbeid.c:242,10'
          Dst:             calloc
        - Src:             'pkcs15-srbeid.c:253,7'
          Dst:             strcmp
        - Src:             'pkcs15-srbeid.c:255,14'
          Dst:             strlen
        - Src:             'pkcs15-srbeid.c:259,8'
          Dst:             strncmp
        - Src:             'pkcs15-srbeid.c:262,15'
          Dst:             strncmp
        - Src:             'pkcs15-srbeid.c:270,25'
          Dst:             realloc
        - Src:             'pkcs15-srbeid.c:283,4'
          Dst:             snprintf
        - Src:             'pkcs15-srbeid.c:290,7'
          Dst:             srbeid_read_file
        - Src:             'pkcs15-srbeid.c:313,25'
          Dst:             ce_private_key_fid
        - Src:             'pkcs15-srbeid.c:317,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_srbeid_init
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 415
      functionLinenumberEnd: 566
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          391
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_pin_cmd
        - sc_pkcs15emu_add_pin_obj
        - sc_pkcs15emu_add_rsa_prkey
        - sc_pkcs15emu_add_x509_cert
        - set_string
        - srbeid_enum_certs
        - srbeid_read_cert_der
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-srbeid.c:420,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-srbeid.c:422,11'
          Dst:             srbeid_enum_certs
        - Src:             'pkcs15-srbeid.c:424,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-srbeid.c:428,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-srbeid.c:433,2'
          Dst:             set_string
        - Src:             'pkcs15-srbeid.c:434,2'
          Dst:             set_string
        - Src:             'pkcs15-srbeid.c:446,3'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-srbeid.c:447,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-srbeid.c:470,4'
          Dst:             strncpy
        - Src:             'pkcs15-srbeid.c:474,8'
          Dst:             sc_pkcs15emu_add_pin_obj
        - Src:             'pkcs15-srbeid.c:476,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-srbeid.c:525,3'
          Dst:             strncpy
        - Src:             'pkcs15-srbeid.c:530,7'
          Dst:             sc_pkcs15emu_add_rsa_prkey
        - Src:             'pkcs15-srbeid.c:532,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-srbeid.c:537,7'
          Dst:             srbeid_read_cert_der
        - Src:             'pkcs15-srbeid.c:538,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-srbeid.c:550,3'
          Dst:             strncpy
        - Src:             'pkcs15-srbeid.c:552,7'
          Dst:             sc_pkcs15emu_add_x509_cert
        - Src:             'pkcs15-srbeid.c:554,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-srbeid.c:561,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15emu_srbeid_init_ex
      functionSourceFile: '/src/opensc/src/libopensc/pkcs15-srbeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 570
      functionLinenumberEnd: 577
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_pkcs15emu_srbeid_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-srbeid.c:576,9'
          Dst:             sc_pkcs15emu_srbeid_init
    - functionName:    sc_decompress_zlib_alloc
      functionSourceFile: '/src/opensc/src/libopensc/compression.c'
      linkageType:     InternalLinkage
      functionLinenumber: 185
      functionLinenumberEnd: 251
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          267
      EdgeCount:       53
      CyclomaticComplexity: 15
      functionsReached:
        - inflate
        - inflateEnd
        - inflateInit2_
        - realloc
        - zerr_to_opensc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'compression.c:203,8'
          Dst:             inflateInit2_
        - Src:             'compression.c:205,10'
          Dst:             zerr_to_opensc
        - Src:             'compression.c:212,13'
          Dst:             realloc
        - Src:             'compression.c:216,4'
          Dst:             inflateEnd
        - Src:             'compression.c:223,9'
          Dst:             inflate
        - Src:             'compression.c:237,11'
          Dst:             realloc
        - Src:             'compression.c:249,2'
          Dst:             inflateEnd
        - Src:             'compression.c:250,9'
          Dst:             zerr_to_opensc
    - functionName:    inflateInit2_
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    zerr_to_opensc
      functionSourceFile: '/src/opensc/src/libopensc/compression.c'
      linkageType:     InternalLinkage
      functionLinenumber: 34
      functionLinenumberEnd: 52
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          57
      EdgeCount:       28
      CyclomaticComplexity: 15
      functionsReached: []
      functionUses:    10
      BranchProfiles:
        - Branch String:   'compression.c:35,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    inflateEnd
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    inflate
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_decompress_alloc
      functionSourceFile: '/src/opensc/src/libopensc/compression.c'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          93
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - detect_method
        - sc_decompress_zlib_alloc
      functionUses:    3
      BranchProfiles:
        - Branch String:   'compression.c:266,2'
          Branch Sides:    []
      Callsites:
        - Src:             'compression.c:260,12'
          Dst:             detect_method
        - Src:             'compression.c:268,10'
          Dst:             sc_decompress_zlib_alloc
        - Src:             'compression.c:270,10'
          Dst:             sc_decompress_zlib_alloc
    - functionName:    detect_method
      functionSourceFile: '/src/opensc/src/libopensc/compression.c'
      linkageType:     InternalLinkage
      functionLinenumber: 53
      functionLinenumberEnd: 79
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          78
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_decompress_gzip
      functionSourceFile: '/src/opensc/src/libopensc/compression.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 137
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          94
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - inflate
        - inflateEnd
        - inflateInit2_
        - zerr_to_opensc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'compression.c:123,8'
          Dst:             inflateInit2_
        - Src:             'compression.c:124,26'
          Dst:             zerr_to_opensc
        - Src:             'compression.c:125,8'
          Dst:             inflate
        - Src:             'compression.c:127,3'
          Dst:             inflateEnd
        - Src:             'compression.c:128,10'
          Dst:             zerr_to_opensc
        - Src:             'compression.c:132,8'
          Dst:             inflateEnd
        - Src:             'compression.c:136,9'
          Dst:             zerr_to_opensc
    - functionName:    sc_decompress
      functionSourceFile: '/src/opensc/src/libopensc/compression.c'
      linkageType:     InternalLinkage
      functionLinenumber: 157
      functionLinenumberEnd: 183
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          105
      EdgeCount:       20
      CyclomaticComplexity: 5
      functionsReached:
        - detect_method
        - sc_decompress_gzip
        - uncompress
        - zerr_to_opensc
      functionUses:    0
      BranchProfiles:
        - Branch String:   'compression.c:172,2'
          Branch Sides:    []
      Callsites:
        - Src:             'compression.c:166,12'
          Dst:             detect_method
        - Src:             'compression.c:175,23'
          Dst:             uncompress
        - Src:             'compression.c:175,8'
          Dst:             zerr_to_opensc
        - Src:             'compression.c:179,10'
          Dst:             sc_decompress_gzip
    - functionName:    sc_compress_gzip
      functionSourceFile: '/src/opensc/src/libopensc/compression.c'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 107
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          83
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - deflate
        - deflateEnd
        - deflateInit2_
        - zerr_to_opensc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'compression.c:93,8'
          Dst:             deflateInit2_
        - Src:             'compression.c:95,3'
          Dst:             deflateEnd
        - Src:             'compression.c:96,10'
          Dst:             zerr_to_opensc
        - Src:             'compression.c:98,8'
          Dst:             deflate
        - Src:             'compression.c:100,3'
          Dst:             deflateEnd
        - Src:             'compression.c:101,10'
          Dst:             zerr_to_opensc
        - Src:             'compression.c:105,8'
          Dst:             deflateEnd
        - Src:             'compression.c:106,9'
          Dst:             zerr_to_opensc
    - functionName:    deflateInit2_
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - int
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    deflateEnd
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    deflate
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_compress
      functionSourceFile: '/src/opensc/src/libopensc/compression.c'
      linkageType:     InternalLinkage
      functionLinenumber: 139
      functionLinenumberEnd: 154
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          62
      EdgeCount:       13
      CyclomaticComplexity: 8
      functionsReached:
        - compress
        - sc_compress_gzip
        - zerr_to_opensc
      functionUses:    1
      BranchProfiles:
        - Branch String:   'compression.c:143,2'
          Branch Sides:    []
      Callsites:
        - Src:             'compression.c:146,23'
          Dst:             compress
        - Src:             'compression.c:146,8'
          Dst:             zerr_to_opensc
        - Src:             'compression.c:150,10'
          Dst:             sc_compress_gzip
    - functionName:    compress
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_sm_stop
      functionSourceFile: '/src/opensc/src/libopensc/sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 178
      functionLinenumberEnd: 188
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          64
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_sm_single_transmit
      functionSourceFile: '/src/opensc/src/libopensc/sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 128
      functionLinenumberEnd: 174
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         53
      ICount:          352
      EdgeCount:       66
      CyclomaticComplexity: 15
      functionsReached:
        - sc_check_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_sm_stop
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm.c:133,2'
          Dst:             sc_do_log
        - Src:             'sm.c:134,2'
          Dst:             sc_do_log
        - Src:             'sm.c:136,3'
          Dst:             sc_strerror
        - Src:             'sm.c:136,3'
          Dst:             sc_do_log_color
        - Src:             'sm.c:136,3'
          Dst:             sc_do_log
        - Src:             'sm.c:144,3'
          Dst:             sc_strerror
        - Src:             'sm.c:144,3'
          Dst:             sc_do_log_color
        - Src:             'sm.c:144,3'
          Dst:             sc_do_log
        - Src:             'sm.c:147,4'
          Dst:             sc_sm_stop
        - Src:             'sm.c:149,2'
          Dst:             sc_strerror
        - Src:             'sm.c:149,2'
          Dst:             sc_do_log_color
        - Src:             'sm.c:152,7'
          Dst:             sc_check_apdu
        - Src:             'sm.c:155,3'
          Dst:             sc_sm_stop
        - Src:             'sm.c:156,3'
          Dst:             sc_strerror
        - Src:             'sm.c:156,3'
          Dst:             sc_do_log_color
        - Src:             'sm.c:161,7'
          Dst:             sc_transmit_apdu
        - Src:             'sm.c:164,3'
          Dst:             sc_sm_stop
        - Src:             'sm.c:165,3'
          Dst:             sc_strerror
        - Src:             'sm.c:165,3'
          Dst:             sc_do_log_color
        - Src:             'sm.c:171,3'
          Dst:             sc_sm_stop
        - Src:             'sm.c:173,2'
          Dst:             sc_strerror
        - Src:             'sm.c:173,2'
          Dst:             sc_do_log_color
        - Src:             'sm.c:173,2'
          Dst:             sc_do_log
    - functionName:    sc_sm_update_apdu_response
      functionSourceFile: '/src/opensc/src/libopensc/sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 99
      functionLinenumberEnd: 124
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          117
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - sc_sm_parse_answer
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm.c:109,6'
          Dst:             sc_sm_parse_answer
    - functionName:    sc_sm_parse_answer
      functionSourceFile: '/src/opensc/src/libopensc/sm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 86
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          185
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_format_asn1_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm.c:58,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'sm.c:60,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm.c:61,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm.c:62,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm.c:64,7'
          Dst:             sc_asn1_decode
    - functionName:    sc_aux_data_free
      functionSourceFile: '/src/opensc/src/libopensc/aux-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 194
      functionLinenumberEnd: 207
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          50
      EdgeCount:       13
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'aux-data.c:198,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_aux_data_get_md_flags
      functionSourceFile: '/src/opensc/src/libopensc/aux-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 189
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          158
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'aux-data.c:178,2'
          Dst:             sc_do_log
        - Src:             'aux-data.c:180,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:180,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:180,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:183,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:183,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:183,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:187,2'
          Dst:             sc_do_log
        - Src:             'aux-data.c:188,2'
          Dst:             sc_strerror
        - Src:             'aux-data.c:188,2'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:188,2'
          Dst:             sc_do_log
    - functionName:    sc_aux_data_get_md_guid
      functionSourceFile: '/src/opensc/src/libopensc/aux-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 171
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          290
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strlcat
        - strlen
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'aux-data.c:139,2'
          Dst:             sc_do_log
        - Src:             'aux-data.c:141,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:141,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:141,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:144,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:144,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:144,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:149,28'
          Dst:             strlen
        - Src:             'aux-data.c:154,3'
          Dst:             strncpy
        - Src:             'aux-data.c:155,2'
          Dst:             strlcat
        - Src:             'aux-data.c:157,3'
          Dst:             strlcat
        - Src:             'aux-data.c:159,18'
          Dst:             strlen
        - Src:             'aux-data.c:160,3'
          Dst:             strlen
        - Src:             'aux-data.c:160,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:162,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:162,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:162,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:166,20'
          Dst:             strlen
        - Src:             'aux-data.c:167,14'
          Dst:             strlen
        - Src:             'aux-data.c:169,2'
          Dst:             sc_do_log
        - Src:             'aux-data.c:170,2'
          Dst:             sc_strerror
        - Src:             'aux-data.c:170,2'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:170,2'
          Dst:             sc_do_log
    - functionName:    sc_aux_data_set_md_flags
      functionSourceFile: '/src/opensc/src/libopensc/aux-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 106
      functionLinenumberEnd: 129
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          146
      EdgeCount:       29
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'aux-data.c:113,2'
          Branch Sides:    []
      Callsites:
        - Src:             'aux-data.c:109,2'
          Dst:             sc_do_log
        - Src:             'aux-data.c:111,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:111,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:120,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:124,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:125,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:125,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:128,2'
          Dst:             sc_strerror
        - Src:             'aux-data.c:128,2'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:128,2'
          Dst:             sc_do_log
    - functionName:    sc_aux_data_set_md_guid
      functionSourceFile: '/src/opensc/src/libopensc/aux-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 74
      functionLinenumberEnd: 101
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          184
      EdgeCount:       37
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strlen
      functionUses:    2
      BranchProfiles:
        - Branch String:   'aux-data.c:82,2'
          Branch Sides:    []
      Callsites:
        - Src:             'aux-data.c:78,2'
          Dst:             sc_do_log
        - Src:             'aux-data.c:79,28'
          Dst:             strlen
        - Src:             'aux-data.c:80,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:80,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:89,27'
          Dst:             strlen
        - Src:             'aux-data.c:90,19'
          Dst:             strlen
        - Src:             'aux-data.c:91,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:95,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:96,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:96,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:99,2'
          Dst:             sc_strerror
        - Src:             'aux-data.c:99,2'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:99,2'
          Dst:             sc_do_log
    - functionName:    sc_aux_data_allocate
      functionSourceFile: '/src/opensc/src/libopensc/aux-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 41
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          226
      EdgeCount:       54
      CyclomaticComplexity: 11
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'aux-data.c:58,2'
          Branch Sides:    []
      Callsites:
        - Src:             'aux-data.c:44,2'
          Dst:             sc_do_log
        - Src:             'aux-data.c:47,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:47,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:50,10'
          Dst:             calloc
        - Src:             'aux-data.c:52,4'
          Dst:             sc_strerror
        - Src:             'aux-data.c:52,4'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:56,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:56,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:56,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:64,3'
          Dst:             sc_do_log
        - Src:             'aux-data.c:65,3'
          Dst:             sc_strerror
        - Src:             'aux-data.c:65,3'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:68,2'
          Dst:             sc_strerror
        - Src:             'aux-data.c:68,2'
          Dst:             sc_do_log_color
        - Src:             'aux-data.c:68,2'
          Dst:             sc_do_log
    - functionName:    asepcos_do_store_rsa_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 657
      functionLinenumberEnd: 715
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          424
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - asepcos_do_authenticate
        - sc_card_ctl
        - sc_do_log
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:666,7'
          Dst:             asepcos_do_authenticate
        - Src:             'pkcs15-asepcos.c:677,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-asepcos.c:679,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:708,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-asepcos.c:710,3'
          Dst:             sc_do_log
    - functionName:    asepcos_do_authenticate
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 475
      functionLinenumberEnd: 491
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          73
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_profile_get_file_by_path
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:478,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             'pkcs15-asepcos.c:480,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:484,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-asepcos.c:485,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:487,3'
          Dst:             sc_do_log
    - functionName:    asepcos_do_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 509
      functionLinenumberEnd: 560
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          193
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - sc_create_file
        - sc_do_log
        - sc_file_free
        - sc_file_new
        - sc_file_set_prop_attr
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:541,10'
          Dst:             sc_file_new
        - Src:             'pkcs15-asepcos.c:546,6'
          Dst:             sc_file_set_prop_attr
        - Src:             'pkcs15-asepcos.c:548,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:549,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:553,6'
          Dst:             sc_create_file
        - Src:             'pkcs15-asepcos.c:554,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:556,3'
          Dst:             sc_do_log
    - functionName:    asepcos_pinid_to_akn
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 194
      functionLinenumberEnd: 216
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          103
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_file_free
        - sc_path_set
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:202,6'
          Dst:             sc_path_set
        - Src:             'pkcs15-asepcos.c:205,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-asepcos.c:209,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:210,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:214,2'
          Dst:             sc_file_free
    - functionName:    have_onepin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 320
      functionLinenumberEnd: 329
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_profile_get_pin_info
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:323,9'
          Dst:             sc_profile_get_pin_info
    - functionName:    asepcos_do_store_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 221
      functionLinenumberEnd: 314
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          383
      EdgeCount:       37
      CyclomaticComplexity: 12
      functionsReached:
        - asepcos_pinid_to_akn
        - sc_create_file
        - sc_do_log
        - sc_file_free
        - sc_file_new
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:237,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:257,10'
          Dst:             sc_file_new
        - Src:             'pkcs15-asepcos.c:262,6'
          Dst:             sc_file_set_prop_attr
        - Src:             'pkcs15-asepcos.c:264,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:290,6'
          Dst:             sc_file_set_sec_attr
        - Src:             'pkcs15-asepcos.c:292,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:296,6'
          Dst:             sc_create_file
        - Src:             'pkcs15-asepcos.c:297,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:299,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:303,6'
          Dst:             asepcos_pinid_to_akn
    - functionName:    asepcos_cond_delete
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 36
      functionLinenumberEnd: 50
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          76
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - sc_delete_file
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_select_file
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:40,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-asepcos.c:42,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-asepcos.c:43,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:46,7'
          Dst:             sc_delete_file
    - functionName:    asepcos_check_verify_tpin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 60
      functionLinenumberEnd: 86
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          104
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_get_mf_path
        - sc_pkcs15init_authenticate
        - sc_profile_get_file_by_path
        - sc_select_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:66,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-asepcos.c:67,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-asepcos.c:72,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-asepcos.c:73,44'
          Dst:             sc_get_mf_path
        - Src:             'pkcs15-asepcos.c:73,7'
          Dst:             sc_profile_get_file_by_path
        - Src:             'pkcs15-asepcos.c:80,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-asepcos.c:82,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:83,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:83,3'
          Dst:             sc_do_log_color
    - functionName:    asepcos_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 746
      functionLinenumberEnd: 805
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          250
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - asepcos_do_authenticate
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_select_file
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:756,6'
          Dst:             asepcos_do_authenticate
        - Src:             'pkcs15-asepcos.c:766,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-asepcos.c:768,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:776,2'
          Dst:             sc_format_apdu
        - Src:             'pkcs15-asepcos.c:784,6'
          Dst:             sc_transmit_apdu
        - Src:             'pkcs15-asepcos.c:785,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:785,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:787,3'
          Dst:             sc_do_log
    - functionName:    asepcos_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 726
      functionLinenumberEnd: 735
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          55
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - asepcos_do_store_rsa_key
        - sc_do_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:730,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:734,9'
          Dst:             asepcos_do_store_rsa_key
    - functionName:    asepcos_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 566
      functionLinenumberEnd: 650
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          385
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - asepcos_do_authenticate
        - asepcos_do_create_key
        - sc_card_ctl
        - sc_do_log
        - sc_pkcs15_find_pin_by_auth_id
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:582,7'
          Dst:             sc_pkcs15_find_pin_by_auth_id
        - Src:             'pkcs15-asepcos.c:584,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:591,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-asepcos.c:593,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:600,6'
          Dst:             asepcos_do_authenticate
        - Src:             'pkcs15-asepcos.c:642,6'
          Dst:             asepcos_do_create_key
        - Src:             'pkcs15-asepcos.c:644,3'
          Dst:             sc_do_log
    - functionName:    asepcos_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 345
      functionLinenumberEnd: 464
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         126
      ICount:          746
      EdgeCount:       160
      CyclomaticComplexity: 36
      functionsReached:
        - asepcos_do_store_pin
        - have_onepin
        - sc_append_file_id
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_get_mf_path
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_fixup_file
        - sc_profile_get_pin_info
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:353,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:363,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-asepcos.c:365,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:365,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:365,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:367,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-asepcos.c:368,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:370,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:371,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:371,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:371,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:380,7'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-asepcos.c:382,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:382,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:382,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:383,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-asepcos.c:387,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:388,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:388,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:388,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:399,4'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-asepcos.c:401,4'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-asepcos.c:407,7'
          Dst:             asepcos_do_store_pin
        - Src:             'pkcs15-asepcos.c:409,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:409,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:409,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:413,6'
          Dst:             asepcos_do_store_pin
        - Src:             'pkcs15-asepcos.c:415,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:415,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:415,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:419,7'
          Dst:             have_onepin
        - Src:             'pkcs15-asepcos.c:425,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:426,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-asepcos.c:428,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:428,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:428,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:430,7'
          Dst:             sc_pkcs15init_fixup_file
        - Src:             'pkcs15-asepcos.c:432,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:432,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:432,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:433,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-asepcos.c:435,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:436,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:436,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:436,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:440,28'
          Dst:             sc_get_mf_path
        - Src:             'pkcs15-asepcos.c:440,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-asepcos.c:446,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-asepcos.c:448,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:449,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:449,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:449,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:463,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:463,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:463,2'
          Dst:             sc_do_log
    - functionName:    asepcos_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 183
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          68
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    asepcos_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 133
      functionLinenumberEnd: 163
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          110
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - asepcos_check_verify_tpin
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_free
        - sc_file_set_sec_attr
        - sc_pkcs15init_create_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:139,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-asepcos.c:141,6'
          Dst:             asepcos_check_verify_tpin
        - Src:             'pkcs15-asepcos.c:149,2'
          Dst:             sc_file_dup
        - Src:             'pkcs15-asepcos.c:154,6'
          Dst:             sc_file_set_sec_attr
        - Src:             'pkcs15-asepcos.c:156,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:160,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-asepcos.c:161,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-asepcos.c:162,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-asepcos.c:162,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-asepcos.c:162,2'
          Dst:             sc_do_log
    - functionName:    asepcos_erase
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 96
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          72
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - asepcos_check_verify_tpin
        - asepcos_cond_delete
        - sc_format_path
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-asepcos.c:107,6'
          Dst:             asepcos_check_verify_tpin
        - Src:             'pkcs15-asepcos.c:111,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-asepcos.c:112,6'
          Dst:             asepcos_cond_delete
        - Src:             'pkcs15-asepcos.c:116,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-asepcos.c:117,6'
          Dst:             asepcos_cond_delete
    - functionName:    sc_pkcs15init_get_asepcos_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-asepcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 827
      functionLinenumberEnd: 828
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    authentic_store_pubkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 782
      functionLinenumberEnd: 817
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          197
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - authentic_pkcs15_add_access_rule
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_prkey_by_id
        - sc_pkcs15_print_id
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:789,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:790,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-authentic.c:790,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:792,7'
          Dst:             sc_pkcs15_find_prkey_by_id
        - Src:             'pkcs15-authentic.c:793,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:793,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:810,2'
          Dst:             authentic_pkcs15_add_access_rule
        - Src:             'pkcs15-authentic.c:816,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:816,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:816,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_add_access_rule
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 376
      functionLinenumberEnd: 402
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          172
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - sc_pkcs15_compare_id
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:392,23'
          Dst:             sc_pkcs15_compare_id
    - functionName:    authentic_pkcs15_delete_rsa_sdo
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 722
      functionLinenumberEnd: 751
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          206
      EdgeCount:       31
      CyclomaticComplexity: 7
      functionsReached:
        - authentic_pkcs15_new_file
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:729,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:730,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:732,7'
          Dst:             authentic_pkcs15_new_file
        - Src:             'pkcs15-authentic.c:733,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:733,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:736,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-authentic.c:738,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:738,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:744,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-authentic.c:747,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:747,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:750,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:751,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:751,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:751,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_new_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 210
      functionLinenumberEnd: 260
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          280
      EdgeCount:       38
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_print_path
        - sc_profile_get_file
        - sc_strerror
      functionUses:    3
      BranchProfiles:
        - Branch String:   'pkcs15-authentic.c:218,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-authentic.c:216,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:217,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:232,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:232,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:235,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-authentic.c:235,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:236,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-authentic.c:237,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:237,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:239,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-authentic.c:239,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:252,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-authentic.c:252,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:257,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:259,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:259,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:259,2'
          Dst:             sc_do_log
    - functionName:    authentic_reference_to_pkcs15_id
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 88
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          82
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    authentic_pkcs15_fix_file_access_rule
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 408
      functionLinenumberEnd: 443
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          219
      EdgeCount:       38
      CyclomaticComplexity: 9
      functionsReached:
        - authentic_pkcs15_add_access_rule
        - authentic_reference_to_pkcs15_id
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:415,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:416,8'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-authentic.c:417,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:420,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:423,8'
          Dst:             authentic_pkcs15_add_access_rule
        - Src:             'pkcs15-authentic.c:424,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:424,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:427,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:430,4'
          Dst:             authentic_reference_to_pkcs15_id
        - Src:             'pkcs15-authentic.c:433,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:433,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:436,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:437,8'
          Dst:             authentic_pkcs15_add_access_rule
        - Src:             'pkcs15-authentic.c:438,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:439,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:439,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:442,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:442,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:442,2'
          Dst:             sc_do_log
    - functionName:    authentic_docp_set_acls
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 292
      functionLinenumberEnd: 324
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          274
      EdgeCount:       51
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:296,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:298,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:298,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:298,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:303,11'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-authentic.c:315,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:315,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:323,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:323,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:323,2'
          Dst:             sc_do_log
    - functionName:    authentic_free_sdo_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 497
      functionLinenumberEnd: 511
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          80
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - sc_file_free
        - sc_pkcs15_free_prkey
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:504,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:510,3'
          Dst:             sc_pkcs15_free_prkey
    - functionName:    authentic_pkcs15_fix_usage
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 472
      functionLinenumberEnd: 491
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          171
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:476,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:480,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:489,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:491,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:491,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:491,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_fix_access
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 449
      functionLinenumberEnd: 467
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          125
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - authentic_pkcs15_fix_file_access_rule
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_print_id
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:453,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:454,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-authentic.c:454,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:459,8'
          Dst:             authentic_pkcs15_fix_file_access_rule
        - Src:             'pkcs15-authentic.c:463,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:463,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:466,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:466,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:466,2'
          Dst:             sc_do_log
    - functionName:    authentic_sdo_allocate_prvkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 330
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          333
      EdgeCount:       62
      CyclomaticComplexity: 14
      functionsReached:
        - authentic_docp_set_acls
        - authentic_pkcs15_new_file
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_file_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:336,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:339,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:339,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:339,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:342,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:342,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:342,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:344,7'
          Dst:             authentic_pkcs15_new_file
        - Src:             'pkcs15-authentic.c:345,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:345,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:347,8'
          Dst:             calloc
        - Src:             'pkcs15-authentic.c:349,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:350,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:350,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:357,7'
          Dst:             authentic_docp_set_acls
        - Src:             'pkcs15-authentic.c:359,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:362,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:363,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:363,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:363,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:366,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-authentic.c:366,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:370,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:370,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:370,2'
          Dst:             sc_do_log
    - functionName:    authentic_emu_store_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 825
      functionLinenumberEnd: 837
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          90
      EdgeCount:       13
      CyclomaticComplexity: 2
      functionsReached:
        - authentic_store_pubkey
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-authentic.c:831,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-authentic.c:829,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:833,8'
          Dst:             authentic_store_pubkey
        - Src:             'pkcs15-authentic.c:837,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:837,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:837,2'
          Dst:             sc_do_log
    - functionName:    authentic_emu_update_tokeninfo
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 844
      functionLinenumberEnd: 868
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          169
      EdgeCount:       31
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_get_challenge
        - sc_select_file
        - sc_strerror
        - sc_update_binary
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:852,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-authentic.c:853,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-authentic.c:855,8'
          Dst:             sc_get_challenge
        - Src:             'pkcs15-authentic.c:857,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:858,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:858,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:862,8'
          Dst:             sc_update_binary
        - Src:             'pkcs15-authentic.c:863,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:864,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:864,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:867,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:867,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:867,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_delete_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 758
      functionLinenumberEnd: 776
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          183
      EdgeCount:       34
      CyclomaticComplexity: 5
      functionsReached:
        - authentic_pkcs15_delete_rsa_sdo
        - sc_do_log
        - sc_do_log_color
        - sc_print_path
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-authentic.c:765,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-authentic.c:762,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:763,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-authentic.c:763,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:767,8'
          Dst:             authentic_pkcs15_delete_rsa_sdo
        - Src:             'pkcs15-authentic.c:768,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:768,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:768,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:770,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:770,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:770,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:772,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:772,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:772,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:775,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:775,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:775,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 606
      functionLinenumberEnd: 665
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          400
      EdgeCount:       74
      CyclomaticComplexity: 17
      functionsReached:
        - authentic_free_sdo_data
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_allocate_object_content
        - sc_pkcs15_encode_pubkey
        - sc_pkcs15_print_id
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:617,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:618,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-authentic.c:618,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-authentic.c:618,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:622,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:622,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:624,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:624,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:628,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:628,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:630,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-authentic.c:631,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:631,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:635,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-authentic.c:637,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:637,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:641,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-authentic.c:642,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:642,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:650,7'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             'pkcs15-authentic.c:651,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:651,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:658,2'
          Dst:             authentic_free_sdo_data
        - Src:             'pkcs15-authentic.c:660,7'
          Dst:             sc_pkcs15_allocate_object_content
        - Src:             'pkcs15-authentic.c:661,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:661,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:664,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:664,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:664,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 674
      functionLinenumberEnd: 716
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          338
      EdgeCount:       64
      CyclomaticComplexity: 15
      functionsReached:
        - authentic_free_sdo_data
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_pkcs15_free_object_content
        - sc_pkcs15_print_id
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:682,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:683,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-authentic.c:683,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-authentic.c:683,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:687,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:687,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:689,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:689,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:695,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:695,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:697,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-authentic.c:698,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:698,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:702,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-authentic.c:702,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:706,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-authentic.c:707,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:707,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:709,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-authentic.c:710,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:710,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:712,2'
          Dst:             authentic_free_sdo_data
        - Src:             'pkcs15-authentic.c:713,2'
          Dst:             sc_pkcs15_free_object_content
        - Src:             'pkcs15-authentic.c:715,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:715,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:715,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 517
      functionLinenumberEnd: 597
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         85
      ICount:          534
      EdgeCount:       107
      CyclomaticComplexity: 24
      functionsReached:
        - authentic_free_sdo_data
        - authentic_pkcs15_fix_access
        - authentic_pkcs15_fix_usage
        - authentic_pkcs15_new_file
        - authentic_sdo_allocate_prvkey
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_allocate_object_content
        - sc_pkcs15init_authenticate
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:526,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:527,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:530,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:530,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:532,7'
          Dst:             authentic_pkcs15_new_file
        - Src:             'pkcs15-authentic.c:533,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:533,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:537,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-authentic.c:539,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:540,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:540,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:542,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-authentic.c:543,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:545,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:546,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:546,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:552,7'
          Dst:             authentic_sdo_allocate_prvkey
        - Src:             'pkcs15-authentic.c:554,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:555,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:556,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:556,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:556,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:559,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-authentic.c:564,8'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-authentic.c:566,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:566,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:568,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-authentic.c:569,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:569,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:571,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-authentic.c:573,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:573,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:575,7'
          Dst:             authentic_pkcs15_fix_access
        - Src:             'pkcs15-authentic.c:576,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:576,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:578,7'
          Dst:             authentic_pkcs15_fix_usage
        - Src:             'pkcs15-authentic.c:579,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:579,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:586,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:588,7'
          Dst:             sc_pkcs15_allocate_object_content
        - Src:             'pkcs15-authentic.c:589,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:589,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:593,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:594,2'
          Dst:             authentic_free_sdo_data
        - Src:             'pkcs15-authentic.c:596,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:596,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:596,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_select_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 285
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          130
      EdgeCount:       25
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:272,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:278,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:278,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:278,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:283,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:284,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:284,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:284,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 890
      functionLinenumberEnd: 891
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          68
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:891,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:891,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:891,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 880
      functionLinenumberEnd: 881
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          58
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:881,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:881,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:881,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_init_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 872
      functionLinenumberEnd: 873
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          56
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:873,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:873,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:873,2'
          Dst:             sc_do_log
    - functionName:    authentic_pkcs15_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 201
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         64
      ICount:          376
      EdgeCount:       81
      CyclomaticComplexity: 19
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_erase_binary
        - sc_file_free
        - sc_pkcs15_free_object
        - sc_pkcs15_get_objects
        - sc_pkcs15_remove_object
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:144,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:147,3'
          Dst:             sc_print_path
        - Src:             'pkcs15-authentic.c:147,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:148,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-authentic.c:149,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:149,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:169,9'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-authentic.c:170,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:170,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:173,5'
          Dst:             sc_pkcs15_remove_object
        - Src:             'pkcs15-authentic.c:174,5'
          Dst:             sc_pkcs15_free_object
        - Src:             'pkcs15-authentic.c:178,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-authentic.c:181,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:181,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:183,8'
          Dst:             sc_erase_binary
        - Src:             'pkcs15-authentic.c:185,9'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-authentic.c:187,5'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:189,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:189,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:191,9'
          Dst:             sc_erase_binary
        - Src:             'pkcs15-authentic.c:194,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-authentic.c:195,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:195,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:200,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:200,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:200,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_get_authentic_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 925
      functionLinenumberEnd: 926
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    authentic_pkcs15_delete_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-authentic.c'
      linkageType:     InternalLinkage
      functionLinenumber: 105
      functionLinenumberEnd: 129
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          138
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_authenticate
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-authentic.c:112,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:113,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-authentic.c:116,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-authentic.c:119,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:119,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:127,7'
          Dst:             sc_delete_file
        - Src:             'pkcs15-authentic.c:128,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-authentic.c:128,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-authentic.c:128,2'
          Dst:             sc_do_log
    - functionName:    parse_ext_pubkey_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 781
      functionLinenumberEnd: 816
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          171
      EdgeCount:       26
      CyclomaticComplexity: 9
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:787,9'
          Dst:             sc_asn1_find_tag
        - Src:             'pkcs15-cardos.c:789,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:793,6'
          Dst:             sc_asn1_find_tag
        - Src:             'pkcs15-cardos.c:795,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:804,6'
          Dst:             sc_asn1_find_tag
        - Src:             'pkcs15-cardos.c:806,3'
          Dst:             sc_do_log
    - functionName:    do_cardos_extract_pubkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 821
      functionLinenumberEnd: 838
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          132
      EdgeCount:       26
      CyclomaticComplexity: 9
      functionsReached:
        - sc_read_record
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:825,6'
          Dst:             sc_read_record
    - functionName:    cardos_extract_pubkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 842
      functionLinenumberEnd: 871
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          118
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - do_cardos_extract_pubkey
        - parse_ext_pubkey_file
        - sc_read_binary
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:847,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-cardos.c:852,7'
          Dst:             do_cardos_extract_pubkey
        - Src:             'pkcs15-cardos.c:855,7'
          Dst:             do_cardos_extract_pubkey
        - Src:             'pkcs15-cardos.c:862,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-cardos.c:864,8'
          Dst:             parse_ext_pubkey_file
    - functionName:    init_key_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 300
      functionLinenumberEnd: 318
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          90
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cardos_store_key_component
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 653
      functionLinenumberEnd: 725
      functionDepth:   0
      returnType:      int
      argCount:        9
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
        - size_t
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          323
      EdgeCount:       95
      CyclomaticComplexity: 30
      functionsReached:
        - sc_card_ctl
        - sc_pkcs15init_set_lifecycle
        - tlv_add
        - tlv_init
        - tlv_len
        - tlv_next
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:663,2'
          Dst:             tlv_init
        - Src:             'pkcs15-cardos.c:666,6'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:667,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:668,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:672,6'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:673,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:674,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:675,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:676,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:677,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:678,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:679,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:680,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:684,6'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:685,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:686,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:687,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:688,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:689,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:690,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:691,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:705,6'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:708,7'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:709,6'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:713,7'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:717,13'
          Dst:             tlv_len
        - Src:             'pkcs15-cardos.c:720,6'
          Dst:             sc_pkcs15init_set_lifecycle
        - Src:             'pkcs15-cardos.c:724,9'
          Dst:             sc_card_ctl
    - functionName:    tlv_init
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 88
      functionLinenumberEnd: 92
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          27
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    tlv_next
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 95
      functionLinenumberEnd: 102
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          48
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    tlv_add
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 105
      functionLinenumberEnd: 111
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          43
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    44
      BranchProfiles:  []
      Callsites:       []
    - functionName:    tlv_len
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 115
      functionLinenumberEnd: 116
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cardos_put_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 732
      functionLinenumberEnd: 773
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          275
      EdgeCount:       44
      CyclomaticComplexity: 14
      functionsReached:
        - cardos_store_key_component
        - sc_pkcs15init_get_pin_reference
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:736,11'
          Dst:             sc_pkcs15init_get_pin_reference
        - Src:             'pkcs15-cardos.c:745,7'
          Dst:             cardos_store_key_component
        - Src:             'pkcs15-cardos.c:749,7'
          Dst:             cardos_store_key_component
        - Src:             'pkcs15-cardos.c:753,7'
          Dst:             cardos_store_key_component
        - Src:             'pkcs15-cardos.c:757,7'
          Dst:             cardos_store_key_component
        - Src:             'pkcs15-cardos.c:761,7'
          Dst:             cardos_store_key_component
        - Src:             'pkcs15-cardos.c:764,7'
          Dst:             cardos_store_key_component
        - Src:             'pkcs15-cardos.c:768,7'
          Dst:             cardos_store_key_component
    - functionName:    cardos_key_algorithm
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 622
      functionLinenumberEnd: 639
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          63
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cardos_have_verifyrc_package
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 874
      functionLinenumberEnd: 921
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         35
      ICount:          208
      EdgeCount:       47
      CyclomaticComplexity: 14
      functionsReached:
        - sc_asn1_find_tag
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:881,2'
          Dst:             sc_format_apdu
        - Src:             'pkcs15-cardos.c:886,6'
          Dst:             sc_transmit_apdu
        - Src:             'pkcs15-cardos.c:887,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:887,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:894,8'
          Dst:             sc_asn1_find_tag
        - Src:             'pkcs15-cardos.c:900,8'
          Dst:             sc_asn1_find_tag
        - Src:             'pkcs15-cardos.c:908,8'
          Dst:             sc_asn1_find_tag
    - functionName:    cardos_store_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 476
      functionLinenumberEnd: 571
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         68
      ICount:          372
      EdgeCount:       95
      CyclomaticComplexity: 29
      functionsReached:
        - cardos_have_verifyrc_package
        - sc_card_ctl
        - sc_do_log
        - sc_pkcs15init_set_lifecycle
        - tlv_add
        - tlv_init
        - tlv_len
        - tlv_next
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:493,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:504,2'
          Dst:             tlv_init
        - Src:             'pkcs15-cardos.c:507,6'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:508,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:509,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:513,6'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:514,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:517,16'
          Dst:             cardos_have_verifyrc_package
        - Src:             'pkcs15-cardos.c:520,7'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:523,6'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:524,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:525,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:533,6'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:537,6'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:544,6'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:545,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:549,6'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:550,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:551,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:552,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:556,6'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:559,7'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:563,13'
          Dst:             tlv_len
        - Src:             'pkcs15-cardos.c:566,6'
          Dst:             sc_pkcs15init_set_lifecycle
        - Src:             'pkcs15-cardos.c:570,9'
          Dst:             sc_card_ctl
    - functionName:    cardos_create_sec_env
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 579
      functionLinenumberEnd: 609
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          174
      EdgeCount:       48
      CyclomaticComplexity: 16
      functionsReached:
        - sc_card_ctl
        - sc_pkcs15init_set_lifecycle
        - tlv_add
        - tlv_init
        - tlv_len
        - tlv_next
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:585,2'
          Dst:             tlv_init
        - Src:             'pkcs15-cardos.c:586,6'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:587,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:588,9'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:589,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:590,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:591,9'
          Dst:             tlv_next
        - Src:             'pkcs15-cardos.c:592,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:593,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:594,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:595,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:596,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:597,9'
          Dst:             tlv_add
        - Src:             'pkcs15-cardos.c:601,13'
          Dst:             tlv_len
        - Src:             'pkcs15-cardos.c:604,6'
          Dst:             sc_pkcs15init_set_lifecycle
        - Src:             'pkcs15-cardos.c:608,9'
          Dst:             sc_card_ctl
    - functionName:    cardos_delete_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 415
      functionLinenumberEnd: 467
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          347
      EdgeCount:       71
      CyclomaticComplexity: 17
      functionsReached:
        - cardos_key_algorithm
        - cardos_put_key
        - init_key_object
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_delete_by_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:424,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:432,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:435,3'
          Dst:             init_key_object
        - Src:             'pkcs15-cardos.c:436,7'
          Dst:             cardos_key_algorithm
        - Src:             'pkcs15-cardos.c:437,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:437,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:439,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-cardos.c:440,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:440,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:442,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-cardos.c:443,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-cardos.c:444,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:444,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:446,7'
          Dst:             cardos_put_key
        - Src:             'pkcs15-cardos.c:447,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:447,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:452,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-cardos.c:454,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:454,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:457,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-cardos.c:462,7'
          Dst:             sc_pkcs15init_delete_by_path
        - Src:             'pkcs15-cardos.c:463,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:463,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:466,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cardos.c:466,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cardos.c:466,2'
          Dst:             sc_do_log
    - functionName:    cardos_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 327
      functionLinenumberEnd: 407
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          318
      EdgeCount:       57
      CyclomaticComplexity: 17
      functionsReached:
        - cardos_extract_pubkey
        - cardos_key_algorithm
        - cardos_put_key
        - init_key_object
        - sc_card_ctl
        - sc_card_find_rsa_alg
        - sc_do_log
        - sc_file_free
        - sc_pkcs15init_create_file
        - sc_pkcs15init_get_pin_reference
        - sc_pkcs15init_rmdir
        - sc_pkcs15init_verify_secret
        - sc_profile_get_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:341,18'
          Dst:             sc_card_find_rsa_alg
        - Src:             'pkcs15-cardos.c:344,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:352,6'
          Dst:             cardos_key_algorithm
        - Src:             'pkcs15-cardos.c:353,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:358,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-cardos.c:359,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:364,11'
          Dst:             sc_pkcs15init_get_pin_reference
        - Src:             'pkcs15-cardos.c:367,7'
          Dst:             sc_pkcs15init_verify_secret
        - Src:             'pkcs15-cardos.c:376,11'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-cardos.c:380,2'
          Dst:             init_key_object
        - Src:             'pkcs15-cardos.c:382,6'
          Dst:             cardos_put_key
        - Src:             'pkcs15-cardos.c:390,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-cardos.c:394,6'
          Dst:             cardos_extract_pubkey
        - Src:             'pkcs15-cardos.c:397,3'
          Dst:             sc_pkcs15init_rmdir
        - Src:             'pkcs15-cardos.c:398,2'
          Dst:             sc_file_free
    - functionName:    cardos_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 263
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          120
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - cardos_key_algorithm
        - cardos_put_key
        - sc_do_log
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:270,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:274,6'
          Dst:             cardos_key_algorithm
        - Src:             'pkcs15-cardos.c:275,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:280,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-cardos.c:282,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:286,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-cardos.c:287,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-cardos.c:289,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cardos.c:293,6'
          Dst:             cardos_put_key
    - functionName:    cardos_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cardos_select_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 237
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cardos_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 196
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          164
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - cardos_store_pin
        - sc_get_mf_path
        - sc_profile_get_pin_info
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:208,79'
          Dst:             sc_get_mf_path
        - Src:             'pkcs15-cardos.c:208,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-cardos.c:215,3'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-cardos.c:218,7'
          Dst:             cardos_store_pin
        - Src:             'pkcs15-cardos.c:224,7'
          Dst:             cardos_store_pin
    - functionName:    cardos_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 186
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          103
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cardos_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 152
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          70
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - cardos_create_sec_env
        - sc_pkcs15init_create_file
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:139,11'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-cardos.c:142,11'
          Dst:             sc_select_file
        - Src:             'pkcs15-cardos.c:148,11'
          Dst:             cardos_create_sec_env
    - functionName:    cardos_erase
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 126
      functionLinenumberEnd: 127
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15init_erase_card_recursively
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cardos.c:127,9'
          Dst:             sc_pkcs15init_erase_card_recursively
    - functionName:    sc_pkcs15init_get_cardos_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cardos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 943
      functionLinenumberEnd: 944
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bn2cft
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 712
      functionLinenumberEnd: 722
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          55
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cyberflex_encode_public_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 873
      functionLinenumberEnd: 911
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          178
      EdgeCount:       18
      CyclomaticComplexity: 4
      functionsReached:
        - bn2cft
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-cflex.c:877,9'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-cflex.c:901,11'
          Dst:             bn2cft
        - Src:             'pkcs15-cflex.c:902,11'
          Dst:             bn2cft
    - functionName:    cyberflex_encode_private_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 820
      functionLinenumberEnd: 867
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          229
      EdgeCount:       27
      CyclomaticComplexity: 7
      functionsReached:
        - bn2cft
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-cflex.c:824,9'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-cflex.c:853,11'
          Dst:             bn2cft
        - Src:             'pkcs15-cflex.c:854,11'
          Dst:             bn2cft
        - Src:             'pkcs15-cflex.c:855,11'
          Dst:             bn2cft
        - Src:             'pkcs15-cflex.c:856,11'
          Dst:             bn2cft
        - Src:             'pkcs15-cflex.c:857,11'
          Dst:             bn2cft
    - functionName:    bn2cf
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 698
      functionLinenumberEnd: 708
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          60
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - invert_buf
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:704,2'
          Dst:             invert_buf
    - functionName:    invert_buf
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 689
      functionLinenumberEnd: 694
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          43
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cflex_get_keyfiles
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 652
      functionLinenumberEnd: 685
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          137
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached:
        - sc_append_file_id
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_path_print
        - sc_profile_get_file_by_path
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:657,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:657,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:657,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:661,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             'pkcs15-cflex.c:665,7'
          Dst:             sc_path_print
        - Src:             'pkcs15-cflex.c:669,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:676,2'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-cflex.c:677,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             'pkcs15-cflex.c:679,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:680,3'
          Dst:             sc_file_free
    - functionName:    put_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 511
      functionLinenumberEnd: 518
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          47
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cflex_create_empty_pin_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 631
      functionLinenumberEnd: 644
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          130
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - cflex_create_pin_file
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:634,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:636,6'
          Dst:             cflex_create_pin_file
        - Src:             'pkcs15-cflex.c:641,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:641,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:641,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:643,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:643,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:643,2'
          Dst:             sc_do_log
    - functionName:    cflex_create_pin_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 526
      functionLinenumberEnd: 623
      functionDepth:   0
      returnType:      int
      argCount:        12
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         76
      ICount:          499
      EdgeCount:       99
      CyclomaticComplexity: 25
      functionsReached:
        - cflex_create_dummy_chvs
        - cflex_delete_dummy_chvs
        - put_pin
        - sc_do_log
        - sc_do_log_color
        - sc_file_add_acl_entry
        - sc_file_free
        - sc_pin_cmd
        - sc_pkcs15_find_pin_by_type_and_reference
        - sc_pkcs15_pincache_add
        - sc_pkcs15init_create_file
        - sc_profile_get_file
        - sc_profile_get_file_by_path
        - sc_select_file
        - sc_strerror
        - sc_update_binary
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:534,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:547,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-cflex.c:552,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             'pkcs15-cflex.c:553,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-cflex.c:554,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-cflex.c:555,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:555,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:562,3'
          Dst:             sc_file_add_acl_entry
        - Src:             'pkcs15-cflex.c:568,2'
          Dst:             put_pin
        - Src:             'pkcs15-cflex.c:569,2'
          Dst:             put_pin
        - Src:             'pkcs15-cflex.c:573,13'
          Dst:             cflex_create_dummy_chvs
        - Src:             'pkcs15-cflex.c:576,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:577,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:577,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:589,7'
          Dst:             sc_pin_cmd
        - Src:             'pkcs15-cflex.c:591,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:592,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:592,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:597,7'
          Dst:             sc_pkcs15_find_pin_by_type_and_reference
        - Src:             'pkcs15-cflex.c:599,4'
          Dst:             sc_pkcs15_pincache_add
        - Src:             'pkcs15-cflex.c:602,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-cflex.c:604,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:605,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:605,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:607,6'
          Dst:             sc_update_binary
        - Src:             'pkcs15-cflex.c:609,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:612,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:612,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:615,2'
          Dst:             cflex_delete_dummy_chvs
        - Src:             'pkcs15-cflex.c:619,3'
          Dst:             sc_pkcs15_pincache_add
        - Src:             'pkcs15-cflex.c:622,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:622,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:622,2'
          Dst:             sc_do_log
    - functionName:    cflex_create_dummy_chvs
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 438
      functionLinenumberEnd: 494
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          247
      EdgeCount:       47
      CyclomaticComplexity: 13
      functionsReached:
        - cflex_create_empty_pin_file
        - cflex_delete_dummy_chvs
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_select_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:443,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:448,8'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-cflex.c:466,9'
          Dst:             memcmp
        - Src:             'pkcs15-cflex.c:469,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-cflex.c:481,7'
          Dst:             cflex_create_empty_pin_file
        - Src:             'pkcs15-cflex.c:489,3'
          Dst:             cflex_delete_dummy_chvs
        - Src:             'pkcs15-cflex.c:493,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:493,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:493,2'
          Dst:             sc_do_log
    - functionName:    cflex_delete_dummy_chvs
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 499
      functionLinenumberEnd: 504
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cflex_delete_file
        - sc_file_free
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:501,3'
          Dst:             cflex_delete_file
        - Src:             'pkcs15-cflex.c:502,3'
          Dst:             sc_file_free
    - functionName:    cflex_delete_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 53
      functionLinenumberEnd: 81
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          104
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - sc_delete_file
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_select_file
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:63,13'
          Dst:             sc_select_file
        - Src:             'pkcs15-cflex.c:67,13'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-cflex.c:68,9'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:79,6'
          Dst:             sc_delete_file
    - functionName:    cryptoflex_encode_public_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 773
      functionLinenumberEnd: 811
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          151
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached:
        - bn2cf
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-cflex.c:777,9'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-cflex.c:806,11'
          Dst:             bn2cf
        - Src:             'pkcs15-cflex.c:807,11'
          Dst:             bn2cf
    - functionName:    cryptoflex_encode_private_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 731
      functionLinenumberEnd: 767
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          209
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - bn2cf
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-cflex.c:735,9'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-cflex.c:754,11'
          Dst:             bn2cf
        - Src:             'pkcs15-cflex.c:755,11'
          Dst:             bn2cf
        - Src:             'pkcs15-cflex.c:756,11'
          Dst:             bn2cf
        - Src:             'pkcs15-cflex.c:757,11'
          Dst:             bn2cf
        - Src:             'pkcs15-cflex.c:758,11'
          Dst:             bn2cf
    - functionName:    cflex_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 325
      functionLinenumberEnd: 377
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          201
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - cflex_get_keyfiles
        - invert_buf
        - sc_card_ctl
        - sc_do_log
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_read_binary
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:335,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:339,6'
          Dst:             cflex_get_keyfiles
        - Src:             'pkcs15-cflex.c:346,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-cflex.c:357,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-cflex.c:368,11'
          Dst:             sc_select_file
        - Src:             'pkcs15-cflex.c:369,11'
          Dst:             sc_read_binary
        - Src:             'pkcs15-cflex.c:372,2'
          Dst:             invert_buf
        - Src:             'pkcs15-cflex.c:374,6'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:375,2'
          Dst:             sc_file_free
    - functionName:    cflex_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 386
      functionLinenumberEnd: 428
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          158
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - cflex_get_keyfiles
        - sc_do_log
        - sc_file_free
        - sc_pkcs15init_update_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:395,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:399,6'
          Dst:             cflex_get_keyfiles
        - Src:             'pkcs15-cflex.c:411,6'
          Dst:             sc_pkcs15init_update_file
        - Src:             'pkcs15-cflex.c:423,6'
          Dst:             sc_pkcs15init_update_file
        - Src:             'pkcs15-cflex.c:425,6'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:426,2'
          Dst:             sc_file_free
    - functionName:    cflex_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 272
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          197
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - cflex_get_keyfiles
        - sc_do_log
        - sc_file_free
        - sc_pkcs15init_create_file
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-cflex.c:289,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-cflex.c:279,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:284,6'
          Dst:             cflex_get_keyfiles
        - Src:             'pkcs15-cflex.c:295,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:306,11'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-cflex.c:307,11'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-cflex.c:312,6'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:313,2'
          Dst:             sc_file_free
    - functionName:    cflex_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 223
      functionLinenumberEnd: 265
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          240
      EdgeCount:       41
      CyclomaticComplexity: 11
      functionsReached:
        - cflex_create_dummy_chvs
        - cflex_create_pin_file
        - cflex_delete_dummy_chvs
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_profile_get_file
        - sc_profile_get_pin_retries
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:231,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:250,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-cflex.c:251,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-cflex.c:252,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:252,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:254,13'
          Dst:             cflex_create_dummy_chvs
        - Src:             'pkcs15-cflex.c:255,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:256,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:256,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:259,18'
          Dst:             sc_profile_get_pin_retries
        - Src:             'pkcs15-cflex.c:260,18'
          Dst:             sc_profile_get_pin_retries
        - Src:             'pkcs15-cflex.c:258,6'
          Dst:             cflex_create_pin_file
        - Src:             'pkcs15-cflex.c:263,2'
          Dst:             cflex_delete_dummy_chvs
        - Src:             'pkcs15-cflex.c:264,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:264,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:264,2'
          Dst:             sc_do_log
    - functionName:    cflex_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 212
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          77
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cflex_create_domain
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 181
      functionLinenumberEnd: 182
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15_create_pin_domain
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:182,9'
          Dst:             sc_pkcs15_create_pin_domain
    - functionName:    cflex_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_pkcs15init_create_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:172,9'
          Dst:             sc_pkcs15init_create_file
    - functionName:    cryptoflex_init_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 163
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          115
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - sc_bin_to_hex
        - sc_file_free
        - sc_format_path
        - sc_pkcs15init_set_serial
        - sc_read_binary
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:143,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-cflex.c:144,11'
          Dst:             sc_select_file
        - Src:             'pkcs15-cflex.c:152,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:153,11'
          Dst:             sc_read_binary
        - Src:             'pkcs15-cflex.c:159,11'
          Dst:             sc_bin_to_hex
        - Src:             'pkcs15-cflex.c:161,2'
          Dst:             sc_pkcs15init_set_serial
    - functionName:    cflex_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 126
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         29
      ICount:          198
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - cflex_delete_file
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_free_apps
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-cflex.c:92,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-cflex.c:99,13'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-cflex.c:100,21'
          Dst:             cflex_delete_file
        - Src:             'pkcs15-cflex.c:101,17'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:106,4'
          Dst:             cflex_delete_file
        - Src:             'pkcs15-cflex.c:109,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-cflex.c:111,6'
          Dst:             memcmp
        - Src:             'pkcs15-cflex.c:113,17'
          Dst:             cflex_delete_file
        - Src:             'pkcs15-cflex.c:114,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:120,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-cflex.c:122,9'
          Dst:             sc_free_apps
        - Src:             'pkcs15-cflex.c:126,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-cflex.c:126,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-cflex.c:126,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_get_cyberflex_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 959
      functionLinenumberEnd: 960
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_get_cryptoflex_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-cflex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 953
      functionLinenumberEnd: 954
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    process_acl_entry
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 34
      functionLinenumberEnd: 61
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          91
      EdgeCount:       19
      CyclomaticComplexity: 7
      functionsReached:
        - sc_file_get_acl_entry
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:36,32'
          Dst:             sc_file_get_acl_entry
    - functionName:    entersafe_sanity_check
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 467
      functionLinenumberEnd: 511
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         49
      ICount:          308
      EdgeCount:       62
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_pkcs15_print_id
        - sc_pkcs15init_update_any_df
        - sc_profile_get_pin_info
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:473,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:475,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:476,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-entersafe.c:477,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:477,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:480,2'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-entersafe.c:481,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:481,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:492,4'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-entersafe.c:492,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:505,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:505,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:506,8'
          Dst:             sc_pkcs15init_update_any_df
        - Src:             'pkcs15-entersafe.c:507,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:507,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:510,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:510,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:510,2'
          Dst:             sc_do_log
    - functionName:    entersafe_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 394
      functionLinenumberEnd: 463
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          300
      EdgeCount:       52
      CyclomaticComplexity: 14
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_authenticate
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:405,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:417,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:421,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-entersafe.c:424,14'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-entersafe.c:426,8'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-entersafe.c:430,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-entersafe.c:431,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:431,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:437,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-entersafe.c:438,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:438,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:462,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:462,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:462,2'
          Dst:             sc_do_log
    - functionName:    entersafe_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 346
      functionLinenumberEnd: 390
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          217
      EdgeCount:       42
      CyclomaticComplexity: 11
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_authenticate
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:357,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:362,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:362,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:362,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:370,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:374,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-entersafe.c:377,14'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-entersafe.c:379,8'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-entersafe.c:383,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-entersafe.c:384,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:384,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:389,9'
          Dst:             sc_card_ctl
    - functionName:    entersafe_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 339
      functionLinenumberEnd: 341
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:340,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:341,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:341,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:341,2'
          Dst:             sc_do_log
    - functionName:    entersafe_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 328
      functionLinenumberEnd: 335
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          94
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:329,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:334,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:334,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:334,2'
          Dst:             sc_do_log
    - functionName:    entersafe_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 271
      functionLinenumberEnd: 324
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          258
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_pincache_add
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:276,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:296,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-entersafe.c:298,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:298,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:298,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:301,4'
          Dst:             sc_pkcs15_pincache_add
        - Src:             'pkcs15-entersafe.c:319,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-entersafe.c:323,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:323,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:323,2'
          Dst:             sc_do_log
    - functionName:    entersafe_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 253
      functionLinenumberEnd: 265
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          108
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:254,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:264,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:264,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:264,2'
          Dst:             sc_do_log
    - functionName:    entersafe_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 249
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          473
      EdgeCount:       51
      CyclomaticComplexity: 11
      functionsReached:
        - process_acl_entry
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:155,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:172,10'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-entersafe.c:173,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:173,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:181,10'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-entersafe.c:182,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:182,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:195,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-entersafe.c:197,10'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-entersafe.c:198,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:198,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:218,10'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-entersafe.c:219,8'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:220,8'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:220,8'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:220,8'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:232,24'
          Dst:             process_acl_entry
        - Src:             'pkcs15-entersafe.c:233,24'
          Dst:             process_acl_entry
        - Src:             'pkcs15-entersafe.c:236,6'
          Dst:             sc_file_free
        - Src:             'pkcs15-entersafe.c:238,12'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-entersafe.c:239,6'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:239,6'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:244,10'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-entersafe.c:245,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:245,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:248,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:248,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:248,2'
          Dst:             sc_do_log
    - functionName:    entersafe_init_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 74
      functionLinenumberEnd: 147
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         45
      ICount:          402
      EdgeCount:       55
      CyclomaticComplexity: 12
      functionsReached:
        - calloc
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_profile_get_file
        - sc_strerror
        - sc_update_binary
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:82,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:84,10'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-entersafe.c:85,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:85,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:98,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-entersafe.c:100,10'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-entersafe.c:101,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:101,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:111,10'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-entersafe.c:112,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:112,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:115,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-entersafe.c:128,10'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-entersafe.c:129,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:129,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:134,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:134,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:135,11'
          Dst:             calloc
        - Src:             'pkcs15-entersafe.c:137,6'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:137,6'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:137,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:140,10'
          Dst:             sc_update_binary
        - Src:             'pkcs15-entersafe.c:142,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:142,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:145,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-entersafe.c:145,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-entersafe.c:145,2'
          Dst:             sc_do_log
    - functionName:    entersafe_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          47
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_get_mf_path
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-entersafe.c:65,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-entersafe.c:67,36'
          Dst:             sc_get_mf_path
        - Src:             'pkcs15-entersafe.c:67,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-entersafe.c:70,9'
          Dst:             sc_card_ctl
    - functionName:    sc_pkcs15init_get_entersafe_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-entersafe.c'
      linkageType:     InternalLinkage
      functionLinenumber: 532
      functionLinenumberEnd: 533
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cosm_new_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 311
      functionLinenumberEnd: 397
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          257
      EdgeCount:       33
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_print_path
        - sc_profile_get_file
        - sc_strerror
      functionUses:    4
      BranchProfiles:
        - Branch String:   'pkcs15-epass2003.c:320,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-epass2003.c:316,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:317,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:361,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:369,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:371,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-epass2003.c:372,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:379,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:390,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:392,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-epass2003.c:392,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:396,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:396,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:396,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_sanity_check
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 708
      functionLinenumberEnd: 759
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         49
      ICount:          308
      EdgeCount:       62
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_pkcs15_print_id
        - sc_pkcs15init_update_any_df
        - sc_profile_get_pin_info
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:714,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:716,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:718,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-epass2003.c:719,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:719,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:722,2'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-epass2003.c:723,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:723,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:735,4'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-epass2003.c:735,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:751,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:751,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:754,8'
          Dst:             sc_pkcs15init_update_any_df
        - Src:             'pkcs15-epass2003.c:755,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:755,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:758,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:758,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:758,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_delete_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 701
      functionLinenumberEnd: 703
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          34
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log
        - sc_pkcs15init_delete_by_path
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:702,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:703,9'
          Dst:             sc_pkcs15init_delete_by_path
    - functionName:    epass2003_pkcs15_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 491
      functionLinenumberEnd: 695
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         108
      ICount:          915
      EdgeCount:       142
      CyclomaticComplexity: 36
      functionsReached:
        - cosm_new_file
        - sc_card_ctl
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_fix_ec_parameters
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_create_file
        - sc_pkcs15init_delete_by_path
        - sc_print_path
        - sc_select_file
        - sc_strerror
        - strdup
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:504,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:513,6'
          Dst:             cosm_new_file
        - Src:             'pkcs15-epass2003.c:514,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:514,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:517,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-epass2003.c:517,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:519,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-epass2003.c:519,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:522,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-epass2003.c:524,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:524,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:527,2'
          Dst:             sc_delete_file
        - Src:             'pkcs15-epass2003.c:529,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-epass2003.c:530,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:530,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:533,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:537,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:541,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:550,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-epass2003.c:551,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:551,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:553,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-epass2003.c:554,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:554,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:557,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-epass2003.c:558,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:558,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:563,7'
          Dst:             cosm_new_file
        - Src:             'pkcs15-epass2003.c:567,7'
          Dst:             cosm_new_file
        - Src:             'pkcs15-epass2003.c:571,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:580,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-epass2003.c:580,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:583,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-epass2003.c:586,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-epass2003.c:587,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:587,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:590,7'
          Dst:             sc_pkcs15init_delete_by_path
        - Src:             'pkcs15-epass2003.c:592,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:597,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-epass2003.c:599,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:604,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-epass2003.c:606,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:606,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:618,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-epass2003.c:619,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:619,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:669,37'
          Dst:             strdup
        - Src:             'pkcs15-epass2003.c:676,7'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-epass2003.c:683,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:684,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:685,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:694,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:694,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:694,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 413
      functionLinenumberEnd: 485
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          397
      EdgeCount:       59
      CyclomaticComplexity: 14
      functionsReached:
        - cosm_new_file
        - sc_card_ctl
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_print_id
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_create_file
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:426,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:428,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-epass2003.c:428,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:430,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:430,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:432,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-epass2003.c:432,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-epass2003.c:432,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:438,6'
          Dst:             cosm_new_file
        - Src:             'pkcs15-epass2003.c:440,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:440,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:443,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-epass2003.c:443,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:445,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-epass2003.c:445,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:447,2'
          Dst:             sc_delete_file
        - Src:             'pkcs15-epass2003.c:449,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-epass2003.c:450,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:450,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:453,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:455,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:462,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-epass2003.c:463,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:463,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:466,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-epass2003.c:467,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:467,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:470,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:478,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-epass2003.c:479,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:479,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:482,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:484,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:484,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:484,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 402
      functionLinenumberEnd: 406
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          65
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:405,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:406,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:406,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:406,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 299
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          131
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:300,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:302,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:302,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:302,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:304,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:304,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:304,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 213
      functionLinenumberEnd: 294
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          351
      EdgeCount:       61
      CyclomaticComplexity: 16
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_pincache_add
        - sc_profile_get_pin_id
        - sc_profile_get_pin_retries
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:223,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:242,7'
          Dst:             sc_profile_get_pin_id
        - Src:             'pkcs15-epass2003.c:243,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:243,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:246,7'
          Dst:             sc_profile_get_pin_retries
        - Src:             'pkcs15-epass2003.c:254,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-epass2003.c:256,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:256,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:256,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:259,4'
          Dst:             sc_pkcs15_pincache_add
        - Src:             'pkcs15-epass2003.c:278,7'
          Dst:             sc_profile_get_pin_id
        - Src:             'pkcs15-epass2003.c:279,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:279,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:282,7'
          Dst:             sc_profile_get_pin_retries
        - Src:             'pkcs15-epass2003.c:290,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-epass2003.c:293,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:293,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:293,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 194
      functionLinenumberEnd: 205
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          101
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:195,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:204,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:204,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:204,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 189
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          461
      EdgeCount:       81
      CyclomaticComplexity: 17
      functionsReached:
        - sc_create_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_profile_get_file
        - sc_profile_get_pin_id
        - sc_profile_get_pin_retries
        - sc_select_file
        - sc_strerror
        - sc_update_binary
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:101,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:112,9'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-epass2003.c:113,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:113,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:115,9'
          Dst:             sc_create_file
        - Src:             'pkcs15-epass2003.c:116,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:117,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:117,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:120,9'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-epass2003.c:121,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:121,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:123,9'
          Dst:             sc_create_file
        - Src:             'pkcs15-epass2003.c:124,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:125,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:125,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:128,9'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-epass2003.c:129,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:129,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:131,9'
          Dst:             sc_create_file
        - Src:             'pkcs15-epass2003.c:132,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:132,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:134,9'
          Dst:             sc_select_file
        - Src:             'pkcs15-epass2003.c:135,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:135,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:138,9'
          Dst:             sc_profile_get_pin_id
        - Src:             'pkcs15-epass2003.c:139,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:139,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:141,24'
          Dst:             sc_profile_get_pin_retries
        - Src:             'pkcs15-epass2003.c:143,9'
          Dst:             sc_profile_get_pin_id
        - Src:             'pkcs15-epass2003.c:144,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:144,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:146,22'
          Dst:             sc_profile_get_pin_retries
        - Src:             'pkcs15-epass2003.c:151,9'
          Dst:             sc_update_binary
        - Src:             'pkcs15-epass2003.c:153,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:153,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:155,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:174,8'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-epass2003.c:175,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:178,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:178,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:178,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:181,10'
          Dst:             sc_create_file
        - Src:             'pkcs15-epass2003.c:182,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:183,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:183,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:188,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:188,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:188,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_init_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 48
      functionLinenumberEnd: 92
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          232
      EdgeCount:       41
      CyclomaticComplexity: 9
      functionsReached:
        - sc_create_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_free_apps
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:52,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:53,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:59,9'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-epass2003.c:60,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:60,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:62,9'
          Dst:             sc_create_file
        - Src:             'pkcs15-epass2003.c:63,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:64,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:64,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:67,9'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-epass2003.c:68,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:68,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:70,9'
          Dst:             sc_create_file
        - Src:             'pkcs15-epass2003.c:71,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:72,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:72,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:81,9'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-epass2003.c:82,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:82,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:84,9'
          Dst:             sc_create_file
        - Src:             'pkcs15-epass2003.c:85,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-epass2003.c:86,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:86,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:89,3'
          Dst:             sc_free_apps
        - Src:             'pkcs15-epass2003.c:91,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-epass2003.c:91,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-epass2003.c:91,2'
          Dst:             sc_do_log
    - functionName:    epass2003_pkcs15_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 37
      functionLinenumberEnd: 44
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          47
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_get_mf_path
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-epass2003.c:38,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-epass2003.c:40,36'
          Dst:             sc_get_mf_path
        - Src:             'pkcs15-epass2003.c:40,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-epass2003.c:43,9'
          Dst:             sc_card_ctl
    - functionName:    sc_pkcs15init_get_epass2003_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-epass2003.c'
      linkageType:     InternalLinkage
      functionLinenumber: 780
      functionLinenumberEnd: 781
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    gids_save_certificate
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 115
      functionLinenumberEnd: 129
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          148
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_object_by_id
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:121,6'
          Dst:             sc_pkcs15_find_object_by_id
        - Src:             'pkcs15-gids.c:124,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:124,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:124,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:126,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:126,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:128,2'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:128,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:128,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:128,2'
          Dst:             sc_do_log
    - functionName:    gids_emu_store_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 133
      functionLinenumberEnd: 153
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          102
      EdgeCount:       16
      CyclomaticComplexity: 2
      functionsReached:
        - gids_save_certificate
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-gids.c:139,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-gids.c:137,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:147,7'
          Dst:             gids_save_certificate
        - Src:             'pkcs15-gids.c:153,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:153,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:153,2'
          Dst:             sc_do_log
    - functionName:    gids_emu_update_tokeninfo
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:159,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:162,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:162,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:162,2'
          Dst:             sc_do_log
    - functionName:    gids_emu_update_any_df
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 108
      functionLinenumberEnd: 112
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          68
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:109,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:112,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:112,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:112,2'
          Dst:             sc_do_log
    - functionName:    gids_delete_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 90
      functionLinenumberEnd: 104
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          196
      EdgeCount:       32
      CyclomaticComplexity: 5
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-gids.c:92,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-gids.c:94,3'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:94,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:94,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:94,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:97,3'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:97,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:97,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:97,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:100,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:100,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:100,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-gids.c:102,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:102,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:102,3'
          Dst:             sc_do_log
    - functionName:    gids_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 69
      functionLinenumberEnd: 72
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          70
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:72,2'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:72,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:72,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:72,2'
          Dst:             sc_do_log
    - functionName:    gids_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 85
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          70
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:85,2'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:85,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:85,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:85,2'
          Dst:             sc_do_log
    - functionName:    gids_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 56
      functionLinenumberEnd: 58
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          62
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:58,2'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:58,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:58,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:58,2'
          Dst:             sc_do_log
    - functionName:    gids_select_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 48
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          62
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-gids.c:48,2'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-gids.c:48,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-gids.c:48,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-gids.c:48,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_get_gids_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-gids.c'
      linkageType:     InternalLinkage
      functionLinenumber: 190
      functionLinenumberEnd: 191
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iasecc_reference_to_pkcs15_id
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 58
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          82
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iasecc_pkcs15_fix_file_access_rule
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 727
      functionLinenumberEnd: 765
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          247
      EdgeCount:       47
      CyclomaticComplexity: 11
      functionsReached:
        - iasecc_pkcs15_add_access_rule
        - iasecc_pkcs15_get_auth_id_from_se
        - iasecc_reference_to_pkcs15_id
        - sc_do_log
        - sc_do_log_color
        - sc_file_get_acl_entry
        - sc_pkcs15_print_id
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:734,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:735,8'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-iasecc.c:736,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:738,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:739,8'
          Dst:             iasecc_pkcs15_add_access_rule
        - Src:             'pkcs15-iasecc.c:740,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:740,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:745,4'
          Dst:             iasecc_reference_to_pkcs15_id
        - Src:             'pkcs15-iasecc.c:748,9'
          Dst:             iasecc_pkcs15_get_auth_id_from_se
        - Src:             'pkcs15-iasecc.c:749,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:749,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:753,4'
          Dst:             iasecc_reference_to_pkcs15_id
        - Src:             'pkcs15-iasecc.c:756,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:756,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:759,3'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-iasecc.c:759,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:760,8'
          Dst:             iasecc_pkcs15_add_access_rule
        - Src:             'pkcs15-iasecc.c:761,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:761,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:764,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:764,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:764,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_add_access_rule
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 651
      functionLinenumberEnd: 677
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          172
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - sc_pkcs15_compare_id
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:667,23'
          Dst:             sc_pkcs15_compare_id
    - functionName:    iasecc_pkcs15_get_auth_id_from_se
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 683
      functionLinenumberEnd: 721
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          301
      EdgeCount:       62
      CyclomaticComplexity: 14
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_get_objects
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:688,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:690,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:690,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:690,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:695,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:695,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:695,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:697,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-iasecc.c:698,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:698,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:702,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-iasecc.c:703,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:703,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:711,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:718,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:718,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:720,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:720,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:720,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_fix_file_access
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 771
      functionLinenumberEnd: 790
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          146
      EdgeCount:       26
      CyclomaticComplexity: 6
      functionsReached:
        - iasecc_pkcs15_fix_file_access_rule
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_print_id
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:775,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:776,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-iasecc.c:776,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:780,7'
          Dst:             iasecc_pkcs15_fix_file_access_rule
        - Src:             'pkcs15-iasecc.c:781,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:781,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:783,7'
          Dst:             iasecc_pkcs15_fix_file_access_rule
        - Src:             'pkcs15-iasecc.c:784,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:784,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:786,7'
          Dst:             iasecc_pkcs15_fix_file_access_rule
        - Src:             'pkcs15-iasecc.c:787,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:787,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:789,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:789,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:789,2'
          Dst:             sc_do_log
    - functionName:    iasecc_md_gemalto_new_prvkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1539
      functionLinenumberEnd: 1584
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          231
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - iasecc_md_gemalto_set_default
        - sc_do_log
        - sc_do_log_color
        - sc_init_oid
        - sc_pkcs15_get_object_guid
        - sc_pkcs15_get_objects
        - sc_pkcs15init_store_data_object
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1548,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1553,7'
          Dst:             sc_pkcs15_get_object_guid
        - Src:             'pkcs15-iasecc.c:1554,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1554,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1555,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1567,2'
          Dst:             sc_init_oid
        - Src:             'pkcs15-iasecc.c:1573,7'
          Dst:             sc_pkcs15init_store_data_object
        - Src:             'pkcs15-iasecc.c:1574,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1574,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1578,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-iasecc.c:1579,8'
          Dst:             iasecc_md_gemalto_set_default
        - Src:             'pkcs15-iasecc.c:1580,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1580,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1583,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1583,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1583,2'
          Dst:             sc_do_log
    - functionName:    iasecc_md_gemalto_set_default
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1426
      functionLinenumberEnd: 1471
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          249
      EdgeCount:       44
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_init_oid
        - sc_pkcs15_find_data_object_by_name
        - sc_pkcs15_get_object_guid
        - sc_pkcs15init_store_data_object
        - sc_pkcs15init_update_file
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1434,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1436,7'
          Dst:             sc_pkcs15_find_data_object_by_name
        - Src:             'pkcs15-iasecc.c:1438,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1438,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1443,7'
          Dst:             sc_pkcs15_get_object_guid
        - Src:             'pkcs15-iasecc.c:1444,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1444,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1448,3'
          Dst:             sc_init_oid
        - Src:             'pkcs15-iasecc.c:1454,8'
          Dst:             sc_pkcs15init_store_data_object
        - Src:             'pkcs15-iasecc.c:1455,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1455,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1461,3'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:1461,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1462,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:1463,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1463,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1465,8'
          Dst:             sc_pkcs15init_update_file
        - Src:             'pkcs15-iasecc.c:1466,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1467,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1467,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1470,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1470,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1470,2'
          Dst:             sc_do_log
    - functionName:    iasecc_store_data_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1729
      functionLinenumberEnd: 1833
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         100
      ICount:          663
      EdgeCount:       125
      CyclomaticComplexity: 27
      functionsReached:
        - iasecc_file_convert_acls
        - iasecc_pkcs15_delete_file
        - iasecc_pkcs15_new_file
        - iasecc_reference_to_pkcs15_id
        - sc_create_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15_get_objects
        - sc_pkcs15_print_id
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_profile_get_parent
        - sc_select_file
        - sc_strerror
        - sc_update_binary
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1737,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1738,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-iasecc.c:1738,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1739,12'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-iasecc.c:1740,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1740,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1743,8'
          Dst:             iasecc_pkcs15_new_file
        - Src:             'pkcs15-iasecc.c:1744,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1744,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1750,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1757,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1762,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1762,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1770,9'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-iasecc.c:1771,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1773,4'
          Dst:             iasecc_reference_to_pkcs15_id
        - Src:             'pkcs15-iasecc.c:1776,9'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-iasecc.c:1777,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1779,4'
          Dst:             iasecc_reference_to_pkcs15_id
        - Src:             'pkcs15-iasecc.c:1782,9'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-iasecc.c:1783,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1785,4'
          Dst:             iasecc_reference_to_pkcs15_id
        - Src:             'pkcs15-iasecc.c:1789,7'
          Dst:             iasecc_file_convert_acls
        - Src:             'pkcs15-iasecc.c:1790,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1790,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1792,7'
          Dst:             sc_profile_get_parent
        - Src:             'pkcs15-iasecc.c:1793,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1793,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1794,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:1794,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1796,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:1797,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1797,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1799,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:1801,8'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-iasecc.c:1802,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1802,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1804,8'
          Dst:             iasecc_pkcs15_delete_file
        - Src:             'pkcs15-iasecc.c:1805,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1805,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1808,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1808,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1811,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-iasecc.c:1812,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1812,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1815,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-iasecc.c:1816,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1816,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1818,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-iasecc.c:1819,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1819,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1821,7'
          Dst:             sc_update_binary
        - Src:             'pkcs15-iasecc.c:1822,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1822,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1827,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1828,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1829,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1831,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1831,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1831,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_new_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 249
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          299
      EdgeCount:       38
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_print_path
        - sc_profile_get_file
        - sc_profile_instantiate_template
        - sc_strerror
      functionUses:    4
      BranchProfiles:
        - Branch String:   'pkcs15-iasecc.c:199,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-iasecc.c:197,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:198,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:213,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:213,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:216,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:216,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:217,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-iasecc.c:223,8'
          Dst:             sc_profile_instantiate_template
        - Src:             'pkcs15-iasecc.c:226,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:226,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:228,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:228,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:239,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:241,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:241,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:246,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:248,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:248,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:248,2'
          Dst:             sc_do_log
    - functionName:    iasecc_file_convert_acls
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 320
      functionLinenumberEnd: 348
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          113
      EdgeCount:       24
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_file_get_acl_entry
      functionUses:    5
      BranchProfiles:
        - Branch String:   'pkcs15-iasecc.c:330,4'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-iasecc.c:327,54'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-iasecc.c:332,5'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_delete_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 100
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          138
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_authenticate
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:82,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:84,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:87,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-iasecc.c:90,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:90,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:98,7'
          Dst:             sc_delete_file
        - Src:             'pkcs15-iasecc.c:99,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:99,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:99,2'
          Dst:             sc_do_log
    - functionName:    iasecc_store_cert
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1694
      functionLinenumberEnd: 1722
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          197
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - iasecc_pkcs15_fix_file_access
        - iasecc_pkcs15_new_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_pkcs15_print_id
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1701,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1702,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-iasecc.c:1702,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1704,7'
          Dst:             iasecc_pkcs15_new_file
        - Src:             'pkcs15-iasecc.c:1705,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1705,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1711,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-iasecc.c:1712,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:1713,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1713,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1715,7'
          Dst:             iasecc_pkcs15_fix_file_access
        - Src:             'pkcs15-iasecc.c:1716,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1716,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1718,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1721,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1721,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1721,2'
          Dst:             sc_do_log
    - functionName:    iasecc_store_pubkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1653
      functionLinenumberEnd: 1687
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          225
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - iasecc_pkcs15_add_access_rule
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_prkey_by_id
        - sc_pkcs15_print_id
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1660,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1661,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-iasecc.c:1661,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1663,7'
          Dst:             sc_pkcs15_find_prkey_by_id
        - Src:             'pkcs15-iasecc.c:1664,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1664,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1681,7'
          Dst:             iasecc_pkcs15_add_access_rule
        - Src:             'pkcs15-iasecc.c:1682,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1682,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1686,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1686,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1686,2'
          Dst:             sc_do_log
    - functionName:    iasecc_store_prvkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1627
      functionLinenumberEnd: 1647
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          181
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - iasecc_md_gemalto_new_prvkey
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_print_id
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1631,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1632,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-iasecc.c:1632,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1633,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1636,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1636,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1636,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1639,12'
          Dst:             iasecc_md_gemalto_new_prvkey
        - Src:             'pkcs15-iasecc.c:1640,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1640,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1643,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1643,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1646,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1646,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1646,2'
          Dst:             sc_do_log
    - functionName:    iasecc_md_gemalto_unset_default
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1477
      functionLinenumberEnd: 1534
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          385
      EdgeCount:       77
      CyclomaticComplexity: 17
      functionsReached:
        - iasecc_md_gemalto_set_default
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_compare_id
        - sc_pkcs15_find_data_object_by_name
        - sc_pkcs15_free_data_object
        - sc_pkcs15_get_object_guid
        - sc_pkcs15_get_objects
        - sc_pkcs15_read_data_object
        - sc_pkcs15init_delete_object
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1487,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1492,7'
          Dst:             sc_pkcs15_get_object_guid
        - Src:             'pkcs15-iasecc.c:1493,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1493,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1495,7'
          Dst:             sc_pkcs15_find_data_object_by_name
        - Src:             'pkcs15-iasecc.c:1497,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1497,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1497,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1500,7'
          Dst:             sc_pkcs15_read_data_object
        - Src:             'pkcs15-iasecc.c:1501,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1501,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1503,35'
          Dst:             memcmp
        - Src:             'pkcs15-iasecc.c:1504,3'
          Dst:             sc_pkcs15_free_data_object
        - Src:             'pkcs15-iasecc.c:1505,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1505,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1505,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1507,2'
          Dst:             sc_pkcs15_free_data_object
        - Src:             'pkcs15-iasecc.c:1509,7'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-iasecc.c:1510,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1510,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1517,8'
          Dst:             sc_pkcs15_compare_id
        - Src:             'pkcs15-iasecc.c:1521,9'
          Dst:             iasecc_md_gemalto_set_default
        - Src:             'pkcs15-iasecc.c:1522,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1522,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1528,9'
          Dst:             sc_pkcs15init_delete_object
        - Src:             'pkcs15-iasecc.c:1529,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1529,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1533,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1533,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1533,2'
          Dst:             sc_do_log
    - functionName:    iasecc_md_gemalto_delete_prvkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1590
      functionLinenumberEnd: 1621
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          222
      EdgeCount:       45
      CyclomaticComplexity: 10
      functionsReached:
        - iasecc_md_gemalto_unset_default
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_find_data_object_by_name
        - sc_pkcs15_get_object_guid
        - sc_pkcs15_get_objects
        - sc_pkcs15init_delete_object
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1597,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1602,7'
          Dst:             sc_pkcs15_get_object_guid
        - Src:             'pkcs15-iasecc.c:1603,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1603,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1605,7'
          Dst:             sc_pkcs15_find_data_object_by_name
        - Src:             'pkcs15-iasecc.c:1607,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1607,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1607,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1608,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1608,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1610,7'
          Dst:             sc_pkcs15init_delete_object
        - Src:             'pkcs15-iasecc.c:1611,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1611,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1615,6'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-iasecc.c:1616,8'
          Dst:             iasecc_md_gemalto_unset_default
        - Src:             'pkcs15-iasecc.c:1617,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1617,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1620,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1620,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1620,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_delete_sdo
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1266
      functionLinenumberEnd: 1359
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          510
      EdgeCount:       84
      CyclomaticComplexity: 20
      functionsReached:
        - calloc
        - iasecc_sdo_convert_to_file
        - iasecc_sdo_free
        - iasecc_sdo_get_data
        - iasecc_sdo_store_key
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1275,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1276,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1278,8'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:1286,7'
          Dst:             iasecc_sdo_get_data
        - Src:             'pkcs15-iasecc.c:1291,3'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1292,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1292,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1292,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1303,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1304,7'
          Dst:             iasecc_sdo_convert_to_file
        - Src:             'pkcs15-iasecc.c:1306,3'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1307,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1307,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1311,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-iasecc.c:1314,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1317,3'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1318,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1318,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1323,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-iasecc.c:1332,4'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1333,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1333,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1338,4'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1339,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1339,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1342,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1354,8'
          Dst:             iasecc_sdo_store_key
        - Src:             'pkcs15-iasecc.c:1357,2'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1358,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1358,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1358,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_get_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 306
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          83
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:310,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:311,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-iasecc.c:312,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:312,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:314,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:314,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:314,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_convert_to_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 602
      functionLinenumberEnd: 646
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          232
      EdgeCount:       50
      CyclomaticComplexity: 12
      functionsReached:
        - iasecc_sdo_convert_acl
        - sc_do_log
        - sc_do_log_color
        - sc_file_add_acl_entry
        - sc_file_free
        - sc_file_new
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:612,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:614,9'
          Dst:             sc_file_new
        - Src:             'pkcs15-iasecc.c:616,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:616,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:616,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:618,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:629,9'
          Dst:             iasecc_sdo_convert_acl
        - Src:             'pkcs15-iasecc.c:631,5'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:632,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:632,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:635,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:636,4'
          Dst:             sc_file_add_acl_entry
        - Src:             'pkcs15-iasecc.c:643,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:645,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:645,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:645,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 849
      functionLinenumberEnd: 883
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          225
      EdgeCount:       42
      CyclomaticComplexity: 10
      functionsReached:
        - iasecc_sdo_convert_to_file
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:857,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:860,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:860,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:862,7'
          Dst:             iasecc_sdo_convert_to_file
        - Src:             'pkcs15-iasecc.c:863,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:863,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:866,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-iasecc.c:868,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:870,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:870,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:879,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-iasecc.c:880,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:880,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:882,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:882,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:882,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_add_algorithm_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 889
      functionLinenumberEnd: 905
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          119
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iasecc_sdo_set_key_acls_from_profile
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 353
      functionLinenumberEnd: 433
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          498
      EdgeCount:       85
      CyclomaticComplexity: 21
      functionsReached:
        - calloc
        - iasecc_file_convert_acls
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_profile_get_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:367,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:370,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-iasecc.c:371,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:371,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:374,7'
          Dst:             iasecc_file_convert_acls
        - Src:             'pkcs15-iasecc.c:376,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:377,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:377,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:389,9'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-iasecc.c:390,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:400,5'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:401,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:401,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:414,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:415,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:415,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:419,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:424,33'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:430,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:432,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:432,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:432,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_fix_private_key_attributes
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 912
      functionLinenumberEnd: 996
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         97
      ICount:          592
      EdgeCount:       124
      CyclomaticComplexity: 29
      functionsReached:
        - iasecc_pkcs15_add_access_rule
        - iasecc_pkcs15_add_algorithm_reference
        - iasecc_pkcs15_get_auth_id_from_se
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_pkcs15_compare_id
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:922,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:924,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:924,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:927,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:927,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:931,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:933,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-iasecc.c:933,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:935,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-iasecc.c:935,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:939,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:944,9'
          Dst:             iasecc_pkcs15_add_access_rule
        - Src:             'pkcs15-iasecc.c:945,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:945,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:950,9'
          Dst:             iasecc_pkcs15_get_auth_id_from_se
        - Src:             'pkcs15-iasecc.c:951,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:951,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:953,9'
          Dst:             iasecc_pkcs15_add_access_rule
        - Src:             'pkcs15-iasecc.c:954,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:954,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:958,10'
          Dst:             sc_pkcs15_compare_id
        - Src:             'pkcs15-iasecc.c:960,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:964,10'
          Dst:             iasecc_pkcs15_add_access_rule
        - Src:             'pkcs15-iasecc.c:965,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:965,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:970,9'
          Dst:             iasecc_pkcs15_add_algorithm_reference
        - Src:             'pkcs15-iasecc.c:972,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:972,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:974,9'
          Dst:             iasecc_pkcs15_add_algorithm_reference
        - Src:             'pkcs15-iasecc.c:976,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:976,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:983,9'
          Dst:             iasecc_pkcs15_add_algorithm_reference
        - Src:             'pkcs15-iasecc.c:984,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:984,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:988,9'
          Dst:             iasecc_pkcs15_add_algorithm_reference
        - Src:             'pkcs15-iasecc.c:990,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:990,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:995,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:995,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:995,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_create_key_slot
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1003
      functionLinenumberEnd: 1055
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          361
      EdgeCount:       69
      CyclomaticComplexity: 15
      functionsReached:
        - iasecc_file_convert_acls
        - iasecc_pkcs15_new_file
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_profile_get_parent
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1010,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1012,7'
          Dst:             iasecc_pkcs15_new_file
        - Src:             'pkcs15-iasecc.c:1013,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1013,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1015,7'
          Dst:             iasecc_pkcs15_new_file
        - Src:             'pkcs15-iasecc.c:1016,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1016,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1018,7'
          Dst:             iasecc_file_convert_acls
        - Src:             'pkcs15-iasecc.c:1019,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1019,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1021,7'
          Dst:             iasecc_file_convert_acls
        - Src:             'pkcs15-iasecc.c:1022,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1022,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1024,7'
          Dst:             sc_profile_get_parent
        - Src:             'pkcs15-iasecc.c:1025,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1025,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1027,7'
          Dst:             iasecc_file_convert_acls
        - Src:             'pkcs15-iasecc.c:1028,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1028,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1034,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-iasecc.c:1036,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1036,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1039,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1041,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-iasecc.c:1042,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1042,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1045,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1047,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-iasecc.c:1048,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1048,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1051,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1052,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1053,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1055,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1055,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1055,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_allocate_prvkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 439
      functionLinenumberEnd: 524
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         73
      ICount:          542
      EdgeCount:       93
      CyclomaticComplexity: 22
      functionsReached:
        - calloc
        - iasecc_sdo_free
        - iasecc_sdo_get_data
        - iasecc_sdo_set_key_acls_from_profile
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:445,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:447,8'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:449,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:449,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:456,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:458,7'
          Dst:             iasecc_sdo_get_data
        - Src:             'pkcs15-iasecc.c:462,8'
          Dst:             iasecc_sdo_set_key_acls_from_profile
        - Src:             'pkcs15-iasecc.c:464,4'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:465,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:465,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:469,37'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:471,4'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:472,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:472,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:472,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:477,40'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:479,4'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:480,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:480,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:480,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:485,26'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:487,4'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:488,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:488,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:488,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:501,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:510,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:511,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:514,3'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:515,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:515,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:521,3'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:523,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:523,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:523,2'
          Dst:             sc_do_log
    - functionName:    iasecc_sdo_allocate_pubkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 530
      functionLinenumberEnd: 597
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         59
      ICount:          424
      EdgeCount:       74
      CyclomaticComplexity: 17
      functionsReached:
        - calloc
        - iasecc_sdo_free
        - iasecc_sdo_get_data
        - iasecc_sdo_set_key_acls_from_profile
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:536,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:537,8'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:545,7'
          Dst:             iasecc_sdo_get_data
        - Src:             'pkcs15-iasecc.c:546,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:550,8'
          Dst:             iasecc_sdo_set_key_acls_from_profile
        - Src:             'pkcs15-iasecc.c:552,4'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:553,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:553,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:555,26'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:557,4'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:558,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:558,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:558,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:569,34'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:571,5'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:572,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:572,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:572,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:578,40'
          Dst:             calloc
        - Src:             'pkcs15-iasecc.c:580,4'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:581,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:581,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:581,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:587,3'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:588,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:588,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:594,3'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:596,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:596,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:596,2'
          Dst:             sc_do_log
    - functionName:    iasecc_emu_store_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1841
      functionLinenumberEnd: 1865
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          124
      EdgeCount:       16
      CyclomaticComplexity: 2
      functionsReached:
        - iasecc_store_cert
        - iasecc_store_data_object
        - iasecc_store_prvkey
        - iasecc_store_pubkey
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-iasecc.c:1847,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1845,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1849,8'
          Dst:             iasecc_store_prvkey
        - Src:             'pkcs15-iasecc.c:1852,8'
          Dst:             iasecc_store_pubkey
        - Src:             'pkcs15-iasecc.c:1855,8'
          Dst:             iasecc_store_cert
        - Src:             'pkcs15-iasecc.c:1858,8'
          Dst:             iasecc_store_data_object
        - Src:             'pkcs15-iasecc.c:1865,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1865,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1865,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_delete_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1365
      functionLinenumberEnd: 1420
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          415
      EdgeCount:       68
      CyclomaticComplexity: 12
      functionsReached:
        - iasecc_md_gemalto_delete_prvkey
        - iasecc_pkcs15_delete_file
        - iasecc_pkcs15_delete_sdo
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-iasecc.c:1372,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1370,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1375,3'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:1375,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1376,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1376,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1376,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1378,3'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:1378,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1380,9'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:1381,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1381,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1387,8'
          Dst:             iasecc_pkcs15_delete_sdo
        - Src:             'pkcs15-iasecc.c:1388,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1388,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1390,8'
          Dst:             iasecc_pkcs15_delete_sdo
        - Src:             'pkcs15-iasecc.c:1391,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1391,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1394,9'
          Dst:             iasecc_md_gemalto_delete_prvkey
        - Src:             'pkcs15-iasecc.c:1395,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1395,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1398,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1398,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1398,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1400,3'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:1400,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1403,3'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:1403,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1406,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1406,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1406,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1409,9'
          Dst:             sc_file_new
        - Src:             'pkcs15-iasecc.c:1415,7'
          Dst:             iasecc_pkcs15_delete_file
        - Src:             'pkcs15-iasecc.c:1417,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1419,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1419,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1419,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1118
      functionLinenumberEnd: 1204
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         86
      ICount:          631
      EdgeCount:       108
      CyclomaticComplexity: 24
      functionsReached:
        - iasecc_pkcs15_encode_supported_algos
        - iasecc_sdo_allocate_pubkey
        - iasecc_sdo_convert_to_file
        - iasecc_sdo_free
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_allocate_object_content
        - sc_pkcs15_encode_pubkey
        - sc_pkcs15_print_id
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_profile_get_parent
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1131,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1132,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:1132,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-iasecc.c:1132,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1136,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1136,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1140,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1140,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1143,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1148,7'
          Dst:             sc_profile_get_parent
        - Src:             'pkcs15-iasecc.c:1149,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1149,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1151,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:1152,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1152,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1154,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1156,7'
          Dst:             iasecc_sdo_convert_to_file
        - Src:             'pkcs15-iasecc.c:1157,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1157,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1161,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-iasecc.c:1163,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1163,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1169,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-iasecc.c:1170,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1170,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1173,7'
          Dst:             iasecc_sdo_allocate_pubkey
        - Src:             'pkcs15-iasecc.c:1174,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1174,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1181,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1181,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1181,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1187,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1187,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1187,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1190,7'
          Dst:             sc_pkcs15_encode_pubkey
        - Src:             'pkcs15-iasecc.c:1191,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1191,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1193,7'
          Dst:             iasecc_pkcs15_encode_supported_algos
        - Src:             'pkcs15-iasecc.c:1194,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1194,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1197,7'
          Dst:             sc_pkcs15_allocate_object_content
        - Src:             'pkcs15-iasecc.c:1198,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1198,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1200,2'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1203,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1203,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1203,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_encode_supported_algos
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 795
      functionLinenumberEnd: 839
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         45
      ICount:          290
      EdgeCount:       54
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_add_supported_algo_ref
        - sc_pkcs15_get_supported_algo
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'pkcs15-iasecc.c:803,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-iasecc.c:801,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:802,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:805,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:807,11'
          Dst:             sc_pkcs15_get_supported_algo
        - Src:             'pkcs15-iasecc.c:808,9'
          Dst:             sc_pkcs15_add_supported_algo_ref
        - Src:             'pkcs15-iasecc.c:809,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:809,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:815,12'
          Dst:             sc_pkcs15_get_supported_algo
        - Src:             'pkcs15-iasecc.c:816,10'
          Dst:             sc_pkcs15_add_supported_algo_ref
        - Src:             'pkcs15-iasecc.c:817,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:817,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:819,12'
          Dst:             sc_pkcs15_get_supported_algo
        - Src:             'pkcs15-iasecc.c:820,10'
          Dst:             sc_pkcs15_add_supported_algo_ref
        - Src:             'pkcs15-iasecc.c:821,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:821,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:824,12'
          Dst:             sc_pkcs15_get_supported_algo
        - Src:             'pkcs15-iasecc.c:825,10'
          Dst:             sc_pkcs15_add_supported_algo_ref
        - Src:             'pkcs15-iasecc.c:826,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:826,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:831,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:838,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:838,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:838,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1213
      functionLinenumberEnd: 1260
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          353
      EdgeCount:       69
      CyclomaticComplexity: 16
      functionsReached:
        - iasecc_sdo_allocate_pubkey
        - iasecc_sdo_free
        - iasecc_sdo_store_key
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_print_id
        - sc_print_path
        - sc_profile_get_parent
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1224,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1225,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-iasecc.c:1225,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:1225,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1229,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1229,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1231,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1231,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1235,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1235,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1237,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1240,7'
          Dst:             sc_profile_get_parent
        - Src:             'pkcs15-iasecc.c:1241,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1241,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1243,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:1244,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1244,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1246,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:1250,7'
          Dst:             iasecc_sdo_allocate_pubkey
        - Src:             'pkcs15-iasecc.c:1251,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1251,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1253,7'
          Dst:             iasecc_sdo_store_key
        - Src:             'pkcs15-iasecc.c:1254,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1254,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1257,2'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1259,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1259,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1259,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1061
      functionLinenumberEnd: 1109
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          305
      EdgeCount:       55
      CyclomaticComplexity: 13
      functionsReached:
        - iasecc_pkcs15_create_key_slot
        - iasecc_pkcs15_fix_private_key_attributes
        - iasecc_sdo_allocate_prvkey
        - iasecc_sdo_allocate_pubkey
        - iasecc_sdo_free
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_allocate_object_content
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:1070,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1071,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1074,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1080,7'
          Dst:             iasecc_sdo_allocate_pubkey
        - Src:             'pkcs15-iasecc.c:1081,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1081,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1082,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1084,7'
          Dst:             iasecc_sdo_allocate_prvkey
        - Src:             'pkcs15-iasecc.c:1085,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1085,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1086,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1089,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:1092,8'
          Dst:             iasecc_pkcs15_create_key_slot
        - Src:             'pkcs15-iasecc.c:1093,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1093,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1096,7'
          Dst:             sc_pkcs15_allocate_object_content
        - Src:             'pkcs15-iasecc.c:1097,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1097,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1099,7'
          Dst:             iasecc_pkcs15_fix_private_key_attributes
        - Src:             'pkcs15-iasecc.c:1100,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1100,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1105,2'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1106,2'
          Dst:             iasecc_sdo_free
        - Src:             'pkcs15-iasecc.c:1108,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:1108,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:1108,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_select_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 258
      functionLinenumberEnd: 301
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          228
      EdgeCount:       41
      CyclomaticComplexity: 10
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:264,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:265,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:265,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:268,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:269,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:270,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:270,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:285,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-iasecc.c:287,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:289,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:291,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:291,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:298,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:300,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:300,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:300,2'
          Dst:             sc_do_log
    - functionName:    iasecc_pkcs15_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 182
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         66
      ICount:          433
      EdgeCount:       84
      CyclomaticComplexity: 20
      functionsReached:
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_erase_binary
        - sc_file_free
        - sc_pkcs15_free_object
        - sc_pkcs15_get_objects
        - sc_pkcs15_remove_object
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-iasecc.c:116,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:124,3'
          Dst:             sc_print_path
        - Src:             'pkcs15-iasecc.c:124,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-iasecc.c:125,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:126,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:126,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:145,8'
          Dst:             sc_pkcs15_get_objects
        - Src:             'pkcs15-iasecc.c:146,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:146,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:151,10'
          Dst:             sc_delete_file
        - Src:             'pkcs15-iasecc.c:155,10'
          Dst:             sc_delete_file
        - Src:             'pkcs15-iasecc.c:158,4'
          Dst:             sc_pkcs15_remove_object
        - Src:             'pkcs15-iasecc.c:159,4'
          Dst:             sc_pkcs15_free_object
        - Src:             'pkcs15-iasecc.c:162,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-iasecc.c:165,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:165,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:169,8'
          Dst:             sc_erase_binary
        - Src:             'pkcs15-iasecc.c:171,9'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-iasecc.c:172,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:172,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:174,9'
          Dst:             sc_erase_binary
        - Src:             'pkcs15-iasecc.c:176,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:176,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:178,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-iasecc.c:181,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-iasecc.c:181,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-iasecc.c:181,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_get_iasecc_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-iasecc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1896
      functionLinenumberEnd: 1897
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    isoApplet_generate_key_ec
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 447
      functionLinenumberEnd: 603
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         57
      ICount:          677
      EdgeCount:       77
      CyclomaticComplexity: 22
      functionsReached:
        - calloc
        - isoApplet_get_curve
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_init_oid
        - sc_pkcs15_fix_ec_parameters
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:455,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:462,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:467,6'
          Dst:             isoApplet_get_curve
        - Src:             'pkcs15-isoApplet.c:470,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:503,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-isoApplet.c:506,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:506,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:514,18'
          Dst:             calloc
        - Src:             'pkcs15-isoApplet.c:537,2'
          Dst:             sc_init_oid
        - Src:             'pkcs15-isoApplet.c:560,6'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-isoApplet.c:603,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:603,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:603,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_get_curve
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 317
      functionLinenumberEnd: 334
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          96
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - memcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:326,39'
          Dst:             memcmp
    - functionName:    isoApplet_generate_key_rsa
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 354
      functionLinenumberEnd: 425
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          326
      EdgeCount:       42
      CyclomaticComplexity: 11
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:359,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:368,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:368,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:383,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:383,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:392,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:392,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:396,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-isoApplet.c:399,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:399,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:410,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:410,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:410,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:424,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:424,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:424,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 610
      functionLinenumberEnd: 649
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          224
      EdgeCount:       38
      CyclomaticComplexity: 7
      functionsReached:
        - isoApplet_generate_key_ec
        - isoApplet_generate_key_rsa
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_profile_get_file_by_path
        - sc_strerror
        - strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-isoApplet.c:633,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:616,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:619,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             'pkcs15-isoApplet.c:622,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:622,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:622,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:624,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-isoApplet.c:627,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-isoApplet.c:628,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:628,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:628,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:630,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-isoApplet.c:636,7'
          Dst:             isoApplet_generate_key_rsa
        - Src:             'pkcs15-isoApplet.c:640,7'
          Dst:             isoApplet_generate_key_ec
        - Src:             'pkcs15-isoApplet.c:645,3'
          Dst:             strerror
        - Src:             'pkcs15-isoApplet.c:645,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:648,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:648,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:648,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 692
      functionLinenumberEnd: 781
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         76
      ICount:          703
      EdgeCount:       94
      CyclomaticComplexity: 20
      functionsReached:
        - isoApplet_get_curve
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_fix_ec_parameters
        - sc_pkcs15init_authenticate
        - sc_profile_get_file_by_path
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-isoApplet.c:716,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:699,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:702,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             'pkcs15-isoApplet.c:705,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:705,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:705,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:707,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-isoApplet.c:710,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-isoApplet.c:711,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:711,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:711,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:713,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-isoApplet.c:726,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:726,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:746,8'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-isoApplet.c:747,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:747,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:749,7'
          Dst:             isoApplet_get_curve
        - Src:             'pkcs15-isoApplet.c:750,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:750,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:769,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:769,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:769,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:773,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-isoApplet.c:776,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:776,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:777,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:777,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:777,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:780,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:780,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:780,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 657
      functionLinenumberEnd: 659
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          59
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:659,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:659,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:659,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_select_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 668
      functionLinenumberEnd: 683
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          101
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:672,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:683,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:683,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:683,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 302
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          315
      EdgeCount:       63
      CyclomaticComplexity: 15
      functionsReached:
        - sc_change_reference_data
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_pincache_add
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:266,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:270,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:270,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:270,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:276,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:276,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:276,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:283,7'
          Dst:             sc_change_reference_data
        - Src:             'pkcs15-isoApplet.c:289,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:289,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:289,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:294,6'
          Dst:             sc_change_reference_data
        - Src:             'pkcs15-isoApplet.c:298,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:298,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:300,2'
          Dst:             sc_pkcs15_pincache_add
        - Src:             'pkcs15-isoApplet.c:301,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:301,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:301,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 209
      functionLinenumberEnd: 248
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          198
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:214,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:218,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:218,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:218,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:230,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:230,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:230,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:247,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:247,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:247,2'
          Dst:             sc_do_log
    - functionName:    isoApplet_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 183
      functionLinenumberEnd: 195
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          138
      EdgeCount:       28
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_create_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-isoApplet.c:187,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:191,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:191,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:191,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-isoApplet.c:193,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-isoApplet.c:194,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-isoApplet.c:194,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-isoApplet.c:194,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_get_isoApplet_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-isoApplet.c'
      linkageType:     InternalLinkage
      functionLinenumber: 804
      functionLinenumberEnd: 805
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    muscle_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 233
      functionLinenumberEnd: 299
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          418
      EdgeCount:       68
      CyclomaticComplexity: 15
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_profile_get_file_by_path
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-muscle.c:243,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:244,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:244,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:244,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:248,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:250,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:250,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:250,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:254,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             'pkcs15-muscle.c:256,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:256,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:256,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:257,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-muscle.c:259,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-muscle.c:260,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:260,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:260,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:262,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-muscle.c:275,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-muscle.c:277,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:278,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:278,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:278,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:286,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-muscle.c:288,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:289,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:289,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:289,3'
          Dst:             sc_do_log
    - functionName:    muscle_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 175
      functionLinenumberEnd: 227
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          330
      EdgeCount:       51
      CyclomaticComplexity: 12
      functionsReached:
        - muscle_select_key_reference
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_profile_get_file_by_path
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-muscle.c:184,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:189,6'
          Dst:             sc_profile_get_file_by_path
        - Src:             'pkcs15-muscle.c:191,6'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:191,6'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:191,6'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:192,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-muscle.c:194,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-muscle.c:195,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:195,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:195,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:197,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-muscle.c:198,6'
          Dst:             muscle_select_key_reference
        - Src:             'pkcs15-muscle.c:200,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:200,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:200,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:221,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-muscle.c:223,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-muscle.c:224,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-muscle.c:224,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-muscle.c:224,3'
          Dst:             sc_do_log
    - functionName:    muscle_select_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 149
      functionLinenumberEnd: 155
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    muscle_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 164
      functionLinenumberEnd: 165
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    muscle_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 100
      functionLinenumberEnd: 115
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          81
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-muscle.c:105,11'
          Dst:             sc_select_file
        - Src:             'pkcs15-muscle.c:107,11'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-muscle.c:108,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-muscle.c:113,2'
          Dst:             sc_file_free
    - functionName:    muscle_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          77
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    muscle_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 93
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          91
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - sc_file_free
        - sc_format_path
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_create_file
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-muscle.c:75,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-muscle.c:76,11'
          Dst:             sc_select_file
        - Src:             'pkcs15-muscle.c:78,11'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-muscle.c:79,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-muscle.c:82,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-muscle.c:85,11'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-muscle.c:88,11'
          Dst:             sc_select_file
    - functionName:    muscle_init_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 65
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    muscle_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 60
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          73
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - sc_delete_file
        - sc_file_free
        - sc_format_path
        - sc_pkcs15init_authenticate
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-muscle.c:49,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-muscle.c:50,11'
          Dst:             sc_select_file
        - Src:             'pkcs15-muscle.c:52,11'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-muscle.c:53,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-muscle.c:56,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-muscle.c:57,11'
          Dst:             sc_delete_file
    - functionName:    sc_pkcs15init_get_muscle_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 322
      functionLinenumberEnd: 323
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    myeid_new_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 373
      functionLinenumberEnd: 438
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          277
      EdgeCount:       43
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_profile_get_file
        - sc_select_file
        - sc_strerror
        - snprintf
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-myeid.c:381,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-myeid.c:380,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:404,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:409,2'
          Dst:             snprintf
        - Src:             'pkcs15-myeid.c:410,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-myeid.c:411,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:420,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:421,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:428,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-myeid.c:433,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-myeid.c:437,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:437,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:437,2'
          Dst:             sc_do_log
    - functionName:    myeid_fixup_supported_algos
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 503
      functionLinenumberEnd: 522
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          82
      EdgeCount:       22
      CyclomaticComplexity: 12
      functionsReached:
        - _add_supported_algo
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-myeid.c:508,2'
          Branch Sides:    []
        - Branch String:   'pkcs15-myeid.c:510,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-myeid.c:507,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:512,4'
          Dst:             _add_supported_algo
        - Src:             'pkcs15-myeid.c:513,4'
          Dst:             _add_supported_algo
        - Src:             'pkcs15-myeid.c:516,4'
          Dst:             _add_supported_algo
        - Src:             'pkcs15-myeid.c:517,4'
          Dst:             _add_supported_algo
    - functionName:    _add_supported_algo
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 463
      functionLinenumberEnd: 499
      functionDepth:   0
      returnType:      void
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          202
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_pkcs15_add_supported_algo_ref
        - sc_pkcs15_get_specific_supported_algo
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:467,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:470,9'
          Dst:             sc_pkcs15_get_specific_supported_algo
        - Src:             'pkcs15-myeid.c:473,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:492,8'
          Dst:             sc_pkcs15_add_supported_algo_ref
        - Src:             'pkcs15-myeid.c:497,3'
          Dst:             sc_do_log
    - functionName:    myeid_get_init_applet_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 147
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          452
      EdgeCount:       88
      CyclomaticComplexity: 21
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_dup
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_fixup_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:79,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:82,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:82,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:88,2'
          Dst:             sc_file_dup
        - Src:             'pkcs15-myeid.c:90,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:90,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:92,6'
          Dst:             sc_pkcs15init_fixup_file
        - Src:             'pkcs15-myeid.c:94,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:95,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:95,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:99,10'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-myeid.c:108,10'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-myeid.c:116,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:120,2'
          Dst:             sc_file_dup
        - Src:             'pkcs15-myeid.c:122,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:122,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:123,6'
          Dst:             sc_pkcs15init_fixup_file
        - Src:             'pkcs15-myeid.c:125,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:126,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:126,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:130,10'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-myeid.c:138,10'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-myeid.c:145,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:146,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:146,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:146,2'
          Dst:             sc_do_log
    - functionName:    myeid_delete_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 62
      functionLinenumberEnd: 64
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          34
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log
        - sc_pkcs15init_delete_by_path
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:63,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:64,9'
          Dst:             sc_pkcs15init_delete_by_path
    - functionName:    myeid_finalize_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 946
      functionLinenumberEnd: 948
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          58
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:947,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:948,2'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-myeid.c:948,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:948,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:948,2'
          Dst:             sc_do_log
    - functionName:    myeid_encode_public_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 451
      functionLinenumberEnd: 453
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:452,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:453,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:453,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:453,2'
          Dst:             sc_do_log
    - functionName:    myeid_encode_private_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 443
      functionLinenumberEnd: 445
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:444,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:445,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:445,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:445,2'
          Dst:             sc_do_log
    - functionName:    myeid_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 774
      functionLinenumberEnd: 943
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         163
      ICount:          1080
      EdgeCount:       205
      CyclomaticComplexity: 44
      functionsReached:
        - sc_asn1_read_tag
        - sc_card_ctl
        - sc_card_find_ec_alg
        - sc_card_find_rsa_alg
        - sc_do_log
        - sc_do_log_color
        - sc_dump_oid
        - sc_file_free
        - sc_pkcs15_fix_ec_parameters
        - sc_pkcs15_print_id
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_select_file
        - sc_strerror
        - strdup
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-myeid.c:792,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-myeid.c:787,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:789,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:789,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:794,8'
          Dst:             sc_card_find_rsa_alg
        - Src:             'pkcs15-myeid.c:795,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:795,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:807,8'
          Dst:             sc_card_find_ec_alg
        - Src:             'pkcs15-myeid.c:808,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:808,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:812,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:812,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:815,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-myeid.c:815,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-myeid.c:815,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:818,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-myeid.c:819,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:819,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:821,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-myeid.c:823,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:824,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:824,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:839,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-myeid.c:841,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:842,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:842,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:853,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:853,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:853,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:857,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:857,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:857,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:861,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-myeid.c:862,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:864,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:864,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:871,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-myeid.c:872,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:872,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:875,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:875,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:882,4'
          Dst:             sc_dump_oid
        - Src:             'pkcs15-myeid.c:882,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:886,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-myeid.c:887,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:889,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:889,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:896,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-myeid.c:897,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:897,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:900,8'
          Dst:             sc_asn1_read_tag
        - Src:             'pkcs15-myeid.c:903,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:903,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:906,8'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:906,8'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:906,8'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:914,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:914,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:914,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:927,38'
          Dst:             strdup
        - Src:             'pkcs15-myeid.c:930,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:930,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:930,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:933,8'
          Dst:             sc_pkcs15_fix_ec_parameters
        - Src:             'pkcs15-myeid.c:936,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:936,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:940,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:942,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:942,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:942,2'
          Dst:             sc_do_log
    - functionName:    myeid_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 683
      functionLinenumberEnd: 769
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          400
      EdgeCount:       41
      CyclomaticComplexity: 5
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_print_id
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-myeid.c:719,2'
          Branch Sides:    []
        - Branch String:   'pkcs15-myeid.c:752,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-myeid.c:692,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:704,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-myeid.c:704,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-myeid.c:704,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:707,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-myeid.c:708,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:708,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:710,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-myeid.c:711,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:712,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:712,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:765,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-myeid.c:766,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:766,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:768,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:768,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:768,2'
          Dst:             sc_do_log
    - functionName:    myeid_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 530
      functionLinenumberEnd: 675
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         112
      ICount:          731
      EdgeCount:       139
      CyclomaticComplexity: 29
      functionsReached:
        - myeid_fixup_supported_algos
        - myeid_new_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
        - sc_pkcs15_find_pin_by_auth_id
        - sc_pkcs15_print_id
        - sc_pkcs15init_create_file
        - sc_print_path
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-myeid.c:549,2'
          Branch Sides:    []
        - Branch String:   'pkcs15-myeid.c:569,4'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-myeid.c:547,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:584,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:584,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:588,2'
          Dst:             myeid_fixup_supported_algos
        - Src:             'pkcs15-myeid.c:600,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-myeid.c:600,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:603,6'
          Dst:             myeid_new_file
        - Src:             'pkcs15-myeid.c:604,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:604,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:607,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:608,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:608,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:611,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:618,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-myeid.c:618,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:622,7'
          Dst:             sc_pkcs15_find_pin_by_auth_id
        - Src:             'pkcs15-myeid.c:625,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:626,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:626,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:629,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:630,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:630,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:636,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:637,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:637,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:645,4'
          Dst:             sc_file_set_sec_attr
        - Src:             'pkcs15-myeid.c:649,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:650,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:650,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:666,6'
          Dst:             sc_file_set_prop_attr
        - Src:             'pkcs15-myeid.c:667,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:667,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:670,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-myeid.c:671,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:672,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:672,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:674,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:674,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:674,2'
          Dst:             sc_do_log
    - functionName:    myeid_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 311
      functionLinenumberEnd: 364
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          291
      EdgeCount:       51
      CyclomaticComplexity: 14
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_profile_get_pin_info
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:319,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:320,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:330,2'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-myeid.c:360,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-myeid.c:361,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:361,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:363,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:363,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:363,2'
          Dst:             sc_do_log
    - functionName:    myeid_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 302
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          150
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:282,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:288,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:292,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:301,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:301,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:301,2'
          Dst:             sc_do_log
    - functionName:    myeid_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 221
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          257
      EdgeCount:       52
      CyclomaticComplexity: 13
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_add_object
        - sc_profile_get_file
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:248,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:249,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:252,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:253,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-myeid.c:256,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:259,8'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-myeid.c:260,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:262,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:263,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:263,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:263,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:266,8'
          Dst:             sc_pkcs15init_add_object
        - Src:             'pkcs15-myeid.c:269,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:269,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:273,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:273,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:273,2'
          Dst:             sc_do_log
    - functionName:    myeid_init_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 215
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          124
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - _add_supported_algo
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:197,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:201,2'
          Dst:             _add_supported_algo
        - Src:             'pkcs15-myeid.c:202,2'
          Dst:             _add_supported_algo
        - Src:             'pkcs15-myeid.c:203,2'
          Dst:             _add_supported_algo
        - Src:             'pkcs15-myeid.c:204,2'
          Dst:             _add_supported_algo
        - Src:             'pkcs15-myeid.c:206,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-myeid.c:207,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:207,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:209,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-myeid.c:210,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-myeid.c:212,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:214,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:214,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:214,2'
          Dst:             sc_do_log
    - functionName:    myeid_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 153
      functionLinenumberEnd: 185
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          193
      EdgeCount:       34
      CyclomaticComplexity: 8
      functionsReached:
        - myeid_get_init_applet_data
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_get_mf_path
        - sc_pkcs15init_authenticate
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-myeid.c:160,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-myeid.c:162,6'
          Dst:             myeid_get_init_applet_data
        - Src:             'pkcs15-myeid.c:163,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:163,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:166,36'
          Dst:             sc_get_mf_path
        - Src:             'pkcs15-myeid.c:166,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-myeid.c:167,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:167,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:171,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-myeid.c:173,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:174,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:174,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:181,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-myeid.c:182,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-myeid.c:184,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-myeid.c:184,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-myeid.c:184,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_get_myeid_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-myeid.c'
      linkageType:     InternalLinkage
      functionLinenumber: 974
      functionLinenumberEnd: 975
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cosm_get_temporary_public_key_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 550
      functionLinenumberEnd: 592
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          340
      EdgeCount:       65
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_add_acl_entry
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_file_new
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:556,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:558,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:558,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:558,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:560,9'
          Dst:             sc_file_new
        - Src:             'pkcs15-oberthur.c:562,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:562,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:562,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:573,10'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-oberthur.c:575,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:576,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:576,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:578,7'
          Dst:             sc_file_add_acl_entry
        - Src:             'pkcs15-oberthur.c:580,8'
          Dst:             sc_file_add_acl_entry
        - Src:             'pkcs15-oberthur.c:582,8'
          Dst:             sc_file_add_acl_entry
        - Src:             'pkcs15-oberthur.c:584,8'
          Dst:             sc_file_add_acl_entry
        - Src:             'pkcs15-oberthur.c:586,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:587,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:587,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:591,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:591,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:591,2'
          Dst:             sc_do_log
    - functionName:    cosm_new_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 480
      functionLinenumberEnd: 544
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          280
      EdgeCount:       46
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_profile_get_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur.c:488,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur.c:485,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:486,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:517,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:524,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:525,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:526,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:528,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:528,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:528,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:539,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:543,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:543,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:543,2'
          Dst:             sc_do_log
    - functionName:    cosm_create_reference_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 271
      functionLinenumberEnd: 332
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          330
      EdgeCount:       67
      CyclomaticComplexity: 17
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_update_file
        - sc_profile_get_file
        - sc_profile_get_pin_info
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:282,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:283,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:291,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur.c:292,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:292,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:294,2'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-oberthur.c:295,2'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-oberthur.c:315,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-oberthur.c:316,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:316,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:322,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:323,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:323,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:325,8'
          Dst:             sc_pkcs15init_update_file
        - Src:             'pkcs15-oberthur.c:326,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:326,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:328,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:331,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:331,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:331,2'
          Dst:             sc_do_log
    - functionName:    cosm_update_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 342
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          195
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - cosm_create_reference_data
        - cosm_write_tokeninfo
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:346,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:350,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:354,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:354,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:355,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:359,8'
          Dst:             cosm_create_reference_data
        - Src:             'pkcs15-oberthur.c:360,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:360,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:362,8'
          Dst:             cosm_write_tokeninfo
        - Src:             'pkcs15-oberthur.c:367,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:367,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:370,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:370,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:370,2'
          Dst:             sc_do_log
    - functionName:    cosm_write_tokeninfo
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 60
      functionLinenumberEnd: 116
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         57
      ICount:          366
      EdgeCount:       73
      CyclomaticComplexity: 18
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_update_file
        - sc_profile_get_file
        - sc_strerror
        - snprintf
        - strlen
        - strncpy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:72,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:73,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:75,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:75,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:80,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:80,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:83,11'
          Dst:             calloc
        - Src:             'pkcs15-oberthur.c:86,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:86,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:90,3'
          Dst:             strncpy
        - Src:             'pkcs15-oberthur.c:92,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:94,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:96,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur.c:98,7'
          Dst:             strlen
        - Src:             'pkcs15-oberthur.c:102,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:108,7'
          Dst:             sc_pkcs15init_update_file
        - Src:             'pkcs15-oberthur.c:113,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:115,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:115,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:115,2'
          Dst:             sc_do_log
    - functionName:    cosm_emu_write_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 897
      functionLinenumberEnd: 900
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:898,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:900,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:900,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:900,2'
          Dst:             sc_do_log
    - functionName:    cosm_emu_update_tokeninfo
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 848
      functionLinenumberEnd: 891
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          255
      EdgeCount:       38
      CyclomaticComplexity: 9
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_update_file
        - sc_profile_get_file
        - sc_strerror
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:855,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:857,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:858,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:858,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:860,8'
          Dst:             calloc
        - Src:             'pkcs15-oberthur.c:862,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:863,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:863,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:863,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:866,14'
          Dst:             strlen
        - Src:             'pkcs15-oberthur.c:866,75'
          Dst:             strlen
        - Src:             'pkcs15-oberthur.c:882,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:883,7'
          Dst:             sc_pkcs15init_update_file
        - Src:             'pkcs15-oberthur.c:885,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:890,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:890,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:890,2'
          Dst:             sc_do_log
    - functionName:    cosm_emu_update_any_df
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 826
      functionLinenumberEnd: 841
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          108
      EdgeCount:       14
      CyclomaticComplexity: 2
      functionsReached:
        - awp_update_df_create
        - awp_update_df_delete
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur.c:831,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur.c:830,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:833,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:834,8'
          Dst:             awp_update_df_delete
        - Src:             'pkcs15-oberthur.c:837,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:838,8'
          Dst:             awp_update_df_create
        - Src:             'pkcs15-oberthur.c:841,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:841,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:841,2'
          Dst:             sc_do_log
    - functionName:    cosm_emu_update_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 816
      functionLinenumberEnd: 819
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:817,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:819,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:819,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:819,2'
          Dst:             sc_do_log
    - functionName:    cosm_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 599
      functionLinenumberEnd: 708
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         85
      ICount:          639
      EdgeCount:       107
      CyclomaticComplexity: 24
      functionsReached:
        - cosm_delete_file
        - cosm_get_temporary_public_key_file
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_create_file
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:607,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:610,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:610,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:613,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:613,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:620,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur.c:621,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:621,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:623,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur.c:625,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:626,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:626,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:629,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur.c:630,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:632,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:632,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:634,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur.c:635,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:635,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:638,7'
          Dst:             cosm_get_temporary_public_key_file
        - Src:             'pkcs15-oberthur.c:640,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:641,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:641,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:644,7'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur.c:646,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:647,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:648,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:648,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:659,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:660,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:661,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:661,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:664,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-oberthur.c:666,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:667,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:670,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:670,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:677,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:678,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:680,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:680,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:687,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:688,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:691,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:691,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:700,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:701,8'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur.c:703,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:704,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:707,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:707,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:707,2'
          Dst:             sc_do_log
    - functionName:    cosm_delete_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 122
      functionLinenumberEnd: 158
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          236
      EdgeCount:       40
      CyclomaticComplexity: 9
      functionsReached:
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_select_file
        - sc_strerror
      functionUses:    12
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:128,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:129,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:131,8'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur.c:132,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:132,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:138,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:138,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:138,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:142,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur.c:143,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:143,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:145,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur.c:146,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:147,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:147,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:155,7'
          Dst:             sc_delete_file
        - Src:             'pkcs15-oberthur.c:157,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:157,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:157,2'
          Dst:             sc_do_log
    - functionName:    cosm_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 773
      functionLinenumberEnd: 809
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          275
      EdgeCount:       49
      CyclomaticComplexity: 11
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_print_id
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:780,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:782,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:782,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:784,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-oberthur.c:784,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-oberthur.c:784,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:787,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur.c:788,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:788,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:790,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur.c:791,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:791,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:794,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:794,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:794,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:803,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-oberthur.c:804,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:804,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:806,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:808,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:808,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:808,2'
          Dst:             sc_do_log
    - functionName:    cosm_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 717
      functionLinenumberEnd: 763
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          327
      EdgeCount:       58
      CyclomaticComplexity: 13
      functionsReached:
        - cosm_delete_file
        - cosm_new_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_print_id
        - sc_pkcs15init_create_file
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:723,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:725,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:725,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:728,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:728,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:732,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-oberthur.c:732,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:735,7'
          Dst:             cosm_new_file
        - Src:             'pkcs15-oberthur.c:736,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:736,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:743,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-oberthur.c:743,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:745,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur.c:747,8'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur.c:748,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:748,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:751,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:751,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:754,7'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur.c:755,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:755,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:760,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:762,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:762,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:762,2'
          Dst:             sc_do_log
    - functionName:    cosm_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 423
      functionLinenumberEnd: 471
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          356
      EdgeCount:       83
      CyclomaticComplexity: 20
      functionsReached:
        - cosm_update_pin
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:430,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:436,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:437,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:438,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:438,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:443,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:447,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:447,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:451,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:451,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:457,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:457,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:461,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:461,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:466,8'
          Dst:             cosm_update_pin
        - Src:             'pkcs15-oberthur.c:467,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:467,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:470,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:470,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:470,2'
          Dst:             sc_do_log
    - functionName:    cosm_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 377
      functionLinenumberEnd: 412
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          186
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:382,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:388,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:389,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:390,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:397,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:411,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:411,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:411,2'
          Dst:             sc_do_log
    - functionName:    cosm_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 263
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          164
      EdgeCount:       34
      CyclomaticComplexity: 8
      functionsReached:
        - cosm_write_tokeninfo
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_create_file
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:243,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:248,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:249,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:250,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:250,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:253,8'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur.c:254,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:256,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:256,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:259,7'
          Dst:             cosm_write_tokeninfo
        - Src:             'pkcs15-oberthur.c:262,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:262,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:262,2'
          Dst:             sc_do_log
    - functionName:    cosm_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 166
      functionLinenumberEnd: 219
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         46
      ICount:          268
      EdgeCount:       60
      CyclomaticComplexity: 16
      functionsReached:
        - cosm_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_free_apps
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur.c:171,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:178,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:179,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:180,8'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur.c:181,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:186,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:187,7'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur.c:191,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:192,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:193,8'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur.c:194,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:199,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:200,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:201,8'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur.c:202,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:207,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur.c:209,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur.c:210,8'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur.c:211,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur.c:214,2'
          Dst:             sc_free_apps
        - Src:             'pkcs15-oberthur.c:219,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur.c:219,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur.c:219,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_get_oberthur_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur.c'
      linkageType:     InternalLinkage
      functionLinenumber: 936
      functionLinenumberEnd: 937
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    openpgp_generate_key_ec
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 333
      functionLinenumberEnd: 425
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          496
      EdgeCount:       75
      CyclomaticComplexity: 16
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'pkcs15-openpgp.c:363,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-openpgp.c:342,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:345,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-openpgp.c:345,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:351,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:355,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:356,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:356,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:356,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:393,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:393,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:393,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:404,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-openpgp.c:405,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:405,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:408,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:424,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:424,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:424,2'
          Dst:             sc_do_log
    - functionName:    openpgp_generate_key_rsa
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 248
      functionLinenumberEnd: 321
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          475
      EdgeCount:       74
      CyclomaticComplexity: 18
      functionsReached:
        - calloc
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-openpgp.c:255,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:257,2'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-openpgp.c:257,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:263,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:267,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:268,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:268,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:268,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:275,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:284,27'
          Dst:             calloc
        - Src:             'pkcs15-openpgp.c:286,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:286,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:286,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:290,28'
          Dst:             calloc
        - Src:             'pkcs15-openpgp.c:293,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:293,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:293,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:296,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-openpgp.c:297,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:297,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:300,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:302,31'
          Dst:             calloc
        - Src:             'pkcs15-openpgp.c:307,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:309,32'
          Dst:             calloc
        - Src:             'pkcs15-openpgp.c:320,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:320,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:320,2'
          Dst:             sc_do_log
    - functionName:    openpgp_set_algorithm
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 119
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          207
      EdgeCount:       39
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-openpgp.c:128,2'
          Branch Sides:    []
        - Branch String:   'pkcs15-openpgp.c:131,3'
          Branch Sides:    []
        - Branch String:   'pkcs15-openpgp.c:145,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-openpgp.c:124,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:125,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:125,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:125,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:159,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:160,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:160,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:160,2'
          Dst:             sc_do_log
    - functionName:    openpgp_store_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 494
      functionLinenumberEnd: 595
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         72
      ICount:          518
      EdgeCount:       89
      CyclomaticComplexity: 19
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_dump_hex
        - sc_file_free
        - sc_format_path
        - sc_pkcs15init_authenticate
        - sc_put_data
        - sc_read_binary
        - sc_select_file
        - sc_strerror
        - sc_update_binary
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-openpgp.c:506,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-openpgp.c:504,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:520,4'
          Dst:             sc_dump_hex
        - Src:             'pkcs15-openpgp.c:520,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:521,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:521,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:521,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:526,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:529,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:529,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:529,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:538,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:538,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:538,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:542,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-openpgp.c:543,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:543,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:546,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-openpgp.c:547,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-openpgp.c:549,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:549,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:550,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-openpgp.c:551,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:553,8'
          Dst:             sc_put_data
        - Src:             'pkcs15-openpgp.c:559,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:567,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:568,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-openpgp.c:569,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-openpgp.c:570,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:570,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:571,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-openpgp.c:573,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:577,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:581,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-openpgp.c:583,8'
          Dst:             sc_update_binary
        - Src:             'pkcs15-openpgp.c:593,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-openpgp.c:594,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:594,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:594,2'
          Dst:             sc_do_log
    - functionName:    openpgp_emu_update_tokeninfo
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 484
      functionLinenumberEnd: 488
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-openpgp.c:485,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:488,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:488,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:488,2'
          Dst:             sc_do_log
    - functionName:    openpgp_emu_update_any_df
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 475
      functionLinenumberEnd: 479
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          68
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-openpgp.c:476,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:479,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:479,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:479,2'
          Dst:             sc_do_log
    - functionName:    openpgp_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 438
      functionLinenumberEnd: 471
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          161
      EdgeCount:       27
      CyclomaticComplexity: 5
      functionsReached:
        - openpgp_generate_key_ec
        - openpgp_generate_key_rsa
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-openpgp.c:445,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-openpgp.c:443,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:448,7'
          Dst:             openpgp_generate_key_rsa
        - Src:             'pkcs15-openpgp.c:452,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:455,7'
          Dst:             openpgp_generate_key_ec
        - Src:             'pkcs15-openpgp.c:460,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:463,7'
          Dst:             openpgp_generate_key_ec
        - Src:             'pkcs15-openpgp.c:467,3'
          Dst:             strerror
        - Src:             'pkcs15-openpgp.c:467,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:470,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:470,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:470,2'
          Dst:             sc_do_log
    - functionName:    openpgp_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 173
      functionLinenumberEnd: 237
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          355
      EdgeCount:       37
      CyclomaticComplexity: 6
      functionsReached:
        - openpgp_set_algorithm
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-openpgp.c:181,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-openpgp.c:179,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:195,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-openpgp.c:205,7'
          Dst:             openpgp_set_algorithm
        - Src:             'pkcs15-openpgp.c:206,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:206,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:219,5'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:219,5'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:219,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:225,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-openpgp.c:232,3'
          Dst:             strerror
        - Src:             'pkcs15-openpgp.c:232,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:236,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:236,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:236,2'
          Dst:             sc_do_log
    - functionName:    openpgp_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 98
      functionLinenumberEnd: 104
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-openpgp.c:103,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-openpgp.c:104,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-openpgp.c:104,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-openpgp.c:104,2'
          Dst:             sc_do_log
    - functionName:    openpgp_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 89
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          20
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    openpgp_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 72
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    openpgp_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 60
      functionLinenumberEnd: 61
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    openpgp_erase
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 47
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs15init_get_openpgp_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-openpgp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 620
      functionLinenumberEnd: 621
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    create_sysdf
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 53
      functionLinenumberEnd: 85
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          168
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - sc_create_file
        - sc_do_log
        - sc_file_add_acl_entry
        - sc_file_free
        - sc_profile_get_file
        - sc_select_file
        - sc_strerror
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:60,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-rtecp.c:67,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:72,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-rtecp.c:74,8'
          Dst:             sc_file_add_acl_entry
        - Src:             'pkcs15-rtecp.c:77,8'
          Dst:             sc_file_add_acl_entry
        - Src:             'pkcs15-rtecp.c:80,8'
          Dst:             sc_create_file
        - Src:             'pkcs15-rtecp.c:81,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:83,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:83,2'
          Dst:             sc_do_log
    - functionName:    rtecp_delete_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 657
      functionLinenumberEnd: 691
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          272
      EdgeCount:       57
      CyclomaticComplexity: 14
      functionsReached:
        - sc_append_file_id
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_delete_by_path
        - sc_print_path
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:668,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:669,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-rtecp.c:669,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:672,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:672,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:672,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:675,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:677,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-rtecp.c:678,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:678,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:680,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:682,6'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-rtecp.c:683,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:683,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:685,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-rtecp.c:685,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:686,6'
          Dst:             sc_pkcs15init_delete_by_path
        - Src:             'pkcs15-rtecp.c:688,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:688,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:688,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:690,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:690,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:690,2'
          Dst:             sc_do_log
    - functionName:    rtecp_finalize
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 644
      functionLinenumberEnd: 648
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_card_ctl
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:647,9'
          Dst:             sc_card_ctl
    - functionName:    rtecp_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 559
      functionLinenumberEnd: 637
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         67
      ICount:          447
      EdgeCount:       82
      CyclomaticComplexity: 17
      functionsReached:
        - calloc
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-rtecp.c:571,2'
          Branch Sides:    []
        - Branch String:   'pkcs15-rtecp.c:588,2'
          Branch Sides:    []
        - Branch String:   'pkcs15-rtecp.c:622,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-rtecp.c:570,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:594,24'
          Dst:             calloc
        - Src:             'pkcs15-rtecp.c:596,25'
          Dst:             calloc
        - Src:             'pkcs15-rtecp.c:601,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:601,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:601,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:608,25'
          Dst:             calloc
        - Src:             'pkcs15-rtecp.c:612,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:612,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:612,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:618,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-rtecp.c:636,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:636,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:636,2'
          Dst:             sc_do_log
    - functionName:    rtecp_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 421
      functionLinenumberEnd: 552
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         169
      ICount:          1034
      EdgeCount:       229
      CyclomaticComplexity: 62
      functionsReached:
        - calloc
        - sc_append_file_id
        - sc_change_reference_data
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_mem_clear
        - sc_profile_get_file
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:435,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:474,8'
          Dst:             calloc
        - Src:             'pkcs15-rtecp.c:476,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:476,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:476,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:505,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-rtecp.c:507,7'
          Dst:             sc_change_reference_data
        - Src:             'pkcs15-rtecp.c:508,2'
          Dst:             sc_mem_clear
        - Src:             'pkcs15-rtecp.c:528,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-rtecp.c:534,8'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-rtecp.c:535,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:538,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:542,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-rtecp.c:544,8'
          Dst:             sc_change_reference_data
        - Src:             'pkcs15-rtecp.c:547,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:551,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:551,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:551,2'
          Dst:             sc_do_log
    - functionName:    rtecp_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 414
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         102
      ICount:          652
      EdgeCount:       136
      CyclomaticComplexity: 36
      functionsReached:
        - sc_create_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_add_acl_entry
        - sc_file_free
        - sc_file_new
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
        - sc_file_set_type_attr
        - sc_pkcs15init_authenticate
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:317,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:334,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:351,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-rtecp.c:352,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:352,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:353,6'
          Dst:             sc_file_add_acl_entry
        - Src:             'pkcs15-rtecp.c:355,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-rtecp.c:356,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:357,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:357,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:359,9'
          Dst:             sc_file_new
        - Src:             'pkcs15-rtecp.c:361,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:361,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:361,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:363,6'
          Dst:             sc_file_set_type_attr
        - Src:             'pkcs15-rtecp.c:376,7'
          Dst:             sc_file_set_sec_attr
        - Src:             'pkcs15-rtecp.c:381,8'
          Dst:             sc_file_set_prop_attr
        - Src:             'pkcs15-rtecp.c:383,8'
          Dst:             sc_file_set_prop_attr
        - Src:             'pkcs15-rtecp.c:386,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:387,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-rtecp.c:399,7'
          Dst:             sc_file_set_sec_attr
        - Src:             'pkcs15-rtecp.c:404,8'
          Dst:             sc_file_set_prop_attr
        - Src:             'pkcs15-rtecp.c:406,8'
          Dst:             sc_file_set_prop_attr
        - Src:             'pkcs15-rtecp.c:409,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:410,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-rtecp.c:412,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:413,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:413,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:413,2'
          Dst:             sc_do_log
    - functionName:    rtecp_select_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 287
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          147
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - sc_append_file_id
        - sc_do_log_color
        - sc_file_free
        - sc_profile_get_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:279,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-rtecp.c:280,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:280,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:284,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:285,6'
          Dst:             sc_append_file_id
    - functionName:    rtecp_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 260
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         78
      ICount:          506
      EdgeCount:       105
      CyclomaticComplexity: 29
      functionsReached:
        - sc_change_reference_data
        - sc_create_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_file_new
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
        - sc_file_set_type_attr
        - sc_pkcs15init_fixup_file
        - sc_profile_get_file
        - sc_strerror
        - snprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:193,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:197,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:197,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:209,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:214,2'
          Dst:             snprintf
        - Src:             'pkcs15-rtecp.c:216,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-rtecp.c:220,8'
          Dst:             sc_pkcs15init_fixup_file
        - Src:             'pkcs15-rtecp.c:222,5'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:223,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:223,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:225,10'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-rtecp.c:227,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:230,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:234,9'
          Dst:             sc_file_new
        - Src:             'pkcs15-rtecp.c:236,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:236,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:236,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rtecp.c:242,6'
          Dst:             sc_file_set_sec_attr
        - Src:             'pkcs15-rtecp.c:248,7'
          Dst:             sc_file_set_prop_attr
        - Src:             'pkcs15-rtecp.c:251,7'
          Dst:             sc_file_set_type_attr
        - Src:             'pkcs15-rtecp.c:253,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-rtecp.c:254,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:257,7'
          Dst:             sc_change_reference_data
        - Src:             'pkcs15-rtecp.c:259,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:259,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:259,2'
          Dst:             sc_do_log
    - functionName:    rtecp_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 150
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          146
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:164,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:164,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:164,3'
          Dst:             sc_do_log
    - functionName:    rtecp_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 139
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          61
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - sc_create_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:142,9'
          Dst:             sc_create_file
    - functionName:    rtecp_init
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 91
      functionLinenumberEnd: 133
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         33
      ICount:          229
      EdgeCount:       43
      CyclomaticComplexity: 12
      functionsReached:
        - create_sysdf
        - sc_create_file
        - sc_do_log_color
        - sc_file_free
        - sc_get_mf_path
        - sc_profile_get_file
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:101,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-rtecp.c:102,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:102,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:105,6'
          Dst:             sc_create_file
        - Src:             'pkcs15-rtecp.c:106,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:107,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:107,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:109,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-rtecp.c:110,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:110,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:113,6'
          Dst:             sc_create_file
        - Src:             'pkcs15-rtecp.c:114,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-rtecp.c:115,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-rtecp.c:115,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-rtecp.c:117,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:118,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:119,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:120,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:121,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:122,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:123,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:125,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:126,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:127,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:128,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:129,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:130,2'
          Dst:             create_sysdf
        - Src:             'pkcs15-rtecp.c:132,30'
          Dst:             sc_get_mf_path
        - Src:             'pkcs15-rtecp.c:132,9'
          Dst:             sc_select_file
    - functionName:    rtecp_erase
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 41
      functionLinenumberEnd: 50
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          67
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - sc_card_ctl
        - sc_free_apps
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rtecp.c:46,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-rtecp.c:48,3'
          Dst:             sc_free_apps
    - functionName:    sc_pkcs15init_get_rtecp_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rtecp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 714
      functionLinenumberEnd: 715
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    create_pins
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 191
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          103
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - sc_card_ctl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rutoken.c:188,7'
          Dst:             sc_card_ctl
    - functionName:    create_typical_fs
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 195
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         30
      ICount:          231
      EdgeCount:       42
      CyclomaticComplexity: 14
      functionsReached:
        - create_pins
        - sc_append_file_id
        - sc_create_file
        - sc_file_free
        - sc_file_new
        - sc_file_set_sec_attr
        - sc_format_path
        - sc_logout
        - sc_select_file
        - sc_verify
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rutoken.c:199,7'
          Dst:             sc_file_new
        - Src:             'pkcs15-rutoken.c:205,7'
          Dst:             sc_file_set_sec_attr
        - Src:             'pkcs15-rutoken.c:210,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-rutoken.c:211,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-rutoken.c:216,3'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-rutoken.c:217,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-rutoken.c:222,3'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-rutoken.c:223,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-rutoken.c:227,7'
          Dst:             create_pins
        - Src:             'pkcs15-rutoken.c:231,7'
          Dst:             sc_verify
        - Src:             'pkcs15-rutoken.c:237,3'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-rutoken.c:238,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-rutoken.c:241,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-rutoken.c:242,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-rutoken.c:247,3'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-rutoken.c:248,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-rutoken.c:251,3'
          Dst:             sc_format_path
        - Src:             'pkcs15-rutoken.c:252,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-rutoken.c:257,3'
          Dst:             sc_append_file_id
        - Src:             'pkcs15-rutoken.c:258,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-rutoken.c:262,7'
          Dst:             sc_logout
        - Src:             'pkcs15-rutoken.c:264,2'
          Dst:             sc_file_free
    - functionName:    rutoken_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 121
      functionLinenumberEnd: 163
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          212
      EdgeCount:       56
      CyclomaticComplexity: 17
      functionsReached:
        - memcmp
        - sc_do_log
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rutoken.c:132,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rutoken.c:136,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-rutoken.c:136,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rutoken.c:150,10'
          Dst:             memcmp
        - Src:             'pkcs15-rutoken.c:155,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-rutoken.c:159,2'
          Dst:             sc_do_log
    - functionName:    rutoken_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 111
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          150
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached:
        - sc_do_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rutoken.c:94,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rutoken.c:102,2'
          Dst:             sc_do_log
    - functionName:    rutoken_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 74
      functionLinenumberEnd: 79
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          79
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_pkcs15init_create_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rutoken.c:77,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rutoken.c:78,9'
          Dst:             sc_pkcs15init_create_file
    - functionName:    rutoken_erase
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 273
      functionLinenumberEnd: 302
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          139
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - create_typical_fs
        - sc_card_ctl
        - sc_do_log
        - sc_free_apps
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-rutoken.c:281,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-rutoken.c:284,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-rutoken.c:287,9'
          Dst:             create_typical_fs
        - Src:             'pkcs15-rutoken.c:289,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-rutoken.c:289,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-rutoken.c:292,13'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-rutoken.c:297,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-rutoken.c:297,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-rutoken.c:300,3'
          Dst:             sc_free_apps
    - functionName:    sc_pkcs15init_get_rutoken_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-rutoken.c'
      linkageType:     InternalLinkage
      functionLinenumber: 324
      functionLinenumberEnd: 325
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_hsm_emu_store_binary
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 404
      functionLinenumberEnd: 425
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          100
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached:
        - sc_do_log_color
        - sc_hsm_determine_free_id
        - sc_hsm_update_ef
        - sc_path_set
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:410,6'
          Dst:             sc_hsm_determine_free_id
        - Src:             'pkcs15-sc-hsm.c:411,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:411,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:420,2'
          Dst:             sc_path_set
        - Src:             'pkcs15-sc-hsm.c:423,6'
          Dst:             sc_hsm_update_ef
    - functionName:    sc_hsm_determine_free_id
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 132
      functionLinenumberEnd: 153
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          215
      EdgeCount:       44
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_list_files
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:137,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:139,19'
          Dst:             sc_list_files
        - Src:             'pkcs15-sc-hsm.c:140,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:140,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:149,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:149,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:149,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:152,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:152,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:152,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_update_ef
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 74
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - char
        - char
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          200
      EdgeCount:       30
      CyclomaticComplexity: 8
      functionsReached:
        - sc_create_file
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_path_set
        - sc_select_file
        - sc_strerror
        - sc_update_binary
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:84,2'
          Dst:             sc_path_set
        - Src:             'pkcs15-sc-hsm.c:86,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-sc-hsm.c:89,7'
          Dst:             sc_delete_file
        - Src:             'pkcs15-sc-hsm.c:90,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:90,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:95,10'
          Dst:             sc_file_new
        - Src:             'pkcs15-sc-hsm.c:101,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-sc-hsm.c:102,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-sc-hsm.c:103,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:103,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:106,6'
          Dst:             sc_update_binary
        - Src:             'pkcs15-sc-hsm.c:107,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:107,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:107,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_emu_store_cert
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 358
      functionLinenumberEnd: 385
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          135
      EdgeCount:       18
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log_color
        - sc_hsm_determine_free_id
        - sc_hsm_update_ef
        - sc_path_set
        - sc_pkcs15_find_object_by_id
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:365,6'
          Dst:             sc_pkcs15_find_object_by_id
        - Src:             'pkcs15-sc-hsm.c:368,7'
          Dst:             sc_hsm_determine_free_id
        - Src:             'pkcs15-sc-hsm.c:369,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:369,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:374,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:374,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:380,2'
          Dst:             sc_path_set
        - Src:             'pkcs15-sc-hsm.c:383,6'
          Dst:             sc_hsm_update_ef
    - functionName:    sc_hsm_emu_update_dcod
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 514
      functionLinenumberEnd: 526
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          82
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log_color
        - sc_hsm_update_ef
        - sc_pkcs15_encode_dodf_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:520,6'
          Dst:             sc_pkcs15_encode_dodf_entry
        - Src:             'pkcs15-sc-hsm.c:521,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:521,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:523,6'
          Dst:             sc_hsm_update_ef
    - functionName:    sc_hsm_emu_update_cd
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 532
      functionLinenumberEnd: 550
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          113
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log_color
        - sc_hsm_update_ef
        - sc_pkcs15_encode_cdf_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:544,6'
          Dst:             sc_pkcs15_encode_cdf_entry
        - Src:             'pkcs15-sc-hsm.c:545,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:545,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:547,6'
          Dst:             sc_hsm_update_ef
    - functionName:    sc_hsm_emu_update_prkd
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 493
      functionLinenumberEnd: 508
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          81
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log_color
        - sc_hsm_update_ef
        - sc_pkcs15_encode_prkdf_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:502,6'
          Dst:             sc_pkcs15_encode_prkdf_entry
        - Src:             'pkcs15-sc-hsm.c:503,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:503,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:505,6'
          Dst:             sc_hsm_update_ef
    - functionName:    sc_hsm_emu_delete_cd
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 556
      functionLinenumberEnd: 566
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          72
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_hsm_delete_ef
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:565,9'
          Dst:             sc_hsm_delete_ef
    - functionName:    sc_hsm_delete_ef
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 54
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          96
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_path_set
        - sc_strerror
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:63,2'
          Dst:             sc_path_set
        - Src:             'pkcs15-sc-hsm.c:65,6'
          Dst:             sc_delete_file
        - Src:             'pkcs15-sc-hsm.c:66,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:66,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:68,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:68,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:68,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_emu_delete_cert
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 392
      functionLinenumberEnd: 395
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_hsm_delete_ef
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:395,9'
          Dst:             sc_hsm_delete_ef
    - functionName:    sc_hsm_encode_gakp_ec
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         73
      ICount:          639
      EdgeCount:       90
      CyclomaticComplexity: 19
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15emu_sc_hsm_get_curve
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:184,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:188,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:189,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:189,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:189,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:194,6'
          Dst:             sc_pkcs15emu_sc_hsm_get_curve
        - Src:             'pkcs15-sc-hsm.c:195,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:195,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:200,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:200,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:200,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:207,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:207,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:207,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:214,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:214,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:214,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:221,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:221,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:221,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:228,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:228,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:228,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:235,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:235,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:235,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:241,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:241,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:241,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_encode_gakp_rsa
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 157
      functionLinenumberEnd: 173
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          136
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:160,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:165,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:165,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:165,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:172,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:172,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:172,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_emu_store_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 433
      functionLinenumberEnd: 455
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          109
      EdgeCount:       17
      CyclomaticComplexity: 2
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_hsm_emu_store_binary
        - sc_hsm_emu_store_cert
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-sc-hsm.c:439,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:437,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:445,7'
          Dst:             sc_hsm_emu_store_cert
        - Src:             'pkcs15-sc-hsm.c:448,7'
          Dst:             sc_hsm_emu_store_binary
        - Src:             'pkcs15-sc-hsm.c:455,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:455,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:455,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_emu_update_any_df
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 572
      functionLinenumberEnd: 614
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          195
      EdgeCount:       54
      CyclomaticComplexity: 28
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_hsm_delete_ef
        - sc_hsm_emu_delete_cd
        - sc_hsm_emu_update_cd
        - sc_hsm_emu_update_dcod
        - sc_hsm_emu_update_prkd
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-sc-hsm.c:577,2'
          Branch Sides:    []
        - Branch String:   'pkcs15-sc-hsm.c:580,3'
          Branch Sides:    []
        - Branch String:   'pkcs15-sc-hsm.c:598,3'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:576,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:579,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:582,9'
          Dst:             sc_hsm_delete_ef
        - Src:             'pkcs15-sc-hsm.c:588,9'
          Dst:             sc_hsm_emu_delete_cd
        - Src:             'pkcs15-sc-hsm.c:591,9'
          Dst:             sc_hsm_delete_ef
        - Src:             'pkcs15-sc-hsm.c:597,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:603,9'
          Dst:             sc_hsm_emu_update_prkd
        - Src:             'pkcs15-sc-hsm.c:606,9'
          Dst:             sc_hsm_emu_update_cd
        - Src:             'pkcs15-sc-hsm.c:609,9'
          Dst:             sc_hsm_emu_update_dcod
        - Src:             'pkcs15-sc-hsm.c:614,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:614,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:614,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_emu_delete_object
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 462
      functionLinenumberEnd: 486
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          114
      EdgeCount:       16
      CyclomaticComplexity: 2
      functionsReached:
        - sc_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_hsm_delete_ef
        - sc_hsm_emu_delete_cert
        - sc_strerror
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-sc-hsm.c:468,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:466,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:470,7'
          Dst:             sc_hsm_delete_ef
        - Src:             'pkcs15-sc-hsm.c:473,7'
          Dst:             sc_hsm_emu_delete_cert
        - Src:             'pkcs15-sc-hsm.c:476,7'
          Dst:             sc_delete_file
        - Src:             'pkcs15-sc-hsm.c:486,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:486,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:486,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 344
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          389
      EdgeCount:       59
      CyclomaticComplexity: 13
      functionsReached:
        - _strlcpy
        - sc_asn1_read_tag
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_hsm_determine_free_id
        - sc_hsm_encode_gakp_ec
        - sc_hsm_encode_gakp_rsa
        - sc_hsm_update_ef
        - sc_pkcs15_erase_pubkey
        - sc_pkcs15emu_sc_hsm_decode_cvc
        - sc_pkcs15emu_sc_hsm_encode_cvc
        - sc_pkcs15emu_sc_hsm_free_cvc
        - sc_pkcs15emu_sc_hsm_get_public_key
        - sc_strerror
        - strlcat
        - strlen
      functionUses:    0
      BranchProfiles:
        - Branch String:   'pkcs15-sc-hsm.c:274,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:260,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:262,28'
          Dst:             sc_hsm_determine_free_id
        - Src:             'pkcs15-sc-hsm.c:263,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:263,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:267,2'
          Dst:             _strlcpy
        - Src:             'pkcs15-sc-hsm.c:268,15'
          Dst:             strlen
        - Src:             'pkcs15-sc-hsm.c:270,3'
          Dst:             _strlcpy
        - Src:             'pkcs15-sc-hsm.c:271,2'
          Dst:             strlcat
        - Src:             'pkcs15-sc-hsm.c:272,15'
          Dst:             strlen
        - Src:             'pkcs15-sc-hsm.c:276,7'
          Dst:             sc_hsm_encode_gakp_rsa
        - Src:             'pkcs15-sc-hsm.c:279,7'
          Dst:             sc_hsm_encode_gakp_ec
        - Src:             'pkcs15-sc-hsm.c:286,3'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
        - Src:             'pkcs15-sc-hsm.c:287,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:287,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:290,6'
          Dst:             sc_pkcs15emu_sc_hsm_encode_cvc
        - Src:             'pkcs15-sc-hsm.c:291,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
        - Src:             'pkcs15-sc-hsm.c:292,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:292,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:296,2'
          Dst:             sc_asn1_read_tag
        - Src:             'pkcs15-sc-hsm.c:297,2'
          Dst:             sc_asn1_read_tag
        - Src:             'pkcs15-sc-hsm.c:306,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-sc-hsm.c:314,6'
          Dst:             sc_pkcs15emu_sc_hsm_decode_cvc
        - Src:             'pkcs15-sc-hsm.c:316,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:321,6'
          Dst:             sc_hsm_update_ef
        - Src:             'pkcs15-sc-hsm.c:323,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:328,3'
          Dst:             sc_pkcs15_erase_pubkey
        - Src:             'pkcs15-sc-hsm.c:330,7'
          Dst:             sc_pkcs15emu_sc_hsm_get_public_key
        - Src:             'pkcs15-sc-hsm.c:335,2'
          Dst:             sc_pkcs15emu_sc_hsm_free_cvc
        - Src:             'pkcs15-sc-hsm.c:343,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:343,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:343,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 126
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          68
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:125,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:126,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:126,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:126,2'
          Dst:             sc_do_log
    - functionName:    sc_hsm_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 114
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-sc-hsm.c:116,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-sc-hsm.c:117,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-sc-hsm.c:117,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-sc-hsm.c:117,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs15init_get_sc_hsm_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-sc-hsm.c'
      linkageType:     InternalLinkage
      functionLinenumber: 646
      functionLinenumberEnd: 647
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    setcos_new_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 260
      functionLinenumberEnd: 309
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          212
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_file_free
        - sc_profile_get_file
        - sc_select_file
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:276,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:281,2'
          Dst:             snprintf
        - Src:             'pkcs15-setcos.c:282,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-setcos.c:283,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:292,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:299,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-setcos.c:304,7'
          Dst:             sc_select_file
    - functionName:    setcos_puk_retries
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 60
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          63
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - sc_profile_get_pin_info
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:50,2'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-setcos.c:53,2'
          Dst:             sc_profile_get_pin_info
    - functionName:    setcos_create_pin_internal
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 541
      functionLinenumberEnd: 605
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          284
      EdgeCount:       49
      CyclomaticComplexity: 14
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_profile_get_file
        - sc_strerror
        - setcos_puk_retries
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:548,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:560,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-setcos.c:562,8'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-setcos.c:563,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:583,20'
          Dst:             setcos_puk_retries
        - Src:             'pkcs15-setcos.c:602,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-setcos.c:604,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:604,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:604,2'
          Dst:             sc_do_log
    - functionName:    setcos_encode_public_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 323
      functionLinenumberEnd: 324
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    setcos_encode_private_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 315
      functionLinenumberEnd: 316
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    setcos_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 447
      functionLinenumberEnd: 530
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         87
      ICount:          561
      EdgeCount:       110
      CyclomaticComplexity: 25
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:457,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:459,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:459,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:463,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:463,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:465,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-setcos.c:466,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:466,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:469,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-setcos.c:471,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:472,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:472,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:483,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-setcos.c:485,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:486,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:486,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:495,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:495,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:495,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:499,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:499,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:499,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:503,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-setcos.c:504,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:505,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:505,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:512,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-setcos.c:513,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:513,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:516,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:516,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:520,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:522,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:522,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:526,3'
          Dst:             sc_file_free
    - functionName:    setcos_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 397
      functionLinenumberEnd: 440
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          301
      EdgeCount:       51
      CyclomaticComplexity: 12
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_print_id
        - sc_pkcs15init_authenticate
        - sc_print_path
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:405,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:407,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:407,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:411,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:411,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:413,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-setcos.c:413,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-setcos.c:413,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:416,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-setcos.c:417,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:417,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:419,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-setcos.c:420,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:420,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:434,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-setcos.c:435,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:435,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:437,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:439,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:439,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:439,2'
          Dst:             sc_do_log
    - functionName:    setcos_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 331
      functionLinenumberEnd: 387
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          417
      EdgeCount:       81
      CyclomaticComplexity: 19
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_print_id
        - sc_pkcs15init_create_file
        - sc_pkcs15init_delete_by_path
        - sc_print_path
        - sc_select_file
        - sc_strerror
        - setcos_new_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:338,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:340,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:340,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:344,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:344,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:346,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-setcos.c:346,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:349,6'
          Dst:             setcos_new_file
        - Src:             'pkcs15-setcos.c:350,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:350,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:359,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:360,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:360,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:367,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-setcos.c:367,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:369,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-setcos.c:371,7'
          Dst:             sc_pkcs15init_delete_by_path
        - Src:             'pkcs15-setcos.c:373,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:374,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:374,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:376,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:378,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:378,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:382,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-setcos.c:383,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:384,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:384,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:386,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:386,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:386,2'
          Dst:             sc_do_log
    - functionName:    setcos_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 203
      functionLinenumberEnd: 250
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          300
      EdgeCount:       50
      CyclomaticComplexity: 12
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_print_path
        - sc_profile_get_file
        - sc_select_file
        - sc_strerror
        - setcos_create_pin_internal
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:209,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:215,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-setcos.c:216,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:216,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:218,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-setcos.c:219,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:220,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:220,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:222,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:223,2'
          Dst:             sc_print_path
        - Src:             'pkcs15-setcos.c:223,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:229,6'
          Dst:             setcos_create_pin_internal
        - Src:             'pkcs15-setcos.c:235,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:239,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-setcos.c:240,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:240,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:242,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-setcos.c:243,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:243,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:245,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-setcos.c:246,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:246,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:249,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:249,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:249,2'
          Dst:             sc_do_log
    - functionName:    setcos_select_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 192
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          102
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - sc_profile_get_pin_info
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:177,2'
          Dst:             sc_profile_get_pin_info
    - functionName:    setcos_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 150
      functionLinenumberEnd: 163
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          114
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - sc_create_file
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_fixup_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:154,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:156,13'
          Dst:             sc_pkcs15init_fixup_file
        - Src:             'pkcs15-setcos.c:157,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:157,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:159,6'
          Dst:             sc_create_file
        - Src:             'pkcs15-setcos.c:160,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:160,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:162,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:162,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:162,2'
          Dst:             sc_do_log
    - functionName:    setcos_init_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 94
      functionLinenumberEnd: 143
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         50
      ICount:          312
      EdgeCount:       62
      CyclomaticComplexity: 14
      functionsReached:
        - sc_create_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_fixup_file
        - sc_profile_get_file
        - sc_select_file
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:100,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:103,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-setcos.c:105,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:108,7'
          Dst:             sc_pkcs15init_fixup_file
        - Src:             'pkcs15-setcos.c:109,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:109,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:112,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-setcos.c:113,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:113,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:115,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:115,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:118,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-setcos.c:119,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:119,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:121,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-setcos.c:123,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-setcos.c:126,7'
          Dst:             sc_pkcs15init_fixup_file
        - Src:             'pkcs15-setcos.c:128,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:129,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:129,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:134,7'
          Dst:             sc_create_file
        - Src:             'pkcs15-setcos.c:136,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:137,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:137,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:139,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-setcos.c:140,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:140,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:142,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-setcos.c:142,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-setcos.c:142,2'
          Dst:             sc_do_log
    - functionName:    setcos_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 67
      functionLinenumberEnd: 86
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          73
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_delete_file
        - sc_free_apps
        - sc_pkcs15init_authenticate
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-setcos.c:74,6'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-setcos.c:80,6'
          Dst:             sc_delete_file
        - Src:             'pkcs15-setcos.c:84,2'
          Dst:             sc_free_apps
    - functionName:    sc_pkcs15init_get_setcos_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-setcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 633
      functionLinenumberEnd: 634
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    starcos_ipf_get_lastpos
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 590
      functionLinenumberEnd: 611
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          116
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    starcos_encode_pukey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 615
      functionLinenumberEnd: 657
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          212
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    starcos_write_pukey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 661
      functionLinenumberEnd: 737
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          294
      EdgeCount:       39
      CyclomaticComplexity: 13
      functionsReached:
        - sc_file_free
        - sc_profile_get_file_in
        - sc_read_binary
        - sc_select_file
        - sc_update_binary
        - starcos_encode_pukey
        - starcos_ipf_get_lastpos
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:670,6'
          Dst:             sc_profile_get_file_in
        - Src:             'pkcs15-starcos.c:674,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:676,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:681,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:688,6'
          Dst:             sc_read_binary
        - Src:             'pkcs15-starcos.c:698,11'
          Dst:             starcos_encode_pukey
        - Src:             'pkcs15-starcos.c:719,6'
          Dst:             starcos_encode_pukey
        - Src:             'pkcs15-starcos.c:729,6'
          Dst:             sc_update_binary
        - Src:             'pkcs15-starcos.c:734,11'
          Dst:             starcos_ipf_get_lastpos
        - Src:             'pkcs15-starcos.c:736,9'
          Dst:             sc_update_binary
    - functionName:    starcos_encode_prkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 508
      functionLinenumberEnd: 583
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         68
      ICount:          591
      EdgeCount:       87
      CyclomaticComplexity: 21
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    have_onepin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 257
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_profile_get_pin_info
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:260,2'
          Dst:             sc_profile_get_pin_info
    - functionName:    get_so_ac
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 54
      functionLinenumberEnd: 74
      functionDepth:   0
      returnType:      char
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          120
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - sc_file_get_acl_entry
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:62,8'
          Dst:             sc_file_get_acl_entry
    - functionName:    starcos_finalize_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 918
      functionLinenumberEnd: 943
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          77
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - sc_card_ctl
        - sc_do_log
        - sc_format_path
        - sc_select_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:924,2'
          Dst:             sc_format_path
        - Src:             'pkcs15-starcos.c:925,6'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:932,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos.c:934,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-starcos.c:938,6'
          Dst:             sc_card_ctl
    - functionName:    starcos_generate_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 854
      functionLinenumberEnd: 915
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          199
      EdgeCount:       30
      CyclomaticComplexity: 10
      functionsReached:
        - sc_card_ctl
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_authenticate
        - sc_profile_get_file
        - starcos_write_pukey
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:865,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-starcos.c:868,14'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-starcos.c:870,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-starcos.c:872,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:882,6'
          Dst:             starcos_write_pukey
        - Src:             'pkcs15-starcos.c:889,6'
          Dst:             sc_card_ctl
    - functionName:    starcos_store_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 810
      functionLinenumberEnd: 850
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          144
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - sc_card_ctl
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_authenticate
        - sc_profile_get_file
        - starcos_encode_prkey
        - starcos_write_pukey
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:825,6'
          Dst:             starcos_encode_prkey
        - Src:             'pkcs15-starcos.c:829,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-starcos.c:832,14'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-starcos.c:834,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-starcos.c:836,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:845,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos.c:849,9'
          Dst:             starcos_write_pukey
    - functionName:    starcos_create_key
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 741
      functionLinenumberEnd: 806
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          300
      EdgeCount:       46
      CyclomaticComplexity: 13
      functionsReached:
        - sc_card_ctl
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_get_pin_reference
        - sc_profile_get_file
        - sc_select_file
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:752,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-starcos.c:755,14'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-starcos.c:757,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-starcos.c:760,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:762,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:773,11'
          Dst:             sc_pkcs15init_get_pin_reference
        - Src:             'pkcs15-starcos.c:805,9'
          Dst:             sc_card_ctl
    - functionName:    starcos_key_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 494
      functionLinenumberEnd: 501
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    starcos_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 352
      functionLinenumberEnd: 484
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          543
      EdgeCount:       88
      CyclomaticComplexity: 26
      functionsReached:
        - have_onepin
        - sc_card_ctl
        - sc_file_free
        - sc_file_get_acl_entry
        - sc_pkcs15init_authenticate
        - sc_profile_get_file
        - sc_profile_get_pin_info
        - sc_select_file
        - starcos_finalize_card
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:370,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:372,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:376,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-starcos.c:379,14'
          Dst:             sc_file_get_acl_entry
        - Src:             'pkcs15-starcos.c:381,67'
          Dst:             have_onepin
        - Src:             'pkcs15-starcos.c:384,8'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-starcos.c:386,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:426,6'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos.c:438,3'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-starcos.c:458,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos.c:465,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:473,7'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos.c:481,8'
          Dst:             starcos_finalize_card
    - functionName:    starcos_pin_reference
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 323
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          177
      EdgeCount:       44
      CyclomaticComplexity: 13
      functionsReached:
        - have_onepin
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:285,6'
          Dst:             have_onepin
    - functionName:    starcos_create_dir
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 254
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          339
      EdgeCount:       25
      CyclomaticComplexity: 9
      functionsReached:
        - get_so_ac
        - sc_card_ctl
        - sc_file_free
        - sc_profile_get_file
        - sc_profile_get_pin_info
        - sc_select_file
        - sc_update_binary
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:185,2'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-starcos.c:188,8'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-starcos.c:202,9'
          Dst:             get_so_ac
        - Src:             'pkcs15-starcos.c:204,9'
          Dst:             get_so_ac
        - Src:             'pkcs15-starcos.c:209,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:211,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos.c:215,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:218,8'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-starcos.c:227,9'
          Dst:             get_so_ac
        - Src:             'pkcs15-starcos.c:240,9'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos.c:242,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:246,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:247,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:250,8'
          Dst:             sc_update_binary
    - functionName:    starcos_init_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 78
      functionLinenumberEnd: 173
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          343
      EdgeCount:       28
      CyclomaticComplexity: 10
      functionsReached:
        - get_so_ac
        - sc_card_ctl
        - sc_file_free
        - sc_profile_get_file
        - sc_profile_get_pin_info
        - sc_select_file
        - sc_update_binary
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:94,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:99,2'
          Dst:             sc_profile_get_pin_info
        - Src:             'pkcs15-starcos.c:102,8'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-starcos.c:106,8'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-starcos.c:108,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:119,9'
          Dst:             get_so_ac
        - Src:             'pkcs15-starcos.c:121,9'
          Dst:             get_so_ac
        - Src:             'pkcs15-starcos.c:123,9'
          Dst:             get_so_ac
        - Src:             'pkcs15-starcos.c:125,9'
          Dst:             get_so_ac
        - Src:             'pkcs15-starcos.c:129,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:130,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:132,8'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos.c:137,8'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-starcos.c:146,9'
          Dst:             get_so_ac
        - Src:             'pkcs15-starcos.c:159,9'
          Dst:             sc_card_ctl
        - Src:             'pkcs15-starcos.c:161,3'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:165,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-starcos.c:166,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-starcos.c:169,8'
          Dst:             sc_update_binary
    - functionName:    starcos_erase_card
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 47
      functionLinenumberEnd: 48
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_card_ctl
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-starcos.c:48,9'
          Dst:             sc_card_ctl
    - functionName:    sc_pkcs15init_get_starcos_ops
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-starcos.c'
      linkageType:     InternalLinkage
      functionLinenumber: 964
      functionLinenumberEnd: 965
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strlcat
      functionSourceFile: '/src/opensc/src/common/compat_strlcat.c'
      linkageType:     InternalLinkage
      functionLinenumber: 49
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          127
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - strlen
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             'compat_strlcat.c:62,17'
          Dst:             strlen
    - functionName:    _strlcpy
      functionSourceFile: '/src/opensc/src/common/compat_strlcpy.c'
      linkageType:     InternalLinkage
      functionLinenumber: 36
      functionLinenumberEnd: 57
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          101
      EdgeCount:       24
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    88
      BranchProfiles:  []
      Callsites:       []
    - functionName:    scconf_item_find
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 92
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          96
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - strcasecmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:87,11'
          Dst:             strcasecmp
    - functionName:    scconf_parse_string
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 412
      functionLinenumberEnd: 438
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          79
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - _strlcpy
        - scconf_lex_parse_string
        - scconf_parse_reset_state
        - snprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:423,7'
          Dst:             scconf_lex_parse_string
        - Src:             'parse.c:424,3'
          Dst:             snprintf
        - Src:             'parse.c:428,3'
          Dst:             _strlcpy
        - Src:             'parse.c:434,2'
          Dst:             scconf_parse_reset_state
    - functionName:    scconf_parse_reset_state
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 231
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          51
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - scconf_list_destroy
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:236,3'
          Dst:             scconf_list_destroy
    - functionName:    scconf_parse
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 383
      functionLinenumberEnd: 408
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          85
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - _strlcpy
        - scconf_lex_parse
        - snprintf
        - strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:394,7'
          Dst:             scconf_lex_parse
        - Src:             'parse.c:397,32'
          Dst:             __errno_location
        - Src:             'parse.c:397,23'
          Dst:             strerror
        - Src:             'parse.c:395,3'
          Dst:             snprintf
        - Src:             'parse.c:400,3'
          Dst:             _strlcpy
    - functionName:    scconf_parse_parent
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 219
      functionLinenumberEnd: 228
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          55
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    scconf_parse_error_not_expect
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 68
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - snprintf
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:67,2'
          Dst:             snprintf
    - functionName:    scconf_parse_warning_expect
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 78
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - snprintf
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:75,2'
          Dst:             snprintf
    - functionName:    scconf_parse_token
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 251
      functionLinenumberEnd: 380
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         85
      ICount:          473
      EdgeCount:       108
      CyclomaticComplexity: 25
      functionsReached:
        - scconf_block_add_internal
        - scconf_item_add_internal
        - scconf_list_add
        - scconf_parse_error
        - scconf_parse_error_not_expect
        - scconf_parse_parent
        - scconf_parse_reset_state
        - scconf_parse_warning_expect
        - snprintf
        - strdup
        - strlen
      functionUses:    5
      BranchProfiles:
        - Branch String:   'parse.c:259,2'
          Branch Sides:    []
        - Branch String:   'parse.c:323,3'
          Branch Sides:    []
      Callsites:
        - Src:             'parse.c:267,10'
          Dst:             scconf_item_add_internal
        - Src:             'parse.c:271,33'
          Dst:             strdup
        - Src:             'parse.c:279,5'
          Dst:             scconf_parse_warning_expect
        - Src:             'parse.c:280,5'
          Dst:             scconf_parse_reset_state
        - Src:             'parse.c:285,11'
          Dst:             strlen
        - Src:             'parse.c:287,6'
          Dst:             scconf_parse_warning_expect
        - Src:             'parse.c:290,15'
          Dst:             strdup
        - Src:             'parse.c:297,22'
          Dst:             strdup
        - Src:             'parse.c:301,28'
          Dst:             strdup
        - Src:             'parse.c:306,5'
          Dst:             scconf_list_add
        - Src:             'parse.c:310,5'
          Dst:             scconf_list_add
        - Src:             'parse.c:314,5'
          Dst:             scconf_parse_error_not_expect
        - Src:             'parse.c:326,5'
          Dst:             scconf_parse_error_not_expect
        - Src:             'parse.c:330,4'
          Dst:             scconf_block_add_internal
        - Src:             'parse.c:331,4'
          Dst:             scconf_parse_reset_state
        - Src:             'parse.c:338,6'
          Dst:             scconf_parse_error_not_expect
        - Src:             'parse.c:343,5'
          Dst:             scconf_parse_warning_expect
        - Src:             'parse.c:344,5'
          Dst:             scconf_parse_reset_state
        - Src:             'parse.c:348,5'
          Dst:             scconf_parse_error
        - Src:             'parse.c:352,4'
          Dst:             scconf_parse_parent
        - Src:             'parse.c:356,5'
          Dst:             scconf_parse_error_not_expect
        - Src:             'parse.c:362,5'
          Dst:             scconf_parse_error_not_expect
        - Src:             'parse.c:365,4'
          Dst:             scconf_item_add_internal
        - Src:             'parse.c:369,4'
          Dst:             scconf_parse_reset_state
        - Src:             'parse.c:372,4'
          Dst:             snprintf
    - functionName:    scconf_item_add_internal
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 95
      functionLinenumberEnd: 124
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          111
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - scconf_item_find
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:100,10'
          Dst:             scconf_item_find
        - Src:             'parse.c:108,9'
          Dst:             calloc
    - functionName:    scconf_block_add_internal
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 173
      functionLinenumberEnd: 197
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          77
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - scconf_item_add_internal
        - scconf_list_add
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:177,9'
          Dst:             scconf_item_add_internal
        - Src:             'parse.c:182,10'
          Dst:             calloc
        - Src:             'parse.c:190,3'
          Dst:             scconf_list_add
    - functionName:    scconf_parse_error
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 54
      functionLinenumberEnd: 59
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          29
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - snprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:58,2'
          Dst:             snprintf
    - functionName:    scconf_skip_block
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 245
      functionLinenumberEnd: 248
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - scconf_parse_error
        - scconf_parse_reset_state
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:246,2'
          Dst:             scconf_parse_error
        - Src:             'parse.c:247,2'
          Dst:             scconf_parse_reset_state
    - functionName:    scconf_block_add
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 200
      functionLinenumberEnd: 216
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          87
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - scconf_block_add_internal
        - scconf_get_last_item
        - scconf_list_copy
        - strdup
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'parse.c:208,21'
          Dst:             strdup
        - Src:             'parse.c:210,2'
          Dst:             scconf_list_copy
        - Src:             'parse.c:211,21'
          Dst:             scconf_get_last_item
        - Src:             'parse.c:214,2'
          Dst:             scconf_block_add_internal
    - functionName:    scconf_get_last_item
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 41
      functionLinenumberEnd: 51
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          48
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    scconf_item_add
      functionSourceFile: '/src/opensc/src/scconf/parse.c'
      linkageType:     InternalLinkage
      functionLinenumber: 127
      functionLinenumberEnd: 170
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          207
      EdgeCount:       41
      CyclomaticComplexity: 10
      functionsReached:
        - scconf_block_copy
        - scconf_get_last_item
        - scconf_item_add_internal
        - scconf_list_copy
        - scconf_list_destroy
        - strdup
      functionUses:    1
      BranchProfiles:
        - Branch String:   'parse.c:149,3'
          Branch Sides:    []
      Callsites:
        - Src:             'parse.c:138,21'
          Dst:             strdup
        - Src:             'parse.c:141,21'
          Dst:             scconf_get_last_item
        - Src:             'parse.c:145,3'
          Dst:             scconf_block_copy
        - Src:             'parse.c:146,3'
          Dst:             scconf_list_copy
        - Src:             'parse.c:148,6'
          Dst:             scconf_item_add_internal
        - Src:             'parse.c:151,42'
          Dst:             strdup
        - Src:             'parse.c:158,5'
          Dst:             scconf_list_destroy
        - Src:             'parse.c:161,5'
          Dst:             scconf_list_copy
    - functionName:    scconf_list_strdup
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 410
      functionLinenumberEnd: 437
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          144
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - calloc
        - scconf_list_array_length
        - scconf_list_strings_length
        - strlcat
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:417,8'
          Dst:             scconf_list_strings_length
        - Src:             'scconf.c:419,10'
          Dst:             scconf_list_array_length
        - Src:             'scconf.c:419,44'
          Dst:             strlen
        - Src:             'scconf.c:423,8'
          Dst:             calloc
        - Src:             'scconf.c:428,3'
          Dst:             strlcat
        - Src:             'scconf.c:430,4'
          Dst:             strlcat
        - Src:             'scconf.c:435,7'
          Dst:             strlen
        - Src:             'scconf.c:435,21'
          Dst:             strlen
    - functionName:    scconf_list_strings_length
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 375
      functionLinenumberEnd: 382
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          55
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:379,10'
          Dst:             strlen
    - functionName:    scconf_list_array_length
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 364
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          27
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    scconf_list_toarray
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 386
      functionLinenumberEnd: 407
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          88
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    scconf_list_copy
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 338
      functionLinenumberEnd: 346
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          40
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - scconf_list_add
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:343,3'
          Dst:             scconf_list_add
    - functionName:    scconf_list_add
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 335
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          83
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - strdup
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:322,8'
          Dst:             calloc
        - Src:             'scconf.c:326,22'
          Dst:             strdup
    - functionName:    scconf_block_copy
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 288
      functionLinenumberEnd: 307
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          83
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - scconf_item_copy
        - scconf_list_copy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:292,10'
          Dst:             calloc
        - Src:             'scconf.c:298,4'
          Dst:             scconf_list_copy
        - Src:             'scconf.c:301,4'
          Dst:             scconf_item_copy
    - functionName:    scconf_item_copy
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 217
      functionLinenumberEnd: 254
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          163
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - calloc
        - scconf_block_copy
        - scconf_item_destroy
        - scconf_list_copy
        - strdup
      functionUses:    1
      BranchProfiles:
        - Branch String:   'scconf.c:236,3'
          Branch Sides:    []
      Callsites:
        - Src:             'scconf.c:220,9'
          Dst:             calloc
        - Src:             'scconf.c:228,11'
          Dst:             calloc
        - Src:             'scconf.c:230,5'
          Dst:             scconf_item_destroy
        - Src:             'scconf.c:238,47'
          Dst:             strdup
        - Src:             'scconf.c:241,4'
          Dst:             scconf_block_copy
        - Src:             'scconf.c:244,4'
          Dst:             scconf_list_copy
        - Src:             'scconf.c:247,26'
          Dst:             strdup
    - functionName:    scconf_item_destroy
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 257
      functionLinenumberEnd: 285
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         17
      ICount:          97
      EdgeCount:       19
      CyclomaticComplexity: 4
      functionsReached:
        - scconf_block_destroy
        - scconf_list_destroy
      functionUses:    2
      BranchProfiles:
        - Branch String:   'scconf.c:263,3'
          Branch Sides:    []
      Callsites:
        - Src:             'scconf.c:271,4'
          Dst:             scconf_block_destroy
        - Src:             'scconf.c:274,4'
          Dst:             scconf_list_destroy
    - functionName:    scconf_block_destroy
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 310
      functionLinenumberEnd: 316
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - scconf_item_destroy
        - scconf_list_destroy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:312,3'
          Dst:             scconf_list_destroy
        - Src:             'scconf.c:313,3'
          Dst:             scconf_item_destroy
    - functionName:    scconf_list_destroy
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 350
      functionLinenumberEnd: 361
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          47
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    scconf_put_bool
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 211
      functionLinenumberEnd: 213
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - scconf_put_str
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:212,2'
          Dst:             scconf_put_str
    - functionName:    scconf_put_str
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 187
      functionLinenumberEnd: 193
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - scconf_item_add
        - scconf_list_add
        - scconf_list_destroy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:190,2'
          Dst:             scconf_list_add
        - Src:             'scconf.c:191,2'
          Dst:             scconf_item_add
        - Src:             'scconf.c:192,2'
          Dst:             scconf_list_destroy
    - functionName:    scconf_put_int
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 197
      functionLinenumberEnd: 208
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - scconf_put_str
        - snprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:204,2'
          Dst:             snprintf
        - Src:             'scconf.c:205,2'
          Dst:             scconf_put_str
    - functionName:    scconf_get_bool
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 184
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          62
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - scconf_find_list
        - toupper
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:179,9'
          Dst:             scconf_find_list
        - Src:             'scconf.c:183,9'
          Dst:             toupper
        - Src:             'scconf.c:183,46'
          Dst:             toupper
    - functionName:    scconf_find_list
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 132
      functionLinenumberEnd: 142
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          78
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - strcasecmp
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:139,47'
          Dst:             strcasecmp
    - functionName:    scconf_get_int
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 160
      functionLinenumberEnd: 173
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          56
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - scconf_find_list
        - strtol
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:164,9'
          Dst:             scconf_find_list
        - Src:             'scconf.c:168,8'
          Dst:             strtol
    - functionName:    scconf_get_str
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          74
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - scconf_find_list
        - strlen
      functionUses:    31
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:148,9'
          Dst:             scconf_find_list
        - Src:             'scconf.c:153,43'
          Dst:             strlen
    - functionName:    scconf_find_blocks
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 129
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          199
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - realloc
        - strcasecmp
      functionUses:    23
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:100,26'
          Dst:             realloc
        - Src:             'scconf.c:109,7'
          Dst:             strcasecmp
        - Src:             'scconf.c:112,15'
          Dst:             strcasecmp
        - Src:             'scconf.c:117,29'
          Dst:             realloc
    - functionName:    scconf_find_block
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 68
      functionLinenumberEnd: 84
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          95
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - strcasecmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:79,7'
          Dst:             strcasecmp
    - functionName:    scconf_free
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 57
      functionLinenumberEnd: 65
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          44
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - scconf_block_destroy
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:59,3'
          Dst:             scconf_block_destroy
    - functionName:    scconf_new
      functionSourceFile: '/src/opensc/src/scconf/scconf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 37
      functionLinenumberEnd: 54
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          79
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - calloc
        - strdup
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'scconf.c:40,11'
          Dst:             calloc
        - Src:             'scconf.c:44,32'
          Dst:             strdup
        - Src:             'scconf.c:45,17'
          Dst:             calloc
    - functionName:    buf_finished
      functionSourceFile: '/src/opensc/src/scconf/sclex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 98
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    buf_addch
      functionSourceFile: '/src/opensc/src/scconf/sclex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 58
      functionLinenumberEnd: 70
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          91
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'sclex.c:60,22'
          Dst:             realloc
    - functionName:    buf_zero
      functionSourceFile: '/src/opensc/src/scconf/sclex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 123
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    buf_eat_till
      functionSourceFile: '/src/opensc/src/scconf/sclex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 101
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          66
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - buf_addch
        - buf_nextch
        - strchr
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sclex.c:105,3'
          Dst:             buf_addch
        - Src:             'sclex.c:108,7'
          Dst:             buf_nextch
        - Src:             'sclex.c:111,7'
          Dst:             strchr
        - Src:             'sclex.c:115,3'
          Dst:             buf_addch
    - functionName:    buf_nextch
      functionSourceFile: '/src/opensc/src/scconf/sclex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          78
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - fgetc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sclex.c:87,11'
          Dst:             fgetc
    - functionName:    fgetc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    scconf_lex_parse_string
      functionSourceFile: '/src/opensc/src/scconf/sclex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 200
      functionLinenumberEnd: 206
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - buf_init
        - scconf_lex_engine
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sclex.c:204,2'
          Dst:             buf_init
        - Src:             'sclex.c:205,8'
          Dst:             scconf_lex_engine
    - functionName:    buf_init
      functionSourceFile: '/src/opensc/src/scconf/sclex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          59
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    scconf_lex_engine
      functionSourceFile: '/src/opensc/src/scconf/sclex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 126
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          144
      EdgeCount:       24
      CyclomaticComplexity: 2
      functionsReached:
        - buf_addch
        - buf_eat_till
        - buf_finished
        - buf_nextch
        - buf_zero
        - scconf_parse_token
        - scconf_skip_block
      functionUses:    2
      BranchProfiles:
        - Branch String:   'sclex.c:130,3'
          Branch Sides:    []
      Callsites:
        - Src:             'sclex.c:130,23'
          Dst:             buf_nextch
        - Src:             'sclex.c:133,4'
          Dst:             buf_eat_till
        - Src:             'sclex.c:134,4'
          Dst:             scconf_parse_token
        - Src:             'sclex.c:135,4'
          Dst:             buf_zero
        - Src:             'sclex.c:138,4'
          Dst:             scconf_parse_token
        - Src:             'sclex.c:149,5'
          Dst:             scconf_skip_block
        - Src:             'sclex.c:156,4'
          Dst:             buf_addch
        - Src:             'sclex.c:157,4'
          Dst:             scconf_parse_token
        - Src:             'sclex.c:158,4'
          Dst:             buf_zero
        - Src:             'sclex.c:161,4'
          Dst:             buf_eat_till
        - Src:             'sclex.c:162,25'
          Dst:             buf_nextch
        - Src:             'sclex.c:162,4'
          Dst:             buf_addch
        - Src:             'sclex.c:163,4'
          Dst:             scconf_parse_token
        - Src:             'sclex.c:164,4'
          Dst:             buf_zero
        - Src:             'sclex.c:169,4'
          Dst:             buf_eat_till
        - Src:             'sclex.c:170,4'
          Dst:             scconf_parse_token
        - Src:             'sclex.c:171,4'
          Dst:             buf_zero
        - Src:             'sclex.c:176,2'
          Dst:             buf_finished
    - functionName:    scconf_lex_parse
      functionSourceFile: '/src/opensc/src/scconf/sclex.c'
      linkageType:     InternalLinkage
      functionLinenumber: 181
      functionLinenumberEnd: 197
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          55
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - buf_init
        - fclose
        - fopen
        - scconf_lex_engine
        - snprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sclex.c:186,7'
          Dst:             fopen
        - Src:             'sclex.c:189,3'
          Dst:             snprintf
        - Src:             'sclex.c:193,2'
          Dst:             buf_init
        - Src:             'sclex.c:194,8'
          Dst:             scconf_lex_engine
        - Src:             'sclex.c:195,2'
          Dst:             fclose
    - functionName:    get_random
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 227
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      size_t
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_sort_selectionsort
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 822
      functionLinenumberEnd: 839
      functionDepth:   0
      returnType:      void
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          133
      EdgeCount:       25
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    seed_random
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 217
      functionLinenumberEnd: 225
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          28
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - getpid
        - time
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:220,33'
          Dst:             getpid
        - Src:             'simclist.c:220,54'
          Dst:             time
    - functionName:    list_hashcomputer_string
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1512
      functionLinenumberEnd: 1524
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          80
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_double
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1510
      functionLinenumberEnd: 1510
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_float
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1509
      functionLinenumberEnd: 1509
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_uint64_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1507
      functionLinenumberEnd: 1507
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_uint32_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1506
      functionLinenumberEnd: 1506
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_uint16_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1505
      functionLinenumberEnd: 1505
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_uint8_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1504
      functionLinenumberEnd: 1504
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_int64_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1502
      functionLinenumberEnd: 1502
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_int32_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1501
      functionLinenumberEnd: 1501
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_int16_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1500
      functionLinenumberEnd: 1500
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hashcomputer_int8_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1499
      functionLinenumberEnd: 1499
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_string
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1494
      functionLinenumberEnd: 1494
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - strlen
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:1494,51'
          Dst:             strlen
    - functionName:    list_meter_double
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1492
      functionLinenumberEnd: 1492
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_float
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1491
      functionLinenumberEnd: 1491
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_uint64_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1489
      functionLinenumberEnd: 1489
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_uint32_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1488
      functionLinenumberEnd: 1488
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_uint16_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1487
      functionLinenumberEnd: 1487
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_uint8_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1486
      functionLinenumberEnd: 1486
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_int64_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1484
      functionLinenumberEnd: 1484
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_int32_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1483
      functionLinenumberEnd: 1483
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_int16_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1482
      functionLinenumberEnd: 1482
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_meter_int8_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1481
      functionLinenumberEnd: 1481
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          17
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_string
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1476
      functionLinenumberEnd: 1476
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - strcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:1476,67'
          Dst:             strcmp
    - functionName:    list_comparator_double
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1474
      functionLinenumberEnd: 1474
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          21
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_float
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1473
      functionLinenumberEnd: 1473
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          21
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_uint64_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1471
      functionLinenumberEnd: 1471
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          23
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_uint32_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1470
      functionLinenumberEnd: 1470
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          23
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_uint16_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1469
      functionLinenumberEnd: 1469
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          27
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_uint8_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1468
      functionLinenumberEnd: 1468
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          27
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_int64_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1466
      functionLinenumberEnd: 1466
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          23
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_int32_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1465
      functionLinenumberEnd: 1465
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          23
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_int16_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1464
      functionLinenumberEnd: 1464
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          27
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_comparator_int8_t
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1463
      functionLinenumberEnd: 1463
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          27
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_hash
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1000
      functionLinenumberEnd: 1034
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          91
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_iterator_stop
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 993
      functionLinenumberEnd: 998
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          30
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_iterator_hasnext
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 988
      functionLinenumberEnd: 991
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          33
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_iterator_next
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 976
      functionLinenumberEnd: 986
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          45
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_iterator_start
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 967
      functionLinenumberEnd: 974
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_sort_quicksort
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 843
      functionLinenumberEnd: 965
      functionDepth:   0
      returnType:      void
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         72
      ICount:          502
      EdgeCount:       95
      CyclomaticComplexity: 25
      functionsReached:
        - get_random
        - list_sort_quicksort
        - list_sort_selectionsort
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:859,9'
          Dst:             list_sort_selectionsort
        - Src:             'simclist.c:866,30'
          Dst:             get_random
        - Src:             'simclist.c:962,22'
          Dst:             list_sort_quicksort
        - Src:             'simclist.c:963,33'
          Dst:             list_sort_quicksort
    - functionName:    list_sort
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 789
      functionLinenumberEnd: 801
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          92
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - list_sort_quicksort
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:798,5'
          Dst:             list_sort_quicksort
    - functionName:    list_concat
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 726
      functionLinenumberEnd: 787
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          369
      EdgeCount:       79
      CyclomaticComplexity: 23
      functionsReached:
        - list_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:737,14'
          Dst:             list_init
    - functionName:    list_init
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 286
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          137
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - list_attributes_setdefaults
        - seed_random
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:247,5'
          Dst:             seed_random
        - Src:             'simclist.c:278,14'
          Dst:             list_attributes_setdefaults
    - functionName:    list_attributes_setdefaults
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 300
      functionLinenumberEnd: 316
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          34
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_contains
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 722
      functionLinenumberEnd: 723
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_locate
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:723,13'
          Dst:             list_locate
    - functionName:    list_locate
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 686
      functionLinenumberEnd: 706
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          151
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_seek
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 708
      functionLinenumberEnd: 720
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          98
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_empty
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 682
      functionLinenumberEnd: 683
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_size
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 678
      functionLinenumberEnd: 679
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_delete_range
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 569
      functionLinenumberEnd: 632
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          324
      EdgeCount:       61
      CyclomaticComplexity: 16
      functionsReached:
        - list_findpos
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:577,11'
          Dst:             list_findpos
    - functionName:    list_findpos
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 421
      functionLinenumberEnd: 447
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         40
      ICount:          216
      EdgeCount:       51
      CyclomaticComplexity: 13
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_delete_at
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 551
      functionLinenumberEnd: 567
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          59
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - list_drop_elem
        - list_findpos
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:557,15'
          Dst:             list_findpos
        - Src:             'simclist.c:559,5'
          Dst:             list_drop_elem
    - functionName:    list_drop_elem
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1432
      functionLinenumberEnd: 1458
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          182
      EdgeCount:       38
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_delete
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 535
      functionLinenumberEnd: 549
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          50
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - list_delete_at
        - list_locate
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:538,8'
          Dst:             list_locate
        - Src:             'simclist.c:542,6'
          Dst:             list_delete_at
    - functionName:    list_get_min
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 398
      functionLinenumberEnd: 399
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_get_minmax
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:399,12'
          Dst:             list_get_minmax
    - functionName:    list_get_minmax
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 404
      functionLinenumberEnd: 418
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          107
      EdgeCount:       20
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_get_max
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 394
      functionLinenumberEnd: 395
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_get_minmax
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:395,12'
          Dst:             list_get_minmax
    - functionName:    list_get_at
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 386
      functionLinenumberEnd: 391
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_findpos
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:389,11'
          Dst:             list_findpos
    - functionName:    list_extract_at
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 449
      functionLinenumberEnd: 468
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          76
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - list_drop_elem
        - list_findpos
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:455,11'
          Dst:             list_findpos
        - Src:             'simclist.c:462,5'
          Dst:             list_drop_elem
    - functionName:    list_fetch
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 382
      functionLinenumberEnd: 383
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_extract_at
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:383,12'
          Dst:             list_extract_at
    - functionName:    list_prepend
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 378
      functionLinenumberEnd: 379
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_insert_at
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:379,12'
          Dst:             list_insert_at
    - functionName:    list_insert_at
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 470
      functionLinenumberEnd: 533
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          294
      EdgeCount:       56
      CyclomaticComplexity: 16
      functionsReached:
        - list_findpos
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:502,12'
          Dst:             list_findpos
    - functionName:    list_append
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 374
      functionLinenumberEnd: 375
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_insert_at
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:375,12'
          Dst:             list_insert_at
    - functionName:    list_attributes_unserializer
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 366
      functionLinenumberEnd: 372
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_attributes_serializer
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 358
      functionLinenumberEnd: 364
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_attributes_hash_computer
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 350
      functionLinenumberEnd: 356
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_attributes_copy
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 339
      functionLinenumberEnd: 348
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          52
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_attributes_seeker
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 330
      functionLinenumberEnd: 337
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_attributes_comparator
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 320
      functionLinenumberEnd: 328
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          28
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_clear
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 634
      functionLinenumberEnd: 676
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         40
      ICount:          268
      EdgeCount:       52
      CyclomaticComplexity: 14
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    list_destroy
      functionSourceFile: '/src/opensc/src/common/simclist.c'
      linkageType:     InternalLinkage
      functionLinenumber: 288
      functionLinenumberEnd: 298
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          56
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - list_clear
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'simclist.c:291,5'
          Dst:             list_clear
    - functionName:    sc_dlclose
      functionSourceFile: '/src/opensc/src/common/libscdl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 100
      functionLinenumberEnd: 101
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - dlclose
      functionUses:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'libscdl.c:101,9'
          Dst:             dlclose
    - functionName:    dlclose
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_dlerror
      functionSourceFile: '/src/opensc/src/common/libscdl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 95
      functionLinenumberEnd: 96
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - dlerror
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'libscdl.c:96,9'
          Dst:             dlerror
    - functionName:    dlerror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_dlsym
      functionSourceFile: '/src/opensc/src/common/libscdl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 90
      functionLinenumberEnd: 91
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - dlsym
      functionUses:    16
      BranchProfiles:  []
      Callsites:
        - Src:             'libscdl.c:91,9'
          Dst:             dlsym
    - functionName:    dlsym
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_dlopen
      functionSourceFile: '/src/opensc/src/common/libscdl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 86
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          46
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - dlopen
        - getenv
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'libscdl.c:81,15'
          Dst:             getenv
        - Src:             'libscdl.c:86,9'
          Dst:             dlopen
    - functionName:    dlopen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_notify_id
      functionSourceFile: '/src/opensc/src/ui/notify.c'
      linkageType:     InternalLinkage
      functionLinenumber: 528
      functionLinenumberEnd: 528
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_notify
      functionSourceFile: '/src/opensc/src/ui/notify.c'
      linkageType:     InternalLinkage
      functionLinenumber: 526
      functionLinenumberEnd: 526
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_notify_close
      functionSourceFile: '/src/opensc/src/ui/notify.c'
      linkageType:     InternalLinkage
      functionLinenumber: 525
      functionLinenumberEnd: 525
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_notify_init
      functionSourceFile: '/src/opensc/src/ui/notify.c'
      linkageType:     InternalLinkage
      functionLinenumber: 524
      functionLinenumberEnd: 524
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    decode_gen_auth_ca_rdata
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1296
      functionLinenumberEnd: 1315
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          48
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_asn1_decode
        - sc_format_asn1_entry
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1310,5'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:1312,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:1313,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:1315,9'
          Dst:             sc_asn1_decode
    - functionName:    increment_ssc
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1518
      functionLinenumberEnd: 1526
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          40
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - EAC_increment_ssc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1522,7'
          Dst:             EAC_increment_ssc
    - functionName:    eac_sm_clear_free
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1764
      functionLinenumberEnd: 1778
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          91
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - BUF_MEM_free
        - EAC_CTX_clear_free
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1768,4'
          Dst:             EAC_CTX_clear_free
        - Src:             'sm-eac.c:1770,5'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1772,5'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1774,5'
          Dst:             BUF_MEM_free
    - functionName:    eac_sm_finish
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1752
      functionLinenumberEnd: 1760
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          125
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1756,3'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:1756,3'
          Dst:             sc_do_log_color
        - Src:             'sm-eac.c:1756,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1759,2'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:1759,2'
          Dst:             sc_do_log_color
        - Src:             'sm-eac.c:1759,2'
          Dst:             sc_do_log
    - functionName:    eac_sm_post_transmit
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1744
      functionLinenumberEnd: 1745
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          58
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached:
        - increment_ssc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1745,2'
          Dst:             increment_ssc
        - Src:             'sm-eac.c:1745,2'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:1745,2'
          Dst:             sc_do_log_color
        - Src:             'sm-eac.c:1745,2'
          Dst:             sc_do_log
    - functionName:    eac_sm_pre_transmit
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1712
      functionLinenumberEnd: 1739
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          158
      EdgeCount:       39
      CyclomaticComplexity: 11
      functionsReached:
        - BUF_MEM_free
        - CRYPTO_free
        - CVC_CERT_free
        - increment_ssc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1726,6'
          Dst:             increment_ssc
        - Src:             'sm-eac.c:1730,3'
          Dst:             CVC_CERT_free
        - Src:             'sm-eac.c:1732,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1734,3'
          Dst:             CRYPTO_free
        - Src:             'sm-eac.c:1736,3'
          Dst:             CRYPTO_free
        - Src:             'sm-eac.c:1738,2'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:1738,2'
          Dst:             sc_do_log_color
        - Src:             'sm-eac.c:1738,2'
          Dst:             sc_do_log
    - functionName:    eac_sm_verify_authentication
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1662
      functionLinenumberEnd: 1706
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          158
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - BUF_MEM_create_init
        - BUF_MEM_free
        - EAC_authenticate
        - memcmp
        - sc_do_log
        - sc_do_log_openssl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1673,10'
          Dst:             BUF_MEM_create_init
        - Src:             'sm-eac.c:1679,11'
          Dst:             EAC_authenticate
        - Src:             'sm-eac.c:1681,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1682,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1689,4'
          Dst:             memcmp
        - Src:             'sm-eac.c:1691,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1696,2'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1702,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1704,3'
          Dst:             BUF_MEM_free
    - functionName:    eac_sm_decrypt
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1572
      functionLinenumberEnd: 1607
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          168
      EdgeCount:       37
      CyclomaticComplexity: 12
      functionsReached:
        - BUF_MEM_clear_free
        - BUF_MEM_create_init
        - BUF_MEM_free
        - EAC_decrypt
        - realloc
        - sc_do_log
        - sc_do_log_openssl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1584,11'
          Dst:             BUF_MEM_create_init
        - Src:             'sm-eac.c:1585,12'
          Dst:             EAC_decrypt
        - Src:             'sm-eac.c:1587,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1588,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1593,6'
          Dst:             realloc
        - Src:             'sm-eac.c:1603,2'
          Dst:             BUF_MEM_clear_free
        - Src:             'sm-eac.c:1605,3'
          Dst:             BUF_MEM_free
    - functionName:    eac_sm_encrypt
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1531
      functionLinenumberEnd: 1566
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          161
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - BUF_MEM_clear_free
        - BUF_MEM_create_init
        - BUF_MEM_free
        - EAC_encrypt
        - realloc
        - sc_do_log
        - sc_do_log_openssl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1543,12'
          Dst:             BUF_MEM_create_init
        - Src:             'sm-eac.c:1544,11'
          Dst:             EAC_encrypt
        - Src:             'sm-eac.c:1546,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1547,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1552,6'
          Dst:             realloc
        - Src:             'sm-eac.c:1562,2'
          Dst:             BUF_MEM_clear_free
        - Src:             'sm-eac.c:1564,3'
          Dst:             BUF_MEM_free
    - functionName:    eac_sm_authenticate
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1613
      functionLinenumberEnd: 1655
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          173
      EdgeCount:       38
      CyclomaticComplexity: 12
      functionsReached:
        - BUF_MEM_create_init
        - BUF_MEM_free
        - EAC_authenticate
        - realloc
        - sc_do_log
        - sc_do_log_openssl
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1625,10'
          Dst:             BUF_MEM_create_init
        - Src:             'sm-eac.c:1631,11'
          Dst:             EAC_authenticate
        - Src:             'sm-eac.c:1633,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1634,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1640,6'
          Dst:             realloc
        - Src:             'sm-eac.c:1651,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1653,3'
          Dst:             BUF_MEM_free
    - functionName:    decode_gen_auth_rdata
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 421
      functionLinenumberEnd: 452
      functionDepth:   0
      returnType:      int
      argCount:        15
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          84
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - sc_asn1_decode
        - sc_format_asn1_entry
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:443,5'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:445,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:446,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:447,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:448,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:449,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:450,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:452,9'
          Dst:             sc_asn1_decode
    - functionName:    encode_gen_auth_cdata
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 373
      functionLinenumberEnd: 411
      functionDepth:   0
      returnType:      int
      argCount:        10
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          161
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - sc_asn1_encode
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:399,5'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:401,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:402,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:403,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:404,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:406,6'
          Dst:             sc_asn1_encode
        - Src:             'sm-eac.c:407,2'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:407,2'
          Dst:             sc_do_log_color
    - functionName:    encode_mse_cdata
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 185
      functionLinenumberEnd: 262
      functionDepth:   0
      returnType:      int
      argCount:        12
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          290
      EdgeCount:       49
      CyclomaticComplexity: 14
      functionsReached:
        - CRYPTO_free
        - EAC_OBJ_nid2obj
        - OBJ_get0_data
        - OBJ_length
        - _sc_debug_hex
        - i2d_CVC_CHAT
        - realloc
        - sc_asn1_encode
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:215,12'
          Dst:             EAC_OBJ_nid2obj
        - Src:             'sm-eac.c:218,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:222,13'
          Dst:             OBJ_length
        - Src:             'sm-eac.c:223,15'
          Dst:             OBJ_get0_data
        - Src:             'sm-eac.c:226,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:227,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:228,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:229,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:230,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-eac.c:232,6'
          Dst:             sc_asn1_encode
        - Src:             'sm-eac.c:233,2'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:233,2'
          Dst:             sc_do_log_color
        - Src:             'sm-eac.c:236,22'
          Dst:             i2d_CVC_CHAT
        - Src:             'sm-eac.c:238,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:245,6'
          Dst:             realloc
        - Src:             'sm-eac.c:255,2'
          Dst:             _sc_debug_hex
        - Src:             'sm-eac.c:260,3'
          Dst:             CRYPTO_free
    - functionName:    OBJ_length
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    OBJ_get0_data
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    eac_mse
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 272
      functionLinenumberEnd: 310
      functionDepth:   0
      returnType:      int
      argCount:        15
      argTypes:
        - 'N/A'
        - char
        - char
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          145
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - encode_mse_cdata
        - sc_do_log
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:282,6'
          Dst:             encode_mse_cdata
        - Src:             'sm-eac.c:288,2'
          Dst:             sc_format_apdu_ex
        - Src:             'sm-eac.c:291,6'
          Dst:             sc_transmit_apdu
        - Src:             'sm-eac.c:296,3'
          Dst:             sc_do_log
    - functionName:    eac_mse_set_at
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 319
      functionLinenumberEnd: 323
      functionDepth:   0
      returnType:      int
      argCount:        14
      argTypes:
        - 'N/A'
        - char
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          54
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - eac_mse
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:320,9'
          Dst:             eac_mse
    - functionName:    eac_pace_get_tries_left
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1847
      functionLinenumberEnd: 1871
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          73
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - eac_mse_set_at_pace
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1853,7'
          Dst:             eac_mse_set_at_pace
    - functionName:    eac_mse_set_at_pace
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 328
      functionLinenumberEnd: 360
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          146
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - eac_mse_set_at
        - eac_secret_name
        - sc_check_sw
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:332,6'
          Dst:             eac_mse_set_at
        - Src:             'sm-eac.c:342,5'
          Dst:             eac_secret_name
        - Src:             'sm-eac.c:342,5'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:348,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:353,5'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:356,7'
          Dst:             sc_check_sw
    - functionName:    eac_secret_name
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1830
      functionLinenumberEnd: 1843
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          42
      EdgeCount:       12
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    9
      BranchProfiles:
        - Branch String:   'sm-eac.c:1831,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    eac_gen_auth_ca
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1319
      functionLinenumberEnd: 1375
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          191
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - BUF_MEM_free
        - BUF_MEM_new
        - decode_gen_auth_ca_rdata
        - encode_gen_auth_cdata
        - sc_check_sw
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1331,6'
          Dst:             encode_gen_auth_cdata
        - Src:             'sm-eac.c:1334,2'
          Dst:             sc_format_apdu_ex
        - Src:             'sm-eac.c:1336,6'
          Dst:             sc_transmit_apdu
        - Src:             'sm-eac.c:1340,6'
          Dst:             sc_check_sw
        - Src:             'sm-eac.c:1344,14'
          Dst:             BUF_MEM_new
        - Src:             'sm-eac.c:1345,14'
          Dst:             BUF_MEM_new
        - Src:             'sm-eac.c:1353,6'
          Dst:             decode_gen_auth_ca_rdata
        - Src:             'sm-eac.c:1362,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1364,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1371,2'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1372,2'
          Dst:             BUF_MEM_free
    - functionName:    BUF_MEM_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    eac_mse_set_at_ca
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1287
      functionLinenumberEnd: 1288
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - eac_mse_set_at
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1288,9'
          Dst:             eac_mse_set_at
    - functionName:    perform_chip_authentication_ex
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1433
      functionLinenumberEnd: 1514
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          258
      EdgeCount:       46
      CyclomaticComplexity: 14
      functionsReached:
        - BUF_MEM_clear_free
        - BUF_MEM_create_init
        - CA_STEP2_get_eph_pubkey
        - CA_STEP4_compute_shared_secret
        - CA_STEP6_derive_keys
        - EAC_CTX_set_encryption_ctx
        - eac_gen_auth_ca
        - eac_mse_set_at_ca
        - eac_sm_start
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1445,20'
          Dst:             BUF_MEM_create_init
        - Src:             'sm-eac.c:1447,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1448,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1454,6'
          Dst:             eac_mse_set_at_ca
        - Src:             'sm-eac.c:1456,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1462,16'
          Dst:             CA_STEP2_get_eph_pubkey
        - Src:             'sm-eac.c:1464,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1465,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1469,6'
          Dst:             eac_gen_auth_ca
        - Src:             'sm-eac.c:1471,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1476,7'
          Dst:             CA_STEP4_compute_shared_secret
        - Src:             'sm-eac.c:1477,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1478,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1484,7'
          Dst:             CA_STEP6_derive_keys
        - Src:             'sm-eac.c:1485,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1486,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1493,7'
          Dst:             EAC_CTX_set_encryption_ctx
        - Src:             'sm-eac.c:1494,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1495,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1501,7'
          Dst:             eac_sm_start
        - Src:             'sm-eac.c:1505,2'
          Dst:             BUF_MEM_clear_free
        - Src:             'sm-eac.c:1506,2'
          Dst:             BUF_MEM_clear_free
        - Src:             'sm-eac.c:1507,2'
          Dst:             BUF_MEM_clear_free
        - Src:             'sm-eac.c:1508,2'
          Dst:             BUF_MEM_clear_free
        - Src:             'sm-eac.c:1511,3'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:1511,3'
          Dst:             sc_do_log_color
        - Src:             'sm-eac.c:1511,3'
          Dst:             sc_do_log
    - functionName:    eac_sm_start
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 128
      functionLinenumberEnd: 167
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          127
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - EVP_CIPHER_block_size
        - eac_sm_ctx_create
        - iso_sm_ctx_clear_free
        - iso_sm_ctx_create
        - iso_sm_start
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:137,9'
          Dst:             iso_sm_ctx_create
        - Src:             'sm-eac.c:143,20'
          Dst:             eac_sm_ctx_create
        - Src:             'sm-eac.c:159,23'
          Dst:             EVP_CIPHER_block_size
        - Src:             'sm-eac.c:161,6'
          Dst:             iso_sm_start
        - Src:             'sm-eac.c:165,3'
          Dst:             iso_sm_ctx_clear_free
    - functionName:    eac_sm_ctx_create
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 95
      functionLinenumberEnd: 123
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          128
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - BUF_MEM_create_init
        - CA_disable_passive_authentication
        - TA_disable_checks
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:103,17'
          Dst:             BUF_MEM_create_init
        - Src:             'sm-eac.c:114,3'
          Dst:             TA_disable_checks
        - Src:             'sm-eac.c:116,3'
          Dst:             CA_disable_passive_authentication
    - functionName:    EVP_CIPHER_block_size
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    get_ef_card_security
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1380
      functionLinenumberEnd: 1381
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - iso7816_read_binary_sfid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1381,9'
          Dst:             iso7816_read_binary_sfid
    - functionName:    perform_chip_authentication
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1386
      functionLinenumberEnd: 1429
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          212
      EdgeCount:       47
      CyclomaticComplexity: 14
      functionsReached:
        - BUF_MEM_clear_free
        - CA_get_pubkey
        - get_ef_card_security
        - perform_chip_authentication_ex
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1405,7'
          Dst:             get_ef_card_security
        - Src:             'sm-eac.c:1407,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1411,16'
          Dst:             CA_get_pubkey
        - Src:             'sm-eac.c:1413,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1414,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1419,6'
          Dst:             perform_chip_authentication_ex
        - Src:             'sm-eac.c:1423,2'
          Dst:             BUF_MEM_clear_free
        - Src:             'sm-eac.c:1426,3'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:1426,3'
          Dst:             sc_do_log_color
        - Src:             'sm-eac.c:1426,3'
          Dst:             sc_do_log
    - functionName:    eac_external_authenticate
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1077
      functionLinenumberEnd: 1096
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          54
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1087,2'
          Dst:             sc_format_apdu_ex
        - Src:             'sm-eac.c:1089,6'
          Dst:             sc_transmit_apdu
        - Src:             'sm-eac.c:1093,6'
          Dst:             sc_check_sw
    - functionName:    eac_get_challenge
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1021
      functionLinenumberEnd: 1039
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          53
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - sc_check_sw
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1030,2'
          Dst:             sc_format_apdu_ex
        - Src:             'sm-eac.c:1032,6'
          Dst:             sc_transmit_apdu
        - Src:             'sm-eac.c:1036,6'
          Dst:             sc_check_sw
    - functionName:    eac_mse_set_at_ta
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1008
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          36
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - eac_mse_set_at
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1007,9'
          Dst:             eac_mse_set_at
    - functionName:    eac_verify
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1044
      functionLinenumberEnd: 1072
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          76
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - ASN1_get_object
        - sc_check_sw
        - sc_do_log
        - sc_do_log_openssl
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1056,13'
          Dst:             ASN1_get_object
        - Src:             'sm-eac.c:1057,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1058,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1063,2'
          Dst:             sc_format_apdu_ex
        - Src:             'sm-eac.c:1065,6'
          Dst:             sc_transmit_apdu
        - Src:             'sm-eac.c:1069,6'
          Dst:             sc_check_sw
    - functionName:    ASN1_get_object
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    eac_mse_set_dst
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1014
      functionLinenumberEnd: 1015
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - eac_mse
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1015,9'
          Dst:             eac_mse
    - functionName:    eac_sm_clear_free_without_ctx
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1100
      functionLinenumberEnd: 1107
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          42
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - eac_sm_clear_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1105,3'
          Dst:             eac_sm_clear_free
    - functionName:    perform_terminal_authentication
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1114
      functionLinenumberEnd: 1284
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         83
      ICount:          663
      EdgeCount:       115
      CyclomaticComplexity: 34
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BUF_MEM_clear_free
        - BUF_MEM_create
        - BUF_MEM_create_init
        - BUF_MEM_free
        - BUF_MEM_new
        - CVC_CERT_free
        - CVC_d2i_CVC_CERT
        - EAC_CTX_clear_free
        - EAC_CTX_init_ef_cardaccess
        - EAC_CTX_init_ta
        - EAC_CTX_new
        - EAC_init
        - TA_STEP3_generate_ephemeral_key
        - TA_STEP4_set_nonce
        - TA_STEP5_sign
        - _sc_debug_hex
        - eac_external_authenticate
        - eac_get_challenge
        - eac_mse_set_at_ta
        - eac_mse_set_dst
        - eac_sm_ctx_create
        - eac_verify
        - get_ef_card_access
        - iso_sm_ctx_create
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:1132,32'
          Dst:             iso_sm_ctx_create
        - Src:             'sm-eac.c:1142,7'
          Dst:             get_ef_card_access
        - Src:             'sm-eac.c:1144,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1148,3'
          Dst:             _sc_debug_hex
        - Src:             'sm-eac.c:1151,3'
          Dst:             EAC_init
        - Src:             'sm-eac.c:1152,13'
          Dst:             EAC_CTX_new
        - Src:             'sm-eac.c:1154,9'
          Dst:             EAC_CTX_init_ef_cardaccess
        - Src:             'sm-eac.c:1156,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1157,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1162,25'
          Dst:             eac_sm_ctx_create
        - Src:             'sm-eac.c:1179,8'
          Dst:             CVC_d2i_CVC_CERT
        - Src:             'sm-eac.c:1182,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1189,5'
          Dst:             ASN1_STRING_get0_data
        - Src:             'sm-eac.c:1190,5'
          Dst:             ASN1_STRING_length
        - Src:             'sm-eac.c:1188,7'
          Dst:             eac_mse_set_dst
        - Src:             'sm-eac.c:1192,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1197,7'
          Dst:             eac_verify
        - Src:             'sm-eac.c:1201,9'
          Dst:             ASN1_STRING_get0_data
        - Src:             'sm-eac.c:1202,13'
          Dst:             ASN1_STRING_length
        - Src:             'sm-eac.c:1209,7'
          Dst:             EAC_CTX_init_ta
        - Src:             'sm-eac.c:1210,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1211,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1218,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1219,26'
          Dst:             TA_STEP3_generate_ephemeral_key
        - Src:             'sm-eac.c:1221,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1222,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1228,6'
          Dst:             eac_mse_set_at_ta
        - Src:             'sm-eac.c:1232,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1237,10'
          Dst:             BUF_MEM_create
        - Src:             'sm-eac.c:1239,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1243,6'
          Dst:             eac_get_challenge
        - Src:             'sm-eac.c:1245,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1248,7'
          Dst:             TA_STEP4_set_nonce
        - Src:             'sm-eac.c:1249,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1250,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1256,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:1257,29'
          Dst:             BUF_MEM_create_init
        - Src:             'sm-eac.c:1260,22'
          Dst:             BUF_MEM_new
        - Src:             'sm-eac.c:1261,14'
          Dst:             TA_STEP5_sign
        - Src:             'sm-eac.c:1264,3'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:1265,3'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:1269,6'
          Dst:             eac_external_authenticate
        - Src:             'sm-eac.c:1274,3'
          Dst:             CVC_CERT_free
        - Src:             'sm-eac.c:1276,2'
          Dst:             EAC_CTX_clear_free
        - Src:             'sm-eac.c:1277,2'
          Dst:             BUF_MEM_clear_free
        - Src:             'sm-eac.c:1278,2'
          Dst:             BUF_MEM_clear_free
        - Src:             'sm-eac.c:1281,3'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:1281,3'
          Dst:             sc_do_log_color
        - Src:             'sm-eac.c:1281,3'
          Dst:             sc_do_log
    - functionName:    get_ef_card_access
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 173
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - iso7816_read_binary_sfid
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:173,9'
          Dst:             iso7816_read_binary_sfid
    - functionName:    ASN1_STRING_get0_data
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    49
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ASN1_STRING_length
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    45
      BranchProfiles:  []
      Callsites:       []
    - functionName:    eac_gen_auth_4_mutual_authentication
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 570
      functionLinenumberEnd: 601
      functionDepth:   0
      returnType:      int
      argCount:        9
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          102
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - decode_gen_auth_rdata
        - encode_gen_auth_cdata
        - sc_check_sw
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:576,6'
          Dst:             encode_gen_auth_cdata
        - Src:             'sm-eac.c:579,2'
          Dst:             sc_format_apdu_ex
        - Src:             'sm-eac.c:582,6'
          Dst:             sc_transmit_apdu
        - Src:             'sm-eac.c:586,6'
          Dst:             sc_check_sw
        - Src:             'sm-eac.c:590,6'
          Dst:             decode_gen_auth_rdata
    - functionName:    eac_gen_auth_3_perform_key_agreement
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 531
      functionLinenumberEnd: 563
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          92
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - decode_gen_auth_rdata
        - encode_gen_auth_cdata
        - sc_check_sw
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:537,6'
          Dst:             encode_gen_auth_cdata
        - Src:             'sm-eac.c:540,2'
          Dst:             sc_format_apdu_ex
        - Src:             'sm-eac.c:544,6'
          Dst:             sc_transmit_apdu
        - Src:             'sm-eac.c:548,6'
          Dst:             sc_check_sw
        - Src:             'sm-eac.c:552,6'
          Dst:             decode_gen_auth_rdata
    - functionName:    eac_gen_auth_2_map_nonce
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 494
      functionLinenumberEnd: 526
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          92
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - decode_gen_auth_rdata
        - encode_gen_auth_cdata
        - sc_check_sw
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:500,6'
          Dst:             encode_gen_auth_cdata
        - Src:             'sm-eac.c:503,2'
          Dst:             sc_format_apdu_ex
        - Src:             'sm-eac.c:507,6'
          Dst:             sc_transmit_apdu
        - Src:             'sm-eac.c:511,6'
          Dst:             sc_check_sw
        - Src:             'sm-eac.c:515,6'
          Dst:             decode_gen_auth_rdata
    - functionName:    get_psec
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 606
      functionLinenumberEnd: 648
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          180
      EdgeCount:       41
      CyclomaticComplexity: 13
      functionsReached:
        - EVP_read_pw_string_min
        - OPENSSL_cleanse
        - PACE_SEC_new
        - eac_secret_name
        - sc_do_log
        - sc_do_log_openssl
        - snprintf
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:613,6'
          Dst:             eac_secret_name
        - Src:             'sm-eac.c:612,11'
          Dst:             snprintf
        - Src:             'sm-eac.c:614,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:619,4'
          Dst:             eac_secret_name
        - Src:             'sm-eac.c:619,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:623,11'
          Dst:             EVP_read_pw_string_min
        - Src:             'sm-eac.c:624,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:625,4'
          Dst:             eac_secret_name
        - Src:             'sm-eac.c:625,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:629,16'
          Dst:             strlen
        - Src:             'sm-eac.c:631,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:640,6'
          Dst:             PACE_SEC_new
        - Src:             'sm-eac.c:643,3'
          Dst:             OPENSSL_cleanse
    - functionName:    OPENSSL_cleanse
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    15
      BranchProfiles:  []
      Callsites:       []
    - functionName:    eac_gen_auth_1_encrypted_nonce
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 458
      functionLinenumberEnd: 489
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          86
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - decode_gen_auth_rdata
        - encode_gen_auth_cdata
        - sc_check_sw
        - sc_format_apdu_ex
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-eac.c:464,6'
          Dst:             encode_gen_auth_cdata
        - Src:             'sm-eac.c:467,2'
          Dst:             sc_format_apdu_ex
        - Src:             'sm-eac.c:471,6'
          Dst:             sc_transmit_apdu
        - Src:             'sm-eac.c:475,6'
          Dst:             sc_check_sw
        - Src:             'sm-eac.c:478,6'
          Dst:             decode_gen_auth_rdata
    - functionName:    perform_pace
      functionSourceFile: '/src/opensc/src/sm/sm-eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 655
      functionLinenumberEnd: 1000
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         167
      ICount:          1274
      EdgeCount:       229
      CyclomaticComplexity: 64
      functionsReached:
        - BIO_free_all
        - BIO_new_fp
        - BUF_MEM_free
        - BUF_MEM_new
        - CVC_CERTIFICATE_DESCRIPTION_free
        - CVC_CHAT_free
        - EAC_CTX_clear_free
        - EAC_CTX_init_ef_cardaccess
        - EAC_CTX_new
        - EAC_CTX_set_encryption_ctx
        - EAC_Comp
        - EAC_init
        - PACE_SEC_clear_free
        - PACE_STEP2_dec_nonce
        - PACE_STEP3A_generate_mapping_data
        - PACE_STEP3A_map_generator
        - PACE_STEP3B_compute_shared_secret
        - PACE_STEP3B_generate_ephemeral_key
        - PACE_STEP3C_derive_keys
        - PACE_STEP3D_compute_authentication_token
        - PACE_STEP3D_verify_authentication_token
        - _sc_debug_hex
        - certificate_description_print
        - cvc_chat_print
        - d2i_CVC_CERTIFICATE_DESCRIPTION
        - d2i_CVC_CHAT
        - eac_gen_auth_1_encrypted_nonce
        - eac_gen_auth_2_map_nonce
        - eac_gen_auth_3_perform_key_agreement
        - eac_gen_auth_4_mutual_authentication
        - eac_mse_set_at_pace
        - eac_sm_start
        - get_ef_card_access
        - get_psec
        - printf
        - realloc
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_strerror
      functionUses:    8
      BranchProfiles:
        - Branch String:   'sm-eac.c:696,3'
          Branch Sides:    []
      Callsites:
        - Src:             'sm-eac.c:677,8'
          Dst:             d2i_CVC_CERTIFICATE_DESCRIPTION
        - Src:             'sm-eac.c:679,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:680,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:686,17'
          Dst:             BIO_new_fp
        - Src:             'sm-eac.c:688,5'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:689,5'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:695,3'
          Dst:             printf
        - Src:             'sm-eac.c:696,10'
          Dst:             certificate_description_print
        - Src:             'sm-eac.c:698,5'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:699,5'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:707,5'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:713,5'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:719,5'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:732,17'
          Dst:             BIO_new_fp
        - Src:             'sm-eac.c:734,5'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:735,5'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:742,8'
          Dst:             d2i_CVC_CHAT
        - Src:             'sm-eac.c:743,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:744,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:749,3'
          Dst:             printf
        - Src:             'sm-eac.c:750,8'
          Dst:             cvc_chat_print
        - Src:             'sm-eac.c:751,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:752,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:765,8'
          Dst:             get_ef_card_access
        - Src:             'sm-eac.c:768,5'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:773,3'
          Dst:             _sc_debug_hex
        - Src:             'sm-eac.c:776,3'
          Dst:             EAC_init
        - Src:             'sm-eac.c:777,13'
          Dst:             EAC_CTX_new
        - Src:             'sm-eac.c:779,9'
          Dst:             EAC_CTX_init_ef_cardaccess
        - Src:             'sm-eac.c:782,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:783,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:790,7'
          Dst:             eac_mse_set_at_pace
        - Src:             'sm-eac.c:794,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:799,15'
          Dst:             BUF_MEM_new
        - Src:             'sm-eac.c:801,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:806,7'
          Dst:             eac_gen_auth_1_encrypted_nonce
        - Src:             'sm-eac.c:809,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:813,3'
          Dst:             _sc_debug_hex
        - Src:             'sm-eac.c:816,9'
          Dst:             get_psec
        - Src:             'sm-eac.c:819,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:820,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:825,8'
          Dst:             PACE_STEP2_dec_nonce
        - Src:             'sm-eac.c:826,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:827,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:832,15'
          Dst:             BUF_MEM_new
        - Src:             'sm-eac.c:833,11'
          Dst:             PACE_STEP3A_generate_mapping_data
        - Src:             'sm-eac.c:835,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:836,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:841,7'
          Dst:             eac_gen_auth_2_map_nonce
        - Src:             'sm-eac.c:845,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:850,3'
          Dst:             _sc_debug_hex
        - Src:             'sm-eac.c:852,8'
          Dst:             PACE_STEP3A_map_generator
        - Src:             'sm-eac.c:853,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:854,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:859,9'
          Dst:             PACE_STEP3B_generate_ephemeral_key
        - Src:             'sm-eac.c:860,13'
          Dst:             BUF_MEM_new
        - Src:             'sm-eac.c:862,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:863,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:869,7'
          Dst:             eac_gen_auth_3_perform_key_agreement
        - Src:             'sm-eac.c:873,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:878,3'
          Dst:             _sc_debug_hex
        - Src:             'sm-eac.c:881,8'
          Dst:             PACE_STEP3B_compute_shared_secret
        - Src:             'sm-eac.c:882,9'
          Dst:             PACE_STEP3C_derive_keys
        - Src:             'sm-eac.c:883,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:884,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:889,11'
          Dst:             PACE_STEP3D_compute_authentication_token
        - Src:             'sm-eac.c:890,15'
          Dst:             BUF_MEM_new
        - Src:             'sm-eac.c:892,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:893,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:898,7'
          Dst:             eac_gen_auth_4_mutual_authentication
        - Src:             'sm-eac.c:905,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:911,8'
          Dst:             PACE_STEP3D_verify_authentication_token
        - Src:             'sm-eac.c:912,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:913,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:919,8'
          Dst:             EAC_CTX_set_encryption_ctx
        - Src:             'sm-eac.c:920,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:921,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:927,14'
          Dst:             EAC_Comp
        - Src:             'sm-eac.c:928,18'
          Dst:             EAC_Comp
        - Src:             'sm-eac.c:930,4'
          Dst:             sc_do_log_openssl
        - Src:             'sm-eac.c:931,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:939,7'
          Dst:             realloc
        - Src:             'sm-eac.c:941,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:948,3'
          Dst:             _sc_debug_hex
        - Src:             'sm-eac.c:954,7'
          Dst:             realloc
        - Src:             'sm-eac.c:956,4'
          Dst:             sc_do_log
        - Src:             'sm-eac.c:963,3'
          Dst:             _sc_debug_hex
        - Src:             'sm-eac.c:966,7'
          Dst:             eac_sm_start
        - Src:             'sm-eac.c:971,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:973,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:975,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:977,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:979,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:981,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:983,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:985,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:987,3'
          Dst:             BUF_MEM_free
        - Src:             'sm-eac.c:988,2'
          Dst:             PACE_SEC_clear_free
        - Src:             'sm-eac.c:990,3'
          Dst:             BIO_free_all
        - Src:             'sm-eac.c:992,3'
          Dst:             CVC_CERTIFICATE_DESCRIPTION_free
        - Src:             'sm-eac.c:994,3'
          Dst:             CVC_CHAT_free
        - Src:             'sm-eac.c:997,3'
          Dst:             EAC_CTX_clear_free
        - Src:             'sm-eac.c:999,2'
          Dst:             sc_strerror
        - Src:             'sm-eac.c:999,2'
          Dst:             sc_do_log_color
        - Src:             'sm-eac.c:999,2'
          Dst:             sc_do_log
    - functionName:    BIO_new_fp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BIO_free_all
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    rm_padding
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 114
      functionLinenumberEnd: 144
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          95
      EdgeCount:       22
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'sm-iso.c:120,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sm_decrypt
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 515
      functionLinenumberEnd: 627
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          421
      EdgeCount:       66
      CyclomaticComplexity: 20
      functionsReached:
        - _sc_debug_hex
        - add_padding
        - rm_padding
        - sc_asn1_decode
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_format_asn1_entry
        - sc_mem_clear
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:525,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'sm-iso.c:526,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-iso.c:527,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-iso.c:528,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-iso.c:529,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-iso.c:531,6'
          Dst:             sc_asn1_decode
        - Src:             'sm-iso.c:543,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'sm-iso.c:544,3'
          Dst:             sc_copy_asn1_entry
        - Src:             'sm-iso.c:546,7'
          Dst:             sc_asn1_encode
        - Src:             'sm-iso.c:549,7'
          Dst:             add_padding
        - Src:             'sm-iso.c:559,3'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:580,7'
          Dst:             rm_padding
        - Src:             'sm-iso.c:582,4'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:587,4'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:600,4'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:607,3'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:612,2'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:614,2'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:623,3'
          Dst:             sc_mem_clear
    - functionName:    add_padding
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 88
      functionLinenumberEnd: 110
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          95
      EdgeCount:       17
      CyclomaticComplexity: 4
      functionsReached:
        - add_iso_pad
        - realloc
      functionUses:    4
      BranchProfiles:
        - Branch String:   'sm-iso.c:91,2'
          Branch Sides:    []
      Callsites:
        - Src:             'sm-iso.c:95,10'
          Dst:             realloc
        - Src:             'sm-iso.c:106,11'
          Dst:             add_iso_pad
    - functionName:    add_iso_pad
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 59
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          91
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:69,6'
          Dst:             realloc
    - functionName:    prefix_buf
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 182
      functionLinenumberEnd: 200
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - char
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          78
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:186,6'
          Dst:             realloc
    - functionName:    format_data
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          179
      EdgeCount:       31
      CyclomaticComplexity: 10
      functionsReached:
        - _sc_debug_hex
        - add_padding
        - prefix_buf
        - sc_do_log
        - sc_format_asn1_entry
        - sc_mem_clear
        - sc_strerror
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:216,6'
          Dst:             add_padding
        - Src:             'sm-iso.c:218,3'
          Dst:             sc_strerror
        - Src:             'sm-iso.c:218,3'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:224,2'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:227,3'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:230,2'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:233,7'
          Dst:             prefix_buf
        - Src:             'sm-iso.c:235,4'
          Dst:             sc_strerror
        - Src:             'sm-iso.c:235,4'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:242,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-iso.c:249,3'
          Dst:             sc_mem_clear
    - functionName:    format_le
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 148
      functionLinenumberEnd: 179
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          127
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - realloc
        - sc_format_asn1_entry
      functionUses:    5
      BranchProfiles:
        - Branch String:   'sm-iso.c:159,2'
          Branch Sides:    []
      Callsites:
        - Src:             'sm-iso.c:154,6'
          Dst:             realloc
        - Src:             'sm-iso.c:176,2'
          Dst:             sc_format_asn1_entry
    - functionName:    format_head
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 258
      functionLinenumberEnd: 275
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          85
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - add_padding
        - realloc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:264,6'
          Dst:             realloc
        - Src:             'sm-iso.c:274,9'
          Dst:             add_padding
    - functionName:    sm_encrypt
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 279
      functionLinenumberEnd: 510
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         88
      ICount:          821
      EdgeCount:       119
      CyclomaticComplexity: 33
      functionsReached:
        - _sc_debug_hex
        - add_padding
        - calloc
        - format_data
        - format_head
        - format_le
        - realloc
        - sc_asn1_encode
        - sc_asn1_put_tag
        - sc_copy_asn1_entry
        - sc_do_log
        - sc_format_asn1_entry
      functionUses:    1
      BranchProfiles:
        - Branch String:   'sm-iso.c:319,2'
          Branch Sides:    []
      Callsites:
        - Src:             'sm-iso.c:295,3'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:299,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'sm-iso.c:312,6'
          Dst:             format_head
        - Src:             'sm-iso.c:314,3'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:324,8'
          Dst:             format_le
        - Src:             'sm-iso.c:326,5'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:329,4'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:335,9'
          Dst:             format_le
        - Src:             'sm-iso.c:337,6'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:343,9'
          Dst:             format_le
        - Src:             'sm-iso.c:345,6'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:349,4'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:354,9'
          Dst:             format_data
        - Src:             'sm-iso.c:357,9'
          Dst:             format_data
        - Src:             'sm-iso.c:361,5'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:364,4'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:371,9'
          Dst:             format_le
        - Src:             'sm-iso.c:373,6'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:376,5'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:380,9'
          Dst:             format_data
        - Src:             'sm-iso.c:383,9'
          Dst:             format_data
        - Src:             'sm-iso.c:387,5'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:390,4'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:402,9'
          Dst:             format_le
        - Src:             'sm-iso.c:404,6'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:407,5'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:411,9'
          Dst:             format_data
        - Src:             'sm-iso.c:414,9'
          Dst:             format_data
        - Src:             'sm-iso.c:418,5'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:421,4'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:425,4'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:431,6'
          Dst:             sc_asn1_encode
        - Src:             'sm-iso.c:436,7'
          Dst:             realloc
        - Src:             'sm-iso.c:444,7'
          Dst:             add_padding
        - Src:             'sm-iso.c:450,2'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:455,3'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:459,2'
          Dst:             _sc_debug_hex
        - Src:             'sm-iso.c:463,2'
          Dst:             sc_format_asn1_entry
        - Src:             'sm-iso.c:464,6'
          Dst:             sc_asn1_encode
        - Src:             'sm-iso.c:476,6'
          Dst:             sc_asn1_put_tag
        - Src:             'sm-iso.c:488,14'
          Dst:             calloc
        - Src:             'sm-iso.c:494,2'
          Dst:             _sc_debug_hex
    - functionName:    iso_sm_start
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 737
      functionLinenumberEnd: 751
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          76
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iso_sm_close
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 672
      functionLinenumberEnd: 678
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - iso_sm_ctx_clear_free
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:674,3'
          Dst:             iso_sm_ctx_clear_free
    - functionName:    iso_free_sm_apdu
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 687
      functionLinenumberEnd: 706
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          69
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - iso_rm_sm
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:696,6'
          Dst:             iso_rm_sm
    - functionName:    iso_get_sm_apdu
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 682
      functionLinenumberEnd: 683
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          26
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - iso_add_sm
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:683,9'
          Dst:             iso_add_sm
    - functionName:    iso_add_sm
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 632
      functionLinenumberEnd: 650
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          151
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_sm_stop
        - sc_strerror
        - sm_encrypt
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:637,3'
          Dst:             sc_do_log
        - Src:             'sm-iso.c:638,3'
          Dst:             sc_sm_stop
        - Src:             'sm-iso.c:638,3'
          Dst:             sc_strerror
        - Src:             'sm-iso.c:638,3'
          Dst:             sc_do_log_color
        - Src:             'sm-iso.c:644,3'
          Dst:             sc_strerror
        - Src:             'sm-iso.c:644,3'
          Dst:             sc_do_log_color
        - Src:             'sm-iso.c:646,2'
          Dst:             sm_encrypt
        - Src:             'sm-iso.c:646,2'
          Dst:             sc_strerror
        - Src:             'sm-iso.c:646,2'
          Dst:             sc_do_log_color
    - functionName:    iso_rm_sm
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 654
      functionLinenumberEnd: 669
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          167
      EdgeCount:       36
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log_color
        - sc_strerror
        - sm_decrypt
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sm-iso.c:656,3'
          Dst:             sc_strerror
        - Src:             'sm-iso.c:656,3'
          Dst:             sc_do_log_color
        - Src:             'sm-iso.c:660,3'
          Dst:             sc_strerror
        - Src:             'sm-iso.c:660,3'
          Dst:             sc_do_log_color
        - Src:             'sm-iso.c:662,2'
          Dst:             sm_decrypt
        - Src:             'sm-iso.c:662,2'
          Dst:             sc_strerror
        - Src:             'sm-iso.c:662,2'
          Dst:             sc_do_log_color
        - Src:             'sm-iso.c:665,3'
          Dst:             sc_strerror
        - Src:             'sm-iso.c:665,3'
          Dst:             sc_do_log_color
    - functionName:    iso_sm_ctx_clear_free
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 730
      functionLinenumberEnd: 734
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          42
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iso_sm_ctx_create
      functionSourceFile: '/src/opensc/src/sm/sm-iso.c'
      linkageType:     InternalLinkage
      functionLinenumber: 709
      functionLinenumberEnd: 727
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          63
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iso7816_get_data
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1363
      functionLinenumberEnd: 1390
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          178
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1367,2'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1374,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1378,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1379,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1379,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1381,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:1382,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1382,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1389,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1389,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1389,2'
          Dst:             sc_do_log
    - functionName:    iso7816_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1282
      functionLinenumberEnd: 1359
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         52
      ICount:          321
      EdgeCount:       69
      CyclomaticComplexity: 19
      functionsReached:
        - iso7816_build_pin_apdu
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1295,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1305,7'
          Dst:             iso7816_build_pin_apdu
        - Src:             'iso7816.c:1314,7'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1317,3'
          Dst:             sc_mem_clear
        - Src:             'iso7816.c:1323,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1331,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1341,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1341,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1342,6'
          Dst:             sc_check_sw
    - functionName:    iso7816_build_pin_apdu
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1183
      functionLinenumberEnd: 1277
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          465
      EdgeCount:       87
      CyclomaticComplexity: 20
      functionsReached:
        - sc_build_pin
        - sc_do_log
        - sc_format_apdu
      functionUses:    2
      BranchProfiles:
        - Branch String:   'iso7816.c:1187,2'
          Branch Sides:    []
        - Branch String:   'iso7816.c:1204,2'
          Branch Sides:    []
      Callsites:
        - Src:             'iso7816.c:1210,12'
          Dst:             sc_build_pin
        - Src:             'iso7816.c:1217,13'
          Dst:             sc_build_pin
        - Src:             'iso7816.c:1227,12'
          Dst:             sc_build_pin
        - Src:             'iso7816.c:1233,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1241,13'
          Dst:             sc_build_pin
        - Src:             'iso7816.c:1250,13'
          Dst:             sc_build_pin
        - Src:             'iso7816.c:1270,2'
          Dst:             sc_format_apdu
    - functionName:    iso7816_construct_fci
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 812
      functionLinenumberEnd: 870
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          318
      EdgeCount:       33
      CyclomaticComplexity: 8
      functionsReached:
        - sc_asn1_put_tag
      functionUses:    0
      BranchProfiles:
        - Branch String:   'iso7816.c:833,3'
          Branch Sides:    []
      Callsites:
        - Src:             'iso7816.c:823,2'
          Dst:             sc_asn1_put_tag
        - Src:             'iso7816.c:829,3'
          Dst:             sc_asn1_put_tag
        - Src:             'iso7816.c:846,3'
          Dst:             sc_asn1_put_tag
        - Src:             'iso7816.c:850,2'
          Dst:             sc_asn1_put_tag
        - Src:             'iso7816.c:856,3'
          Dst:             sc_asn1_put_tag
        - Src:             'iso7816.c:863,3'
          Dst:             sc_asn1_put_tag
    - functionName:    iso7816_process_fci
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 431
      functionLinenumberEnd: 623
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         117
      ICount:          697
      EdgeCount:       138
      CyclomaticComplexity: 23
      functionsReached:
        - _sc_debug_hex
        - bebytes2ushort
        - iso7816_process_fci
        - sc_asn1_read_tag
        - sc_do_log
        - sc_file_set_prop_attr
        - sc_file_set_sec_attr
        - sc_file_set_type_attr
      functionUses:    1
      BranchProfiles:
        - Branch String:   'iso7816.c:447,3'
          Branch Sides:    []
        - Branch String:   'iso7816.c:482,6'
          Branch Sides:    []
        - Branch String:   'iso7816.c:568,6'
          Branch Sides:    []
      Callsites:
        - Src:             'iso7816.c:443,21'
          Dst:             sc_asn1_read_tag
        - Src:             'iso7816.c:465,7'
          Dst:             sc_do_log
        - Src:             'iso7816.c:471,5'
          Dst:             sc_do_log
        - Src:             'iso7816.c:480,6'
          Dst:             sc_do_log
        - Src:             'iso7816.c:500,6'
          Dst:             sc_do_log
        - Src:             'iso7816.c:501,6'
          Dst:             sc_do_log
        - Src:             'iso7816.c:502,6'
          Dst:             sc_do_log
        - Src:             'iso7816.c:509,11'
          Dst:             bebytes2ushort
        - Src:             'iso7816.c:511,8'
          Dst:             sc_do_log
        - Src:             'iso7816.c:517,11'
          Dst:             bebytes2ushort
        - Src:             'iso7816.c:519,8'
          Dst:             sc_do_log
        - Src:             'iso7816.c:523,24'
          Dst:             sc_file_set_type_attr
        - Src:             'iso7816.c:524,7'
          Dst:             sc_do_log
        - Src:             'iso7816.c:531,6'
          Dst:             sc_do_log
        - Src:             'iso7816.c:540,6'
          Dst:             _sc_debug_hex
        - Src:             'iso7816.c:548,23'
          Dst:             sc_file_set_prop_attr
        - Src:             'iso7816.c:549,6'
          Dst:             sc_do_log
        - Src:             'iso7816.c:554,23'
          Dst:             sc_file_set_sec_attr
        - Src:             'iso7816.c:555,6'
          Dst:             sc_do_log
        - Src:             'iso7816.c:562,6'
          Dst:             sc_do_log
        - Src:             'iso7816.c:617,5'
          Dst:             iso7816_process_fci
    - functionName:    iso7816_check_sw
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 111
      functionLinenumberEnd: 135
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          141
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:117,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:123,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:128,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:133,2'
          Dst:             sc_do_log
    - functionName:    iso7816_delete_file
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 945
      functionLinenumberEnd: 975
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          200
      EdgeCount:       37
      CyclomaticComplexity: 9
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:950,2'
          Dst:             sc_do_log
        - Src:             'iso7816.c:952,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:953,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:953,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:953,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:959,3'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:966,3'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:969,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:970,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:970,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:971,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:972,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:972,2'
          Dst:             sc_do_log_color
    - functionName:    iso7816_create_file
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 875
      functionLinenumberEnd: 899
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          174
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:884,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:884,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:884,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:886,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:886,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:888,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:893,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:894,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:894,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:895,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:896,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:896,2'
          Dst:             sc_do_log_color
    - functionName:    iso7816_compute_signature
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1099
      functionLinenumberEnd: 1131
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          232
      EdgeCount:       44
      CyclomaticComplexity: 11
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1106,2'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1107,2'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1112,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1121,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'iso7816.c:1122,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1123,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1123,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1125,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1125,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1125,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1127,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:1128,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1128,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1130,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1130,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1130,2'
          Dst:             sc_do_log
    - functionName:    iso7816_fixup_transceive_length
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 36
      functionLinenumberEnd: 51
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          72
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - sc_get_max_recv_size
        - sc_get_max_send_size
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:41,17'
          Dst:             sc_get_max_send_size
        - Src:             'iso7816.c:46,17'
          Dst:             sc_get_max_recv_size
        - Src:             'iso7816.c:49,14'
          Dst:             sc_get_max_recv_size
    - functionName:    iso7816_decipher
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1138
      functionLinenumberEnd: 1177
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          242
      EdgeCount:       43
      CyclomaticComplexity: 11
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1146,2'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1147,2'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1156,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1167,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'iso7816.c:1168,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1169,2'
          Dst:             sc_mem_clear
        - Src:             'iso7816.c:1171,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1171,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1174,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1174,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1174,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1176,3'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:1176,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1176,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1176,3'
          Dst:             sc_do_log
    - functionName:    iso7816_set_security_env
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 981
      functionLinenumberEnd: 1071
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         60
      ICount:          451
      EdgeCount:       77
      CyclomaticComplexity: 19
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_lock
        - sc_strerror
        - sc_transmit_apdu
        - sc_unlock
      functionUses:    0
      BranchProfiles:
        - Branch String:   'iso7816.c:991,2'
          Branch Sides:    []
      Callsites:
        - Src:             'iso7816.c:990,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1041,7'
          Dst:             sc_lock
        - Src:             'iso7816.c:1042,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1042,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1046,7'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1048,4'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1048,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1051,7'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:1053,4'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1053,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1061,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1062,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1063,2'
          Dst:             sc_unlock
        - Src:             'iso7816.c:1064,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1064,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1066,9'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:1069,3'
          Dst:             sc_unlock
    - functionName:    iso7816_restore_security_env
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1076
      functionLinenumberEnd: 1092
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          90
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1084,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1086,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1087,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1087,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1088,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:1089,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1089,2'
          Dst:             sc_do_log_color
    - functionName:    iso7816_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 786
      functionLinenumberEnd: 806
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          107
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - sc_check_sw
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:790,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:795,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:796,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:796,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:798,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:799,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:799,2'
          Dst:             sc_do_log_color
    - functionName:    iso7816_get_response
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 904
      functionLinenumberEnd: 940
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          221
      EdgeCount:       47
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_get_max_recv_size
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:910,15'
          Dst:             sc_get_max_recv_size
        - Src:             'iso7816.c:911,10'
          Dst:             sc_get_max_recv_size
        - Src:             'iso7816.c:915,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:922,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:923,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:923,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:928,3'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:928,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:928,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:928,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:937,7'
          Dst:             sc_check_sw
    - functionName:    iso7816_select_file
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 629
      functionLinenumberEnd: 781
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         164
      ICount:          965
      EdgeCount:       204
      CyclomaticComplexity: 42
      functionsReached:
        - memcmp
        - sc_asn1_read_tag
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_file_new
        - sc_format_apdu
        - sc_get_max_recv_size
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:
        - Branch String:   'iso7816.c:676,2'
          Branch Sides:    []
        - Branch String:   'iso7816.c:757,2'
          Branch Sides:    []
      Callsites:
        - Src:             'iso7816.c:657,4'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:662,8'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:663,4'
          Dst:             sc_strerror
        - Src:             'iso7816.c:663,4'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:664,8'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:666,5'
          Dst:             sc_strerror
        - Src:             'iso7816.c:666,5'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:666,5'
          Dst:             sc_do_log
        - Src:             'iso7816.c:674,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:687,23'
          Dst:             memcmp
        - Src:             'iso7816.c:706,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:706,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:706,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:716,13'
          Dst:             sc_get_max_recv_size
        - Src:             'iso7816.c:716,48'
          Dst:             sc_get_max_recv_size
        - Src:             'iso7816.c:723,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:724,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:724,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:727,7'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:730,8'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:731,9'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:734,4'
          Dst:             sc_strerror
        - Src:             'iso7816.c:734,4'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:734,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:735,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:735,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:735,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:738,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:740,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:740,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:740,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:745,11'
          Dst:             sc_file_new
        - Src:             'iso7816.c:747,5'
          Dst:             sc_strerror
        - Src:             'iso7816.c:747,5'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:747,5'
          Dst:             sc_do_log
        - Src:             'iso7816.c:751,4'
          Dst:             sc_strerror
        - Src:             'iso7816.c:751,4'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:751,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:756,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:756,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:756,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:760,10'
          Dst:             sc_file_new
        - Src:             'iso7816.c:762,4'
          Dst:             sc_strerror
        - Src:             'iso7816.c:762,4'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:762,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:765,4'
          Dst:             sc_file_free
        - Src:             'iso7816.c:766,4'
          Dst:             sc_strerror
        - Src:             'iso7816.c:766,4'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:766,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:769,7'
          Dst:             sc_asn1_read_tag
        - Src:             'iso7816.c:775,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:775,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:775,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:777,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:777,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:777,3'
          Dst:             sc_do_log
    - functionName:    iso7816_update_record
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 334
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          261
      EdgeCount:       43
      CyclomaticComplexity: 10
      functionsReached:
        - encode_do_data
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:341,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:341,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:341,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:344,3'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:349,7'
          Dst:             encode_do_data
        - Src:             'iso7816.c:350,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:350,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:352,3'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:361,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'iso7816.c:362,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:363,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:363,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:364,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:365,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:365,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:370,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:370,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:370,2'
          Dst:             sc_do_log
    - functionName:    encode_do_data
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 200
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          131
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - sc_asn1_encode
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:181,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'iso7816.c:184,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:184,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:187,2'
          Dst:             sc_format_asn1_entry
        - Src:             'iso7816.c:190,3'
          Dst:             sc_format_asn1_entry
        - Src:             'iso7816.c:192,3'
          Dst:             sc_format_asn1_entry
        - Src:             'iso7816.c:195,2'
          Dst:             sc_asn1_encode
        - Src:             'iso7816.c:195,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:195,2'
          Dst:             sc_do_log_color
    - functionName:    iso7816_append_record
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 311
      functionLinenumberEnd: 328
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          133
      EdgeCount:       19
      CyclomaticComplexity: 5
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:315,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:321,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'iso7816.c:322,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:323,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:323,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:324,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:325,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:325,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:327,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:327,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:327,2'
          Dst:             sc_do_log
    - functionName:    iso7816_write_record
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 286
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          155
      EdgeCount:       23
      CyclomaticComplexity: 6
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:290,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:298,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'iso7816.c:299,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:300,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:300,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:301,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:302,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:302,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:304,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:304,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:304,2'
          Dst:             sc_do_log
    - functionName:    iso7816_read_record
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 225
      functionLinenumberEnd: 280
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          331
      EdgeCount:       56
      CyclomaticComplexity: 13
      functionsReached:
        - decode_do_data
        - encode_do_data
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:234,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:234,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:234,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:237,3'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:242,7'
          Dst:             encode_do_data
        - Src:             'iso7816.c:243,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:243,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:245,3'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:257,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'iso7816.c:258,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:259,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:259,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:260,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:261,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:261,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:266,7'
          Dst:             decode_do_data
        - Src:             'iso7816.c:268,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:268,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:279,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:279,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:279,2'
          Dst:             sc_do_log
    - functionName:    decode_do_data
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 205
      functionLinenumberEnd: 220
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          75
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - sc_asn1_decode
        - sc_copy_asn1_entry
        - sc_do_log_color
        - sc_format_asn1_entry
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:207,2'
          Dst:             sc_copy_asn1_entry
        - Src:             'iso7816.c:209,2'
          Dst:             sc_format_asn1_entry
        - Src:             'iso7816.c:210,2'
          Dst:             sc_format_asn1_entry
        - Src:             'iso7816.c:212,2'
          Dst:             sc_asn1_decode
        - Src:             'iso7816.c:212,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:212,2'
          Dst:             sc_do_log_color
    - functionName:    iso7816_update_binary
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 404
      functionLinenumberEnd: 425
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          148
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:409,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:413,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:418,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'iso7816.c:419,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:420,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:420,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:421,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:422,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:422,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:424,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:424,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:424,2'
          Dst:             sc_do_log
    - functionName:    iso7816_write_binary
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 376
      functionLinenumberEnd: 398
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          148
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:381,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:385,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:391,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'iso7816.c:392,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:393,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:393,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:394,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:395,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:395,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:397,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:397,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:397,2'
          Dst:             sc_do_log
    - functionName:    iso7816_init
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1421
      functionLinenumberEnd: 1425
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    no_match
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1431
      functionLinenumberEnd: 1432
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iso7816_logout
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1679
      functionLinenumberEnd: 1692
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          49
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - sc_check_sw
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1683,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1685,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1689,6'
          Dst:             sc_check_sw
    - functionName:    iso7816_update_binary_sfid
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1611
      functionLinenumberEnd: 1675
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          215
      EdgeCount:       46
      CyclomaticComplexity: 13
      functionsReached:
        - sc_do_log
        - sc_format_apdu
        - sc_transmit_apdu
        - sc_update_binary
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1635,3'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1639,3'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1652,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1659,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1669,7'
          Dst:             sc_update_binary
    - functionName:    iso7816_write_binary_sfid
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1557
      functionLinenumberEnd: 1605
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          164
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_format_apdu
        - sc_transmit_apdu
        - sc_write_binary
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1569,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1582,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1589,4'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1599,7'
          Dst:             sc_write_binary
    - functionName:    iso7816_read_binary
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 165
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          199
      EdgeCount:       36
      CyclomaticComplexity: 9
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:146,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:150,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:155,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'iso7816.c:156,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:157,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:157,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:159,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:161,3'
          Dst:             sc_strerror
        - Src:             'iso7816.c:161,3'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:161,3'
          Dst:             sc_do_log
        - Src:             'iso7816.c:162,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:162,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:164,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:164,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:164,2'
          Dst:             sc_do_log
    - functionName:    iso7816_read_binary_sfid
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1493
      functionLinenumberEnd: 1551
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          194
      EdgeCount:       38
      CyclomaticComplexity: 12
      functionsReached:
        - iso7816_read_binary
        - realloc
        - sc_check_sw
        - sc_do_log
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1506,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1508,6'
          Dst:             realloc
        - Src:             'iso7816.c:1518,6'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1521,6'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:1532,5'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1538,7'
          Dst:             realloc
        - Src:             'iso7816.c:1545,7'
          Dst:             iso7816_read_binary
    - functionName:    sc_get_iso7816_driver
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1485
      functionLinenumberEnd: 1486
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    62
      BranchProfiles:  []
      Callsites:       []
    - functionName:    iso7816_select_aid
      functionSourceFile: '/src/opensc/src/libopensc/iso7816.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1395
      functionLinenumberEnd: 1417
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          158
      EdgeCount:       24
      CyclomaticComplexity: 6
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    21
      BranchProfiles:  []
      Callsites:
        - Src:             'iso7816.c:1400,2'
          Dst:             sc_do_log
        - Src:             'iso7816.c:1402,2'
          Dst:             sc_format_apdu
        - Src:             'iso7816.c:1410,7'
          Dst:             sc_transmit_apdu
        - Src:             'iso7816.c:1413,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1413,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1415,7'
          Dst:             sc_check_sw
        - Src:             'iso7816.c:1416,2'
          Dst:             sc_strerror
        - Src:             'iso7816.c:1416,2'
          Dst:             sc_do_log_color
        - Src:             'iso7816.c:1416,2'
          Dst:             sc_do_log
    - functionName:    sc_parse_ef_gdo_content
      functionSourceFile: '/src/opensc/src/libopensc/ef-gdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 33
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         53
      ICount:          264
      EdgeCount:       69
      CyclomaticComplexity: 18
      functionsReached:
        - sc_asn1_read_tag
      functionUses:    1
      BranchProfiles:
        - Branch String:   'ef-gdo.c:56,4'
          Branch Sides:    []
      Callsites:
        - Src:             'ef-gdo.c:42,7'
          Dst:             sc_asn1_read_tag
    - functionName:    sc_parse_ef_gdo
      functionSourceFile: '/src/opensc/src/libopensc/ef-gdo.c'
      linkageType:     InternalLinkage
      functionLinenumber: 92
      functionLinenumberEnd: 132
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          171
      EdgeCount:       32
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_format_path
        - sc_parse_ef_gdo_content
        - sc_read_binary
        - sc_select_file
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'ef-gdo.c:105,2'
          Dst:             sc_do_log
        - Src:             'ef-gdo.c:107,2'
          Dst:             sc_format_path
        - Src:             'ef-gdo.c:108,6'
          Dst:             sc_select_file
        - Src:             'ef-gdo.c:109,2'
          Dst:             sc_strerror
        - Src:             'ef-gdo.c:109,2'
          Dst:             sc_do_log_color
        - Src:             'ef-gdo.c:122,6'
          Dst:             sc_read_binary
        - Src:             'ef-gdo.c:123,2'
          Dst:             sc_strerror
        - Src:             'ef-gdo.c:123,2'
          Dst:             sc_do_log_color
        - Src:             'ef-gdo.c:125,6'
          Dst:             sc_parse_ef_gdo_content
        - Src:             'ef-gdo.c:128,2'
          Dst:             sc_file_free
        - Src:             'ef-gdo.c:131,2'
          Dst:             sc_strerror
        - Src:             'ef-gdo.c:131,2'
          Dst:             sc_do_log_color
        - Src:             'ef-gdo.c:131,2'
          Dst:             sc_do_log
    - functionName:    sc_evp_md
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EVP_get_digestbyname
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/libopensc/sc-ossl-compat.h:121,19'
          Dst:             EVP_get_digestbyname
    - functionName:    value_barrier
      functionSourceFile: '/src/opensc/src/libopensc/../../src/common/constant-time.h'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 40
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          10
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    constant_time_msb
      functionSourceFile: '/src/opensc/src/libopensc/../../src/common/constant-time.h'
      linkageType:     InternalLinkage
      functionLinenumber: 59
      functionLinenumberEnd: 60
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_get_encoding_flags
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 700
      functionLinenumberEnd: 768
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         68
      ICount:          353
      EdgeCount:       88
      CyclomaticComplexity: 22
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'padding.c:701,2'
          Dst:             sc_do_log
        - Src:             'padding.c:703,3'
          Dst:             sc_strerror
        - Src:             'padding.c:703,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:703,3'
          Dst:             sc_do_log
        - Src:             'padding.c:705,2'
          Dst:             sc_do_log
        - Src:             'padding.c:763,3'
          Dst:             sc_strerror
        - Src:             'padding.c:763,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:766,2'
          Dst:             sc_do_log
        - Src:             'padding.c:767,2'
          Dst:             sc_strerror
        - Src:             'padding.c:767,2'
          Dst:             sc_do_log_color
        - Src:             'padding.c:767,2'
          Dst:             sc_do_log
    - functionName:    sc_pkcs1_add_pss_padding
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 474
      functionLinenumberEnd: 586
      functionDepth:   0
      returnType:      int
      argCount:        9
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         55
      ICount:          453
      EdgeCount:       76
      CyclomaticComplexity: 23
      functionsReached:
        - EVP_DigestFinal_ex
        - EVP_DigestInit_ex
        - EVP_DigestUpdate
        - EVP_MD_CTX_free
        - EVP_MD_CTX_new
        - EVP_MD_size
        - OPENSSL_cleanse
        - RAND_bytes
        - hash_flag2md
        - mgf1_flag2md
        - sc_do_log_openssl
        - sc_evp_md_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'padding.c:488,7'
          Dst:             hash_flag2md
        - Src:             'padding.c:490,3'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:493,9'
          Dst:             EVP_MD_size
        - Src:             'padding.c:497,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:503,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:507,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:510,6'
          Dst:             RAND_bytes
        - Src:             'padding.c:511,3'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:512,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:517,14'
          Dst:             EVP_MD_CTX_new
        - Src:             'padding.c:520,6'
          Dst:             EVP_DigestInit_ex
        - Src:             'padding.c:521,6'
          Dst:             EVP_DigestUpdate
        - Src:             'padding.c:522,6'
          Dst:             EVP_DigestUpdate
        - Src:             'padding.c:523,6'
          Dst:             EVP_DigestUpdate
        - Src:             'padding.c:524,3'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:533,6'
          Dst:             EVP_DigestFinal_ex
        - Src:             'padding.c:534,3'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:542,12'
          Dst:             mgf1_flag2md
        - Src:             'padding.c:544,3'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:547,14'
          Dst:             EVP_MD_size
        - Src:             'padding.c:555,7'
          Dst:             EVP_DigestInit_ex
        - Src:             'padding.c:556,7'
          Dst:             EVP_DigestUpdate
        - Src:             'padding.c:557,7'
          Dst:             EVP_DigestUpdate
        - Src:             'padding.c:558,7'
          Dst:             EVP_DigestFinal_ex
        - Src:             'padding.c:559,4'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:578,2'
          Dst:             OPENSSL_cleanse
        - Src:             'padding.c:579,2'
          Dst:             OPENSSL_cleanse
        - Src:             'padding.c:580,2'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:581,2'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:583,3'
          Dst:             EVP_MD_CTX_free
    - functionName:    hash_flag2md
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 434
      functionLinenumberEnd: 449
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          61
      EdgeCount:       19
      CyclomaticComplexity: 11
      functionsReached:
        - sc_evp_md
      functionUses:    3
      BranchProfiles:
        - Branch String:   'padding.c:435,2'
          Branch Sides:    []
      Callsites:
        - Src:             'padding.c:437,10'
          Dst:             sc_evp_md
        - Src:             'padding.c:439,10'
          Dst:             sc_evp_md
        - Src:             'padding.c:441,10'
          Dst:             sc_evp_md
        - Src:             'padding.c:443,10'
          Dst:             sc_evp_md
        - Src:             'padding.c:445,10'
          Dst:             sc_evp_md
    - functionName:    sc_evp_md_free
      functionSourceFile: '/src/opensc/src/libopensc/../../src/libopensc/sc-ossl-compat.h'
      linkageType:     InternalLinkage
      functionLinenumber: 125
      functionLinenumberEnd: 126
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    14
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mgf1_flag2md
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 452
      functionLinenumberEnd: 467
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          61
      EdgeCount:       19
      CyclomaticComplexity: 11
      functionsReached:
        - sc_evp_md
      functionUses:    2
      BranchProfiles:
        - Branch String:   'padding.c:453,2'
          Branch Sides:    []
      Callsites:
        - Src:             'padding.c:455,10'
          Dst:             sc_evp_md
        - Src:             'padding.c:457,10'
          Dst:             sc_evp_md
        - Src:             'padding.c:459,10'
          Dst:             sc_evp_md
        - Src:             'padding.c:461,10'
          Dst:             sc_evp_md
        - Src:             'padding.c:463,10'
          Dst:             sc_evp_md
    - functionName:    hash_len2algo
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 589
      functionLinenumberEnd: 606
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          41
      EdgeCount:       14
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'padding.c:590,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_pkcs1_add_01_padding
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 115
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          76
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs1_add_digest_info_prefix
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 381
      functionLinenumberEnd: 402
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          113
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_pkcs1_encode
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 612
      functionLinenumberEnd: 695
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         69
      ICount:          430
      EdgeCount:       84
      CyclomaticComplexity: 17
      functionsReached:
        - EVP_MD_size
        - hash_flag2md
        - hash_len2algo
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_md_free
        - sc_pkcs1_add_01_padding
        - sc_pkcs1_add_digest_info_prefix
        - sc_pkcs1_add_pss_padding
        - sc_strerror
      functionUses:    4
      BranchProfiles:
        - Branch String:   'padding.c:644,2'
          Branch Sides:    []
      Callsites:
        - Src:             'padding.c:624,2'
          Dst:             sc_do_log
        - Src:             'padding.c:630,2'
          Dst:             sc_do_log
        - Src:             'padding.c:634,7'
          Dst:             sc_pkcs1_add_digest_info_prefix
        - Src:             'padding.c:636,4'
          Dst:             sc_do_log
        - Src:             'padding.c:637,4'
          Dst:             sc_strerror
        - Src:             'padding.c:637,4'
          Dst:             sc_do_log_color
        - Src:             'padding.c:637,4'
          Dst:             sc_do_log
        - Src:             'padding.c:650,3'
          Dst:             sc_strerror
        - Src:             'padding.c:650,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:650,3'
          Dst:             sc_do_log
        - Src:             'padding.c:653,8'
          Dst:             sc_pkcs1_add_01_padding
        - Src:             'padding.c:654,3'
          Dst:             sc_strerror
        - Src:             'padding.c:654,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:654,3'
          Dst:             sc_do_log
        - Src:             'padding.c:666,16'
          Dst:             hash_len2algo
        - Src:             'padding.c:669,14'
          Dst:             hash_flag2md
        - Src:             'padding.c:670,4'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:673,10'
          Dst:             EVP_MD_size
        - Src:             'padding.c:674,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:684,8'
          Dst:             sc_pkcs1_add_pss_padding
        - Src:             'padding.c:689,3'
          Dst:             sc_strerror
        - Src:             'padding.c:689,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:689,3'
          Dst:             sc_do_log
        - Src:             'padding.c:693,3'
          Dst:             sc_strerror
        - Src:             'padding.c:693,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:693,3'
          Dst:             sc_do_log
    - functionName:    sc_pkcs1_strip_digest_info_prefix
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 406
      functionLinenumberEnd: 429
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          141
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - memcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'padding.c:415,8'
          Dst:             memcmp
    - functionName:    mgf1
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 232
      functionLinenumberEnd: 273
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          195
      EdgeCount:       39
      CyclomaticComplexity: 12
      functionsReached:
        - EVP_DigestFinal_ex
        - EVP_DigestInit_ex
        - EVP_DigestUpdate
        - EVP_MD_CTX_free
        - EVP_MD_CTX_new
        - EVP_MD_size
        - OPENSSL_cleanse
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'padding.c:241,17'
          Dst:             EVP_MD_CTX_new
        - Src:             'padding.c:244,10'
          Dst:             EVP_MD_size
        - Src:             'padding.c:253,8'
          Dst:             EVP_DigestInit_ex
        - Src:             'padding.c:254,11'
          Dst:             EVP_DigestUpdate
        - Src:             'padding.c:255,11'
          Dst:             EVP_DigestUpdate
        - Src:             'padding.c:258,9'
          Dst:             EVP_DigestFinal_ex
        - Src:             'padding.c:262,9'
          Dst:             EVP_DigestFinal_ex
        - Src:             'padding.c:270,2'
          Dst:             OPENSSL_cleanse
        - Src:             'padding.c:272,3'
          Dst:             EVP_MD_CTX_free
    - functionName:    sc_pkcs1_strip_oaep_padding
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 282
      functionLinenumberEnd: 375
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         106
      ICount:          642
      EdgeCount:       134
      CyclomaticComplexity: 30
      functionsReached:
        - EVP_DigestFinal_ex
        - EVP_DigestInit_ex
        - EVP_DigestUpdate
        - EVP_MD_CTX_free
        - EVP_MD_CTX_new
        - EVP_MD_size
        - hash_flag2md
        - mgf1
        - mgf1_flag2md
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_evp_md_free
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'padding.c:292,2'
          Dst:             sc_do_log
        - Src:             'padding.c:294,3'
          Dst:             sc_strerror
        - Src:             'padding.c:294,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:294,3'
          Dst:             sc_do_log
        - Src:             'padding.c:297,12'
          Dst:             hash_flag2md
        - Src:             'padding.c:302,16'
          Dst:             EVP_MD_CTX_new
        - Src:             'padding.c:303,8'
          Dst:             EVP_DigestInit_ex
        - Src:             'padding.c:304,11'
          Dst:             EVP_DigestUpdate
        - Src:             'padding.c:305,11'
          Dst:             EVP_DigestFinal_ex
        - Src:             'padding.c:306,4'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:309,3'
          Dst:             EVP_MD_CTX_free
        - Src:             'padding.c:311,2'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:314,3'
          Dst:             sc_strerror
        - Src:             'padding.c:314,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:314,3'
          Dst:             sc_do_log
        - Src:             'padding.c:317,12'
          Dst:             mgf1_flag2md
        - Src:             'padding.c:321,10'
          Dst:             EVP_MD_size
        - Src:             'padding.c:324,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:325,3'
          Dst:             sc_strerror
        - Src:             'padding.c:325,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:325,3'
          Dst:             sc_do_log
        - Src:             'padding.c:329,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:330,3'
          Dst:             sc_strerror
        - Src:             'padding.c:330,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:330,3'
          Dst:             sc_do_log
        - Src:             'padding.c:335,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:336,3'
          Dst:             sc_strerror
        - Src:             'padding.c:336,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:336,3'
          Dst:             sc_do_log
        - Src:             'padding.c:339,6'
          Dst:             mgf1
        - Src:             'padding.c:340,3'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:341,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:342,3'
          Dst:             sc_strerror
        - Src:             'padding.c:342,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:342,3'
          Dst:             sc_do_log
        - Src:             'padding.c:347,6'
          Dst:             mgf1
        - Src:             'padding.c:348,3'
          Dst:             sc_do_log_openssl
        - Src:             'padding.c:349,3'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:350,3'
          Dst:             sc_strerror
        - Src:             'padding.c:350,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:350,3'
          Dst:             sc_do_log
        - Src:             'padding.c:352,2'
          Dst:             sc_evp_md_free
        - Src:             'padding.c:370,5'
          Dst:             sc_strerror
        - Src:             'padding.c:370,5'
          Dst:             sc_do_log_color
        - Src:             'padding.c:370,5'
          Dst:             sc_do_log
        - Src:             'padding.c:374,2'
          Dst:             sc_strerror
        - Src:             'padding.c:374,2'
          Dst:             sc_do_log_color
        - Src:             'padding.c:374,2'
          Dst:             sc_do_log
    - functionName:    constant_time_select_8
      functionSourceFile: '/src/opensc/src/libopensc/../../src/common/constant-time.h'
      linkageType:     InternalLinkage
      functionLinenumber: 72
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - char
        - char
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - constant_time_select
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/common/constant-time.h:73,24'
          Dst:             constant_time_select
    - functionName:    constant_time_select
      functionSourceFile: '/src/opensc/src/libopensc/../../src/common/constant-time.h'
      linkageType:     InternalLinkage
      functionLinenumber: 66
      functionLinenumberEnd: 67
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - value_barrier
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/common/constant-time.h:67,10'
          Dst:             value_barrier
        - Src:             '../../src/common/constant-time.h:67,38'
          Dst:             value_barrier
    - functionName:    constant_time_lt
      functionSourceFile: '/src/opensc/src/libopensc/../../src/common/constant-time.h'
      linkageType:     InternalLinkage
      functionLinenumber: 104
      functionLinenumberEnd: 105
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          27
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - constant_time_msb
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/common/constant-time.h:105,9'
          Dst:             constant_time_msb
    - functionName:    constant_time_ge
      functionSourceFile: '/src/opensc/src/libopensc/../../src/common/constant-time.h'
      linkageType:     InternalLinkage
      functionLinenumber: 110
      functionLinenumberEnd: 111
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - constant_time_lt
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/common/constant-time.h:111,10'
          Dst:             constant_time_lt
    - functionName:    constant_time_eq
      functionSourceFile: '/src/opensc/src/libopensc/../../src/common/constant-time.h'
      linkageType:     InternalLinkage
      functionLinenumber: 118
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - constant_time_is_zero
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/common/constant-time.h:119,9'
          Dst:             constant_time_is_zero
    - functionName:    constant_time_is_zero
      functionSourceFile: '/src/opensc/src/libopensc/../../src/common/constant-time.h'
      linkageType:     InternalLinkage
      functionLinenumber: 85
      functionLinenumberEnd: 86
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          19
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - constant_time_msb
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             '../../src/common/constant-time.h:86,9'
          Dst:             constant_time_msb
    - functionName:    sc_pkcs1_strip_02_padding_constant_time
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 154
      functionLinenumberEnd: 228
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          422
      EdgeCount:       64
      CyclomaticComplexity: 15
      functionsReached:
        - calloc
        - constant_time_eq
        - constant_time_ge
        - constant_time_is_zero
        - constant_time_lt
        - constant_time_select
        - constant_time_select_8
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'padding.c:159,2'
          Dst:             sc_do_log
        - Src:             'padding.c:163,3'
          Dst:             sc_strerror
        - Src:             'padding.c:163,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:163,3'
          Dst:             sc_do_log
        - Src:             'padding.c:166,19'
          Dst:             calloc
        - Src:             'padding.c:168,3'
          Dst:             sc_strerror
        - Src:             'padding.c:168,3'
          Dst:             sc_do_log_color
        - Src:             'padding.c:168,3'
          Dst:             sc_do_log
        - Src:             'padding.c:178,11'
          Dst:             constant_time_is_zero
        - Src:             'padding.c:184,9'
          Dst:             constant_time_is_zero
        - Src:             'padding.c:186,10'
          Dst:             constant_time_eq
        - Src:             'padding.c:191,26'
          Dst:             constant_time_is_zero
        - Src:             'padding.c:192,16'
          Dst:             constant_time_select
        - Src:             'padding.c:197,10'
          Dst:             constant_time_ge
        - Src:             'padding.c:206,10'
          Dst:             constant_time_ge
        - Src:             'padding.c:209,36'
          Dst:             constant_time_lt
        - Src:             'padding.c:209,15'
          Dst:             constant_time_select
        - Src:             'padding.c:212,11'
          Dst:             constant_time_eq
        - Src:             'padding.c:214,13'
          Dst:             constant_time_select_8
        - Src:             'padding.c:220,17'
          Dst:             constant_time_lt
        - Src:             'padding.c:221,15'
          Dst:             constant_time_select
        - Src:             'padding.c:222,12'
          Dst:             constant_time_select_8
        - Src:             'padding.c:225,13'
          Dst:             constant_time_select
        - Src:             'padding.c:227,9'
          Dst:             constant_time_select
    - functionName:    sc_pkcs1_strip_01_padding
      functionSourceFile: '/src/opensc/src/libopensc/padding.c'
      linkageType:     InternalLinkage
      functionLinenumber: 120
      functionLinenumberEnd: 147
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         30
      ICount:          173
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_get_response
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 420
      functionLinenumberEnd: 498
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          324
      EdgeCount:       61
      CyclomaticComplexity: 15
      functionsReached:
        - _sc_debug_hex
        - sc_do_log
        - sc_do_log_color
        - sc_sm_update_apdu_response
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'apdu.c:426,2'
          Dst:             sc_do_log
        - Src:             'apdu.c:436,3'
          Dst:             sc_strerror
        - Src:             'apdu.c:436,3'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:467,5'
          Dst:             _sc_debug_hex
        - Src:             'apdu.c:468,5'
          Dst:             sc_sm_update_apdu_response
        - Src:             'apdu.c:471,4'
          Dst:             sc_strerror
        - Src:             'apdu.c:471,4'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:497,2'
          Dst:             sc_strerror
        - Src:             'apdu.c:497,2'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:497,2'
          Dst:             sc_do_log
    - functionName:    sc_set_le_and_transmit
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 386
      functionLinenumberEnd: 415
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          151
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_single_transmit
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'apdu.c:391,2'
          Dst:             sc_do_log
        - Src:             'apdu.c:395,3'
          Dst:             sc_strerror
        - Src:             'apdu.c:395,3'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:411,7'
          Dst:             sc_single_transmit
        - Src:             'apdu.c:412,2'
          Dst:             sc_strerror
        - Src:             'apdu.c:412,2'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:414,2'
          Dst:             sc_strerror
        - Src:             'apdu.c:414,2'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:414,2'
          Dst:             sc_do_log
    - functionName:    sc_single_transmit
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 359
      functionLinenumberEnd: 381
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         31
      ICount:          216
      EdgeCount:       38
      CyclomaticComplexity: 9
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_sm_single_transmit
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'apdu.c:363,2'
          Dst:             sc_do_log
        - Src:             'apdu.c:365,3'
          Dst:             sc_strerror
        - Src:             'apdu.c:365,3'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:367,2'
          Dst:             sc_do_log
        - Src:             'apdu.c:372,3'
          Dst:             sc_sm_single_transmit
        - Src:             'apdu.c:372,3'
          Dst:             sc_strerror
        - Src:             'apdu.c:372,3'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:372,3'
          Dst:             sc_do_log
        - Src:             'apdu.c:378,2'
          Dst:             sc_strerror
        - Src:             'apdu.c:378,2'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:380,2'
          Dst:             sc_strerror
        - Src:             'apdu.c:380,2'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:380,2'
          Dst:             sc_do_log
    - functionName:    sc_bytes2apdu
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 652
      functionLinenumberEnd: 764
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          504
      EdgeCount:       69
      CyclomaticComplexity: 20
      functionsReached:
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'apdu.c:661,3'
          Dst:             sc_do_log
        - Src:             'apdu.c:675,3'
          Dst:             sc_do_log
        - Src:             'apdu.c:697,5'
          Dst:             sc_do_log
        - Src:             'apdu.c:710,6'
          Dst:             sc_do_log
        - Src:             'apdu.c:735,5'
          Dst:             sc_do_log
        - Src:             'apdu.c:755,3'
          Dst:             sc_do_log
        - Src:             'apdu.c:759,2'
          Dst:             sc_do_log
    - functionName:    sc_transmit
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 508
      functionLinenumberEnd: 538
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          187
      EdgeCount:       40
      CyclomaticComplexity: 10
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_response
        - sc_set_le_and_transmit
        - sc_single_transmit
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'apdu.c:513,2'
          Dst:             sc_do_log
        - Src:             'apdu.c:515,6'
          Dst:             sc_single_transmit
        - Src:             'apdu.c:516,2'
          Dst:             sc_strerror
        - Src:             'apdu.c:516,2'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:523,7'
          Dst:             sc_set_le_and_transmit
        - Src:             'apdu.c:524,3'
          Dst:             sc_strerror
        - Src:             'apdu.c:524,3'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:533,7'
          Dst:             sc_get_response
        - Src:             'apdu.c:534,3'
          Dst:             sc_strerror
        - Src:             'apdu.c:534,3'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:537,2'
          Dst:             sc_strerror
        - Src:             'apdu.c:537,2'
          Dst:             sc_do_log_color
        - Src:             'apdu.c:537,2'
          Dst:             sc_do_log
    - functionName:    sc_detect_apdu_cse
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 341
      functionLinenumberEnd: 354
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          106
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sc_transmit_apdu
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 542
      functionLinenumberEnd: 647
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         57
      ICount:          364
      EdgeCount:       76
      CyclomaticComplexity: 21
      functionsReached:
        - sc_check_apdu
        - sc_check_sw
        - sc_detect_apdu_cse
        - sc_do_log
        - sc_get_max_send_size
        - sc_lock
        - sc_transmit
        - sc_unlock
      functionUses:    436
      BranchProfiles:  []
      Callsites:
        - Src:             'apdu.c:548,2'
          Dst:             sc_do_log
        - Src:             'apdu.c:552,2'
          Dst:             sc_detect_apdu_cse
        - Src:             'apdu.c:554,6'
          Dst:             sc_check_apdu
        - Src:             'apdu.c:558,6'
          Dst:             sc_lock
        - Src:             'apdu.c:560,3'
          Dst:             sc_do_log
        - Src:             'apdu.c:568,3'
          Dst:             sc_do_log
        - Src:             'apdu.c:569,7'
          Dst:             sc_transmit
        - Src:             'apdu.c:577,29'
          Dst:             sc_get_max_send_size
        - Src:             'apdu.c:607,8'
          Dst:             sc_check_apdu
        - Src:             'apdu.c:609,5'
          Dst:             sc_do_log
        - Src:             'apdu.c:613,8'
          Dst:             sc_transmit
        - Src:             'apdu.c:624,9'
          Dst:             sc_check_sw
        - Src:             'apdu.c:633,7'
          Dst:             sc_transmit
        - Src:             'apdu.c:643,6'
          Dst:             sc_unlock
        - Src:             'apdu.c:644,3'
          Dst:             sc_do_log
    - functionName:    sc_check_apdu
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 257
      functionLinenumberEnd: 333
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         74
      ICount:          404
      EdgeCount:       99
      CyclomaticComplexity: 27
      functionsReached:
        - sc_do_log
      functionUses:    3
      BranchProfiles:
        - Branch String:   'apdu.c:281,2'
          Branch Sides:    []
      Callsites:
        - Src:             'apdu.c:261,4'
          Dst:             sc_do_log
        - Src:             'apdu.c:268,4'
          Dst:             sc_do_log
        - Src:             'apdu.c:273,4'
          Dst:             sc_do_log
        - Src:             'apdu.c:318,3'
          Dst:             sc_do_log
        - Src:             'apdu.c:323,2'
          Dst:             sc_do_log
    - functionName:    sc_apdu_set_resp
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 203
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          96
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - sc_do_log
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'apdu.c:206,3'
          Dst:             sc_do_log
    - functionName:    sc_apdu_get_octets
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 199
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          99
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - sc_apdu2bytes
        - sc_apdu_get_length
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'apdu.c:184,9'
          Dst:             sc_apdu_get_length
        - Src:             'apdu.c:191,6'
          Dst:             sc_apdu2bytes
    - functionName:    sc_apdu_get_length
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 73
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          124
      EdgeCount:       27
      CyclomaticComplexity: 15
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   'apdu.c:46,2'
          Branch Sides:    []
      Callsites:       []
    - functionName:    sc_apdu2bytes
      functionSourceFile: '/src/opensc/src/libopensc/apdu.c'
      linkageType:     InternalLinkage
      functionLinenumber: 85
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          347
      EdgeCount:       42
      CyclomaticComplexity: 9
      functionsReached:
        - sc_apdu_get_length
        - sc_do_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'apdu.c:98,2'
          Branch Sides:    []
      Callsites:
        - Src:             'apdu.c:88,15'
          Dst:             sc_apdu_get_length
        - Src:             'apdu.c:129,5'
          Dst:             sc_do_log
    - functionName:    sc_simpletlv_read_tag
      functionSourceFile: '/src/opensc/src/libopensc/simpletlv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 77
      functionLinenumberEnd: 112
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          112
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - lebytes2ushort
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'simpletlv.c:99,9'
          Dst:             lebytes2ushort
    - functionName:    sc_simpletlv_put_tag
      functionSourceFile: '/src/opensc/src/libopensc/simpletlv.c'
      linkageType:     InternalLinkage
      functionLinenumber: 43
      functionLinenumberEnd: 70
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - char
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          140
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    gp_get_cplc_data
      functionSourceFile: '/src/opensc/src/libopensc/gp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 82
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          220
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'gp.c:88,2'
          Dst:             sc_format_apdu
        - Src:             'gp.c:94,7'
          Dst:             sc_transmit_apdu
        - Src:             'gp.c:96,3'
          Dst:             sc_strerror
        - Src:             'gp.c:96,3'
          Dst:             sc_do_log_color
        - Src:             'gp.c:96,3'
          Dst:             sc_do_log
        - Src:             'gp.c:98,7'
          Dst:             sc_check_sw
        - Src:             'gp.c:100,3'
          Dst:             sc_strerror
        - Src:             'gp.c:100,3'
          Dst:             sc_do_log_color
        - Src:             'gp.c:100,3'
          Dst:             sc_do_log
        - Src:             'gp.c:105,3'
          Dst:             sc_strerror
        - Src:             'gp.c:105,3'
          Dst:             sc_do_log_color
        - Src:             'gp.c:105,3'
          Dst:             sc_do_log
        - Src:             'gp.c:107,2'
          Dst:             sc_strerror
        - Src:             'gp.c:107,2'
          Dst:             sc_do_log_color
        - Src:             'gp.c:107,2'
          Dst:             sc_do_log
    - functionName:    gp_select_isd_rid
      functionSourceFile: '/src/opensc/src/libopensc/gp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 76
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          61
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - gp_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'gp.c:74,2'
          Dst:             sc_do_log
        - Src:             'gp.c:75,7'
          Dst:             gp_select_aid
        - Src:             'gp.c:76,2'
          Dst:             sc_strerror
        - Src:             'gp.c:76,2'
          Dst:             sc_do_log_color
        - Src:             'gp.c:76,2'
          Dst:             sc_do_log
    - functionName:    gp_select_aid
      functionSourceFile: '/src/opensc/src/libopensc/gp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 50
      functionLinenumberEnd: 54
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          69
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - iso7816_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'gp.c:52,2'
          Dst:             sc_do_log
        - Src:             'gp.c:53,7'
          Dst:             iso7816_select_aid
        - Src:             'gp.c:54,2'
          Dst:             sc_strerror
        - Src:             'gp.c:54,2'
          Dst:             sc_do_log_color
        - Src:             'gp.c:54,2'
          Dst:             sc_do_log
    - functionName:    gp_select_card_manager
      functionSourceFile: '/src/opensc/src/libopensc/gp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 60
      functionLinenumberEnd: 65
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          61
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - gp_select_aid
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'gp.c:63,2'
          Dst:             sc_do_log
        - Src:             'gp.c:64,7'
          Dst:             gp_select_aid
        - Src:             'gp.c:65,2'
          Dst:             sc_strerror
        - Src:             'gp.c:65,2'
          Dst:             sc_do_log_color
        - Src:             'gp.c:65,2'
          Dst:             sc_do_log
    - functionName:    msc_import_key
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 904
      functionLinenumberEnd: 1007
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         135
      ICount:          1012
      EdgeCount:       177
      CyclomaticComplexity: 44
      functionsReached:
        - msc_create_object
        - msc_delete_object
        - msc_update_object
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - ushort2bebytes
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:916,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:916,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:916,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:921,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:921,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:921,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:928,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:928,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:928,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:930,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:930,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:930,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:941,14'
          Dst:             sc_strerror
        - Src:             'muscle.c:941,14'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:941,14'
          Dst:             sc_do_log
        - Src:             'muscle.c:945,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:948,3'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:949,3'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:951,3'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:952,3'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:953,3'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:954,3'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:955,3'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:958,6'
          Dst:             msc_create_object
        - Src:             'muscle.c:961,8'
          Dst:             msc_delete_object
        - Src:             'muscle.c:964,5'
          Dst:             sc_strerror
        - Src:             'muscle.c:964,5'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:964,5'
          Dst:             sc_do_log
        - Src:             'muscle.c:966,8'
          Dst:             msc_create_object
        - Src:             'muscle.c:969,5'
          Dst:             sc_strerror
        - Src:             'muscle.c:969,5'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:969,5'
          Dst:             sc_do_log
        - Src:             'muscle.c:974,6'
          Dst:             msc_update_object
        - Src:             'muscle.c:979,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:984,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:985,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:986,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:987,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:988,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:988,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:990,3'
          Dst:             msc_delete_object
        - Src:             'muscle.c:993,6'
          Dst:             sc_check_sw
        - Src:             'muscle.c:996,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:1000,3'
          Dst:             msc_delete_object
        - Src:             'muscle.c:1001,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:1001,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:1001,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:1004,2'
          Dst:             msc_delete_object
        - Src:             'muscle.c:1006,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:1006,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:1006,2'
          Dst:             sc_do_log
    - functionName:    msc_create_object
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 138
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - size_t
        - short
        - short
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         43
      ICount:          286
      EdgeCount:       54
      CyclomaticComplexity: 13
      functionsReached:
        - msc_zero_object
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - ulong2bebytes
        - ushort2bebytes
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:143,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:149,2'
          Dst:             ulong2bebytes
        - Src:             'muscle.c:150,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:151,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:152,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:153,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:154,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:154,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:159,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:159,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:159,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:161,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:161,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:161,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:163,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:163,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:163,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:167,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:170,2'
          Dst:             msc_zero_object
    - functionName:    msc_delete_object
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 229
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          211
      EdgeCount:       44
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:233,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:237,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:238,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:238,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:243,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:243,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:243,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:245,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:245,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:245,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:249,3'
          Dst:             sc_do_log
    - functionName:    msc_update_object
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 217
      functionLinenumberEnd: 226
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          124
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached:
        - msc_partial_update_object
        - sc_do_log_color
        - sc_strerror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:222,7'
          Dst:             msc_partial_update_object
        - Src:             'muscle.c:223,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:223,3'
          Dst:             sc_do_log_color
    - functionName:    msc_partial_update_object
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 214
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          312
      EdgeCount:       61
      CyclomaticComplexity: 15
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - ulong2bebytes
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:184,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:187,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:190,2'
          Dst:             ulong2bebytes
        - Src:             'muscle.c:195,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:196,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:196,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:201,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:201,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:201,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:203,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:203,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:203,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:206,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:206,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:206,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:210,3'
          Dst:             sc_do_log
    - functionName:    msc_zero_object
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 135
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          145
      EdgeCount:       30
      CyclomaticComplexity: 8
      functionsReached:
        - msc_partial_update_object
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:131,11'
          Dst:             msc_partial_update_object
        - Src:             'muscle.c:132,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:132,3'
          Dst:             sc_do_log_color
    - functionName:    msc_compute_crypt_final_object
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 772
      functionLinenumberEnd: 833
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          363
      EdgeCount:       64
      CyclomaticComplexity: 16
      functionsReached:
        - msc_create_object
        - msc_delete_object
        - msc_read_object
        - msc_update_object
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:778,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:793,6'
          Dst:             msc_create_object
        - Src:             'muscle.c:796,8'
          Dst:             msc_delete_object
        - Src:             'muscle.c:798,5'
          Dst:             sc_strerror
        - Src:             'muscle.c:798,5'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:798,5'
          Dst:             sc_do_log
        - Src:             'muscle.c:800,8'
          Dst:             msc_create_object
        - Src:             'muscle.c:802,5'
          Dst:             sc_strerror
        - Src:             'muscle.c:802,5'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:802,5'
          Dst:             sc_do_log
        - Src:             'muscle.c:807,6'
          Dst:             msc_update_object
        - Src:             'muscle.c:810,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:811,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:811,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:813,7'
          Dst:             msc_read_object
        - Src:             'muscle.c:816,3'
          Dst:             msc_delete_object
        - Src:             'muscle.c:817,3'
          Dst:             msc_delete_object
        - Src:             'muscle.c:820,6'
          Dst:             sc_check_sw
        - Src:             'muscle.c:823,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:830,2'
          Dst:             msc_delete_object
        - Src:             'muscle.c:832,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:832,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:832,2'
          Dst:             sc_do_log
    - functionName:    msc_read_object
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          136
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - msc_partial_read_object
        - sc_do_log_color
        - sc_strerror
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:115,7'
          Dst:             msc_partial_read_object
        - Src:             'muscle.c:116,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:116,3'
          Dst:             sc_do_log_color
    - functionName:    msc_partial_read_object
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 72
      functionLinenumberEnd: 106
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          312
      EdgeCount:       58
      CyclomaticComplexity: 14
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - ulong2bebytes
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:77,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:79,2'
          Dst:             sc_do_log
        - Src:             'muscle.c:81,2'
          Dst:             ulong2bebytes
        - Src:             'muscle.c:89,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:90,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:90,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:95,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:95,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:95,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:97,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:97,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:97,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:100,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:100,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:100,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:103,2'
          Dst:             sc_do_log
        - Src:             'muscle.c:105,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:105,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:105,2'
          Dst:             sc_do_log
    - functionName:    msc_compute_crypt
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 843
      functionLinenumberEnd: 894
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          340
      EdgeCount:       60
      CyclomaticComplexity: 14
      functionsReached:
        - msc_compute_crypt_final
        - msc_compute_crypt_final_object
        - msc_compute_crypt_init
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:853,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:853,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:853,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:857,6'
          Dst:             msc_compute_crypt_init
        - Src:             'muscle.c:865,12'
          Dst:             sc_strerror
        - Src:             'muscle.c:865,12'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:865,12'
          Dst:             sc_do_log
        - Src:             'muscle.c:875,7'
          Dst:             msc_compute_crypt_final
        - Src:             'muscle.c:881,13'
          Dst:             sc_strerror
        - Src:             'muscle.c:881,13'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:881,13'
          Dst:             sc_do_log
        - Src:             'muscle.c:883,7'
          Dst:             msc_compute_crypt_final_object
        - Src:             'muscle.c:889,13'
          Dst:             sc_strerror
        - Src:             'muscle.c:889,13'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:889,13'
          Dst:             sc_do_log
    - functionName:    msc_compute_crypt_init
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 658
      functionLinenumberEnd: 706
      functionDepth:   0
      returnType:      int
      argCount:        8
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          371
      EdgeCount:       55
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:665,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:682,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:683,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:683,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:687,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:687,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:687,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:690,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:690,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:690,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:697,6'
          Dst:             sc_check_sw
        - Src:             'muscle.c:700,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:703,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:703,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:703,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:705,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:705,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:705,2'
          Dst:             sc_do_log
    - functionName:    msc_compute_crypt_final
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 715
      functionLinenumberEnd: 762
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          353
      EdgeCount:       55
      CyclomaticComplexity: 13
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:722,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:738,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:739,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:739,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:743,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:743,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:743,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:746,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:746,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:746,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:753,6'
          Dst:             sc_check_sw
        - Src:             'muscle.c:756,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:759,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:759,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:759,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:761,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:761,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:761,2'
          Dst:             sc_do_log
    - functionName:    msc_extract_rsa_public_key
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 601
      functionLinenumberEnd: 644
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         70
      ICount:          501
      EdgeCount:       87
      CyclomaticComplexity: 19
      functionsReached:
        - msc_extract_key
        - msc_read_object
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:606,6'
          Dst:             msc_extract_key
        - Src:             'muscle.c:607,12'
          Dst:             sc_strerror
        - Src:             'muscle.c:607,12'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:607,12'
          Dst:             sc_do_log
        - Src:             'muscle.c:610,6'
          Dst:             msc_read_object
        - Src:             'muscle.c:612,12'
          Dst:             sc_strerror
        - Src:             'muscle.c:612,12'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:612,12'
          Dst:             sc_do_log
        - Src:             'muscle.c:614,34'
          Dst:             sc_strerror
        - Src:             'muscle.c:614,34'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:614,34'
          Dst:             sc_do_log
        - Src:             'muscle.c:619,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:619,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:619,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:620,6'
          Dst:             msc_read_object
        - Src:             'muscle.c:622,12'
          Dst:             sc_strerror
        - Src:             'muscle.c:622,12'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:622,12'
          Dst:             sc_do_log
        - Src:             'muscle.c:625,16'
          Dst:             sc_strerror
        - Src:             'muscle.c:625,16'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:625,16'
          Dst:             sc_do_log
        - Src:             'muscle.c:632,6'
          Dst:             msc_read_object
        - Src:             'muscle.c:635,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:635,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:635,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:640,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:640,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:640,3'
          Dst:             sc_do_log
    - functionName:    msc_extract_key
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 570
      functionLinenumberEnd: 593
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          189
      EdgeCount:       35
      CyclomaticComplexity: 9
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:575,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:579,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:580,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:580,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:584,6'
          Dst:             sc_check_sw
        - Src:             'muscle.c:587,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:590,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:590,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:590,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:592,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:592,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:592,2'
          Dst:             sc_do_log
    - functionName:    msc_generate_keypair
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 514
      functionLinenumberEnd: 566
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          321
      EdgeCount:       49
      CyclomaticComplexity: 12
      functionsReached:
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - ushort2bebytes
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:523,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:523,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:523,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:525,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:529,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:532,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:534,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:536,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:539,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:541,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:543,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:552,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:553,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:553,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:557,6'
          Dst:             sc_check_sw
        - Src:             'muscle.c:560,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:563,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:563,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:563,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:565,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:565,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:565,2'
          Dst:             sc_do_log
    - functionName:    msc_get_challenge
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 434
      functionLinenumberEnd: 511
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - short
        - short
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         112
      ICount:          750
      EdgeCount:       142
      CyclomaticComplexity: 32
      functionsReached:
        - msc_delete_object
        - msc_read_object
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
        - ushort2bebytes
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:445,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:445,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:445,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:448,14'
          Dst:             sc_strerror
        - Src:             'muscle.c:448,14'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:448,14'
          Dst:             sc_do_log
        - Src:             'muscle.c:450,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:452,2'
          Dst:             ushort2bebytes
        - Src:             'muscle.c:457,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:466,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:466,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:466,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:472,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:478,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:478,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:483,8'
          Dst:             sc_check_sw
        - Src:             'muscle.c:486,6'
          Dst:             sc_do_log
        - Src:             'muscle.c:489,5'
          Dst:             sc_strerror
        - Src:             'muscle.c:489,5'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:489,5'
          Dst:             sc_do_log
        - Src:             'muscle.c:491,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:491,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:491,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:495,8'
          Dst:             sc_check_sw
        - Src:             'muscle.c:498,6'
          Dst:             sc_do_log
        - Src:             'muscle.c:501,5'
          Dst:             sc_strerror
        - Src:             'muscle.c:501,5'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:501,5'
          Dst:             sc_do_log
        - Src:             'muscle.c:503,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:503,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:503,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:505,7'
          Dst:             msc_read_object
        - Src:             'muscle.c:507,4'
          Dst:             sc_strerror
        - Src:             'muscle.c:507,4'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:507,4'
          Dst:             sc_do_log
        - Src:             'muscle.c:508,3'
          Dst:             msc_delete_object
        - Src:             'muscle.c:509,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:509,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:509,3'
          Dst:             sc_do_log
    - functionName:    msc_change_pin_apdu
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 408
      functionLinenumberEnd: 431
      functionDepth:   0
      returnType:      int
      argCount:        9
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          195
      EdgeCount:       29
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - truncatePinNulls
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:412,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:412,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:412,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:414,2'
          Dst:             truncatePinNulls
        - Src:             'muscle.c:415,2'
          Dst:             truncatePinNulls
        - Src:             'muscle.c:419,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:430,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:430,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:430,2'
          Dst:             sc_do_log
    - functionName:    truncatePinNulls
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 276
      functionLinenumberEnd: 280
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          40
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    msc_change_pin
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 379
      functionLinenumberEnd: 404
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         57
      ICount:          338
      EdgeCount:       72
      CyclomaticComplexity: 17
      functionsReached:
        - msc_change_pin_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:385,6'
          Dst:             msc_change_pin_apdu
        - Src:             'muscle.c:386,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:386,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:389,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:390,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:390,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:396,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:396,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:396,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:398,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:398,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:398,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:400,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:400,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:400,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:403,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:403,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:403,2'
          Dst:             sc_do_log
    - functionName:    msc_unblock_pin_apdu
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 364
      functionLinenumberEnd: 376
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          148
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - truncatePinNulls
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:366,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:366,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:366,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:368,2'
          Dst:             truncatePinNulls
        - Src:             'muscle.c:371,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:375,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:375,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:375,2'
          Dst:             sc_do_log
    - functionName:    msc_unblock_pin
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 332
      functionLinenumberEnd: 361
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          375
      EdgeCount:       82
      CyclomaticComplexity: 19
      functionsReached:
        - msc_unblock_pin_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:339,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:339,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:339,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:341,6'
          Dst:             msc_unblock_pin_apdu
        - Src:             'muscle.c:342,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:342,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:346,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:347,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:347,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:353,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:353,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:353,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:355,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:355,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:355,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:357,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:357,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:357,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:360,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:360,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:360,2'
          Dst:             sc_do_log
    - functionName:    msc_verify_pin_apdu
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 317
      functionLinenumberEnd: 329
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          148
      EdgeCount:       26
      CyclomaticComplexity: 7
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - truncatePinNulls
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:319,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:319,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:319,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:321,2'
          Dst:             truncatePinNulls
        - Src:             'muscle.c:324,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:328,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:328,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:328,2'
          Dst:             sc_do_log
    - functionName:    msc_verify_pin
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 283
      functionLinenumberEnd: 313
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          375
      EdgeCount:       82
      CyclomaticComplexity: 19
      functionsReached:
        - msc_verify_pin_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:291,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:291,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:291,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:293,6'
          Dst:             msc_verify_pin_apdu
        - Src:             'muscle.c:294,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:294,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:298,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:299,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:299,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:305,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:305,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:305,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:307,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:307,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:307,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:309,3'
          Dst:             sc_strerror
        - Src:             'muscle.c:309,3'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:309,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:312,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:312,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:312,2'
          Dst:             sc_do_log
    - functionName:    msc_select_applet
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 256
      functionLinenumberEnd: 273
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          119
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:260,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:267,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:268,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:268,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:272,2'
          Dst:             sc_strerror
        - Src:             'muscle.c:272,2'
          Dst:             sc_do_log_color
        - Src:             'muscle.c:272,2'
          Dst:             sc_do_log
    - functionName:    msc_list_objects
      functionSourceFile: '/src/opensc/src/libopensc/muscle.c'
      linkageType:     InternalLinkage
      functionLinenumber: 37
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - char
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          147
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - bebytes2ulong
        - bebytes2ushort
        - sc_check_sw
        - sc_do_log
        - sc_format_apdu
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle.c:42,2'
          Dst:             sc_format_apdu
        - Src:             'muscle.c:46,6'
          Dst:             sc_transmit_apdu
        - Src:             'muscle.c:53,6'
          Dst:             sc_check_sw
        - Src:             'muscle.c:59,3'
          Dst:             sc_do_log
        - Src:             'muscle.c:63,15'
          Dst:             bebytes2ulong
        - Src:             'muscle.c:64,15'
          Dst:             bebytes2ushort
        - Src:             'muscle.c:65,16'
          Dst:             bebytes2ushort
        - Src:             'muscle.c:66,17'
          Dst:             bebytes2ushort
    - functionName:    mscfs_loadFileInfo
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 262
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          243
      EdgeCount:       63
      CyclomaticComplexity: 18
      functionsReached:
        - memcmp
        - mscfs_check_cache
        - mscfs_lookup_path
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle-filesystem.c:221,7'
          Dst:             mscfs_lookup_path
        - Src:             'muscle-filesystem.c:227,7'
          Dst:             mscfs_check_cache
        - Src:             'muscle-filesystem.c:236,12'
          Dst:             memcmp
        - Src:             'muscle-filesystem.c:244,33'
          Dst:             memcmp
        - Src:             'muscle-filesystem.c:244,84'
          Dst:             memcmp
        - Src:             'muscle-filesystem.c:244,136'
          Dst:             memcmp
    - functionName:    mscfs_lookup_path
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 193
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          274
      EdgeCount:       53
      CyclomaticComplexity: 15
      functionsReached:
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle-filesystem.c:157,29'
          Dst:             memcmp
        - Src:             'muscle-filesystem.c:158,29'
          Dst:             memcmp
        - Src:             'muscle-filesystem.c:169,20'
          Dst:             memcmp
        - Src:             'muscle-filesystem.c:179,26'
          Dst:             memcmp
    - functionName:    mscfs_check_cache
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 147
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - mscfs_update_cache
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle-filesystem.c:145,7'
          Dst:             mscfs_update_cache
    - functionName:    mscfs_update_cache
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 105
      functionLinenumberEnd: 139
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         27
      ICount:          172
      EdgeCount:       35
      CyclomaticComplexity: 10
      functionsReached:
        - mscfs_clear_cache
        - mscfs_is_ignored
        - mscfs_push_file
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle-filesystem.c:108,2'
          Dst:             mscfs_clear_cache
        - Src:             'muscle-filesystem.c:115,7'
          Dst:             mscfs_is_ignored
        - Src:             'muscle-filesystem.c:128,8'
          Dst:             mscfs_push_file
    - functionName:    mscfs_clear_cache
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 59
      functionLinenumberEnd: 67
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          44
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mscfs_is_ignored
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 78
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          71
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle-filesystem.c:74,11'
          Dst:             memcmp
    - functionName:    mscfs_push_file
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 103
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          131
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mscfs_check_selection
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 207
      functionLinenumberEnd: 213
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          78
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mscfs_lookup_local
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 196
      functionLinenumberEnd: 202
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          42
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mscfs_free
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 54
      functionLinenumberEnd: 57
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - mscfs_clear_cache
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'muscle-filesystem.c:55,2'
          Dst:             mscfs_clear_cache
    - functionName:    mscfs_new
      functionSourceFile: '/src/opensc/src/libopensc/muscle-filesystem.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 52
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ctbcs_init_apdu
      functionSourceFile: '/src/opensc/src/libopensc/ctbcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 34
      functionLinenumberEnd: 43
      functionDepth:   0
      returnType:      void
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          41
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ctbcs_build_modify_verification_apdu
      functionSourceFile: '/src/opensc/src/libopensc/ctbcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 116
      functionLinenumberEnd: 182
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          334
      EdgeCount:       38
      CyclomaticComplexity: 12
      functionsReached:
        - ctbcs_init_apdu
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctbcs.c:122,2'
          Dst:             ctbcs_init_apdu
        - Src:             'ctbcs.c:131,9'
          Dst:             strlen
    - functionName:    ctbcs_build_perform_verification_apdu
      functionSourceFile: '/src/opensc/src/libopensc/ctbcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 47
      functionLinenumberEnd: 112
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          318
      EdgeCount:       38
      CyclomaticComplexity: 12
      functionsReached:
        - ctbcs_init_apdu
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ctbcs.c:53,2'
          Dst:             ctbcs_init_apdu
        - Src:             'ctbcs.c:62,9'
          Dst:             strlen
    - functionName:    ctbcs_pin_cmd
      functionSourceFile: '/src/opensc/src/libopensc/ctbcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 186
      functionLinenumberEnd: 257
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          249
      EdgeCount:       41
      CyclomaticComplexity: 7
      functionsReached:
        - ctbcs_build_modify_verification_apdu
        - ctbcs_build_perform_verification_apdu
        - sc_do_log
        - sc_do_log_color
        - sc_mutex_create
        - sc_mutex_destroy
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:
        - Branch String:   'ctbcs.c:192,2'
          Branch Sides:    []
        - Branch String:   'ctbcs.c:228,2'
          Branch Sides:    []
      Callsites:
        - Src:             'ctbcs.c:194,7'
          Dst:             ctbcs_build_perform_verification_apdu
        - Src:             'ctbcs.c:200,7'
          Dst:             ctbcs_build_modify_verification_apdu
        - Src:             'ctbcs.c:205,3'
          Dst:             sc_do_log
        - Src:             'ctbcs.c:213,6'
          Dst:             sc_mutex_create
        - Src:             'ctbcs.c:219,6'
          Dst:             sc_transmit_apdu
        - Src:             'ctbcs.c:220,6'
          Dst:             sc_mutex_destroy
        - Src:             'ctbcs.c:222,3'
          Dst:             sc_do_log
        - Src:             'ctbcs.c:225,2'
          Dst:             sc_strerror
        - Src:             'ctbcs.c:225,2'
          Dst:             sc_do_log_color
        - Src:             'ctbcs.c:248,2'
          Dst:             sc_strerror
        - Src:             'ctbcs.c:248,2'
          Dst:             sc_do_log_color
    - functionName:    cardos_ec_compute_shared_value
      functionSourceFile: '/src/opensc/src/libopensc/card-cardos-common.c'
      linkageType:     InternalLinkage
      functionLinenumber: 35
      functionLinenumberEnd: 85
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          313
      EdgeCount:       57
      CyclomaticComplexity: 14
      functionsReached:
        - iso7816_fixup_transceive_length
        - sc_check_sw
        - sc_do_log
        - sc_do_log_color
        - sc_format_apdu
        - sc_mem_clear
        - sc_strerror
        - sc_transmit_apdu
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cardos-common.c:43,2'
          Dst:             sc_do_log
        - Src:             'card-cardos-common.c:44,2'
          Dst:             sc_do_log
        - Src:             'card-cardos-common.c:49,3'
          Dst:             sc_strerror
        - Src:             'card-cardos-common.c:49,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos-common.c:49,3'
          Dst:             sc_do_log
        - Src:             'card-cardos-common.c:63,2'
          Dst:             sc_format_apdu
        - Src:             'card-cardos-common.c:75,2'
          Dst:             iso7816_fixup_transceive_length
        - Src:             'card-cardos-common.c:76,6'
          Dst:             sc_transmit_apdu
        - Src:             'card-cardos-common.c:77,2'
          Dst:             sc_mem_clear
        - Src:             'card-cardos-common.c:79,2'
          Dst:             sc_strerror
        - Src:             'card-cardos-common.c:79,2'
          Dst:             sc_do_log_color
        - Src:             'card-cardos-common.c:82,3'
          Dst:             sc_strerror
        - Src:             'card-cardos-common.c:82,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos-common.c:82,3'
          Dst:             sc_do_log
        - Src:             'card-cardos-common.c:84,3'
          Dst:             sc_check_sw
        - Src:             'card-cardos-common.c:84,3'
          Dst:             sc_strerror
        - Src:             'card-cardos-common.c:84,3'
          Dst:             sc_do_log_color
        - Src:             'card-cardos-common.c:84,3'
          Dst:             sc_do_log
    - functionName:    cac_add_object_to_list
      functionSourceFile: '/src/opensc/src/libopensc/card-cac-common.c'
      linkageType:     InternalLinkage
      functionLinenumber: 121
      functionLinenumberEnd: 125
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - list_append
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac-common.c:122,6'
          Dst:             list_append
    - functionName:    cac_free_private_data
      functionSourceFile: '/src/opensc/src/libopensc/card-cac-common.c'
      linkageType:     InternalLinkage
      functionLinenumber: 110
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          33
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - list_destroy
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac-common.c:114,2'
          Dst:             list_destroy
        - Src:             'card-cac-common.c:115,2'
          Dst:             list_destroy
    - functionName:    cac_list_meter
      functionSourceFile: '/src/opensc/src/libopensc/card-cac-common.c'
      linkageType:     InternalLinkage
      functionLinenumber: 78
      functionLinenumberEnd: 79
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cac_list_compare_path
      functionSourceFile: '/src/opensc/src/libopensc/card-cac-common.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          43
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - memcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac-common.c:73,9'
          Dst:             memcmp
    - functionName:    cac_new_private_data
      functionSourceFile: '/src/opensc/src/libopensc/card-cac-common.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 107
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         20
      ICount:          98
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - cac_free_private_data
        - cac_list_compare_path
        - cac_list_meter
        - calloc
        - list_attributes_comparator
        - list_attributes_copy
        - list_init
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'card-cac-common.c:86,9'
          Dst:             calloc
        - Src:             'card-cac-common.c:91,6'
          Dst:             list_init
        - Src:             'card-cac-common.c:92,6'
          Dst:             list_attributes_comparator
        - Src:             'card-cac-common.c:92,6'
          Dst:             cac_list_compare_path
        - Src:             'card-cac-common.c:93,6'
          Dst:             list_attributes_copy
        - Src:             'card-cac-common.c:93,6'
          Dst:             cac_list_meter
        - Src:             'card-cac-common.c:94,3'
          Dst:             cac_free_private_data
        - Src:             'card-cac-common.c:99,6'
          Dst:             list_init
        - Src:             'card-cac-common.c:100,6'
          Dst:             list_attributes_comparator
        - Src:             'card-cac-common.c:100,6'
          Dst:             cac_list_compare_path
        - Src:             'card-cac-common.c:101,6'
          Dst:             list_attributes_copy
        - Src:             'card-cac-common.c:101,6'
          Dst:             cac_list_meter
        - Src:             'card-cac-common.c:102,3'
          Dst:             cac_free_private_data
    - functionName:    get_cac_label
      functionSourceFile: '/src/opensc/src/libopensc/card-cac-common.c'
      linkageType:     InternalLinkage
      functionLinenumber: 62
      functionLinenumberEnd: 67
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          35
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    awp_remove_from_object_list
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1720
      functionLinenumberEnd: 1789
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         71
      ICount:          423
      EdgeCount:       87
      CyclomaticComplexity: 18
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_profile_get_file
        - sc_read_binary
        - sc_select_file
        - sc_strerror
        - sc_update_binary
        - snprintf
      functionUses:    4
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur-awp.c:1732,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1729,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1730,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1735,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:1741,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:1744,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1744,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1747,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1748,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur-awp.c:1749,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1749,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1751,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:1752,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1752,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1754,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur-awp.c:1755,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1755,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1759,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1759,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1761,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-oberthur-awp.c:1769,9'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur-awp.c:1773,9'
          Dst:             sc_update_binary
        - Src:             'pkcs15-oberthur-awp.c:1785,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1786,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1788,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1788,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1788,2'
          Dst:             sc_do_log
    - functionName:    awp_delete_from_container
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1639
      functionLinenumberEnd: 1714
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          390
      EdgeCount:       79
      CyclomaticComplexity: 20
      functionsReached:
        - awp_new_file
        - memcmp
        - sc_delete_record
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_read_record
        - sc_select_file
        - sc_strerror
        - sc_update_record
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1646,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1647,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1649,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1650,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1650,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1652,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:1653,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1653,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1657,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1657,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1660,8'
          Dst:             sc_read_record
        - Src:             'pkcs15-oberthur-awp.c:1662,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1678,8'
          Dst:             memcmp
        - Src:             'pkcs15-oberthur-awp.c:1679,9'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur-awp.c:1681,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1685,9'
          Dst:             sc_delete_record
        - Src:             'pkcs15-oberthur-awp.c:1687,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1692,9'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur-awp.c:1694,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1698,9'
          Dst:             sc_update_record
        - Src:             'pkcs15-oberthur-awp.c:1700,5'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1710,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1711,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1713,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1713,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1713,2'
          Dst:             sc_do_log
    - functionName:    awp_new_file
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 92
      functionLinenumberEnd: 192
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          345
      EdgeCount:       61
      CyclomaticComplexity: 11
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_profile_get_file
        - sc_strerror
        - snprintf
      functionUses:    13
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur-awp.c:100,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:98,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:99,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:145,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:146,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:147,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur-awp.c:148,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:154,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:155,7'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur-awp.c:156,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:157,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:174,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:179,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:184,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:188,4'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:191,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:191,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:191,2'
          Dst:             sc_do_log
    - functionName:    awp_free_data_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1158
      functionLinenumberEnd: 1169
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          105
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    awp_set_data_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1175
      functionLinenumberEnd: 1216
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          190
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - awp_update_blob
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_create_file
        - sc_pkcs15init_update_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1180,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1181,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1190,6'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:1194,6'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:1198,6'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:1203,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur-awp.c:1207,6'
          Dst:             sc_pkcs15init_update_file
        - Src:             'pkcs15-oberthur-awp.c:1216,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1216,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1216,2'
          Dst:             sc_do_log
    - functionName:    awp_update_blob
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 199
      functionLinenumberEnd: 235
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          261
      EdgeCount:       27
      CyclomaticComplexity: 6
      functionsReached:
        - realloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    20
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur-awp.c:203,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:202,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:205,14'
          Dst:             realloc
        - Src:             'pkcs15-oberthur-awp.c:213,14'
          Dst:             realloc
        - Src:             'pkcs15-oberthur-awp.c:222,14'
          Dst:             realloc
        - Src:             'pkcs15-oberthur-awp.c:228,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:234,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:234,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:234,2'
          Dst:             sc_do_log
    - functionName:    awp_encode_data_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1108
      functionLinenumberEnd: 1153
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         42
      ICount:          316
      EdgeCount:       52
      CyclomaticComplexity: 12
      functionsReached:
        - sc_asn1_encode_object_id
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15_print_id
        - sc_strerror
        - strdup
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1115,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1118,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1118,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1122,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-oberthur-awp.c:1122,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1127,37'
          Dst:             strdup
        - Src:             'pkcs15-oberthur-awp.c:1128,18'
          Dst:             strlen
        - Src:             'pkcs15-oberthur-awp.c:1130,16'
          Dst:             strlen
        - Src:             'pkcs15-oberthur-awp.c:1132,36'
          Dst:             strdup
        - Src:             'pkcs15-oberthur-awp.c:1134,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1134,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1134,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1137,6'
          Dst:             sc_asn1_encode_object_id
        - Src:             'pkcs15-oberthur-awp.c:1138,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1138,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1144,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1144,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1152,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1152,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1152,2'
          Dst:             sc_do_log
    - functionName:    awp_create_container_record
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 271
      functionLinenumberEnd: 309
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          277
      EdgeCount:       39
      CyclomaticComplexity: 9
      functionsReached:
        - awp_new_container_entry
        - sc_append_record
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_create_file
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:276,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:277,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:282,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:282,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:282,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:286,7'
          Dst:             awp_new_container_entry
        - Src:             'pkcs15-oberthur-awp.c:289,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:290,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:290,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:290,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:300,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:302,8'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur-awp.c:305,8'
          Dst:             sc_append_record
        - Src:             'pkcs15-oberthur-awp.c:308,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:308,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:308,2'
          Dst:             sc_do_log
    - functionName:    awp_new_container_entry
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 265
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          202
      EdgeCount:       34
      CyclomaticComplexity: 8
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_get_challenge
        - sc_strerror
        - sprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:246,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:248,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:248,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:250,7'
          Dst:             sc_get_challenge
        - Src:             'pkcs15-oberthur-awp.c:251,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:251,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:260,3'
          Dst:             sprintf
        - Src:             'pkcs15-oberthur-awp.c:264,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:264,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:264,2'
          Dst:             sc_do_log
    - functionName:    awp_free_key_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 833
      functionLinenumberEnd: 837
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    awp_create_container
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 315
      functionLinenumberEnd: 340
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          172
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - awp_create_container_record
        - awp_new_file
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:320,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:321,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:323,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:324,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:324,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:325,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:327,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:328,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:328,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:331,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:332,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:334,7'
          Dst:             awp_create_container_record
        - Src:             'pkcs15-oberthur-awp.c:336,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:337,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:339,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:339,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:339,2'
          Dst:             sc_do_log
    - functionName:    awp_encode_key_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 767
      functionLinenumberEnd: 828
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          350
      EdgeCount:       51
      CyclomaticComplexity: 13
      functionsReached:
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
        - strdup
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:772,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:776,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:787,37'
          Dst:             strdup
        - Src:             'pkcs15-oberthur-awp.c:788,18'
          Dst:             strlen
        - Src:             'pkcs15-oberthur-awp.c:789,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:796,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:819,17'
          Dst:             calloc
        - Src:             'pkcs15-oberthur-awp.c:821,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:821,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:825,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:827,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:827,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:827,2'
          Dst:             sc_do_log
    - functionName:    awp_get_lv
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1224
      functionLinenumberEnd: 1251
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          156
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    awp_set_key_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 843
      functionLinenumberEnd: 914
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          376
      EdgeCount:       81
      CyclomaticComplexity: 22
      functionsReached:
        - awp_update_blob
        - cosm_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_create_file
        - sc_pkcs15init_update_file
        - sc_strerror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:848,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:849,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:853,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:853,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:855,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:860,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:862,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:864,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:868,6'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:872,6'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:877,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:879,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:884,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:888,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:894,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur-awp.c:896,8'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur-awp.c:898,8'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur-awp.c:904,6'
          Dst:             sc_pkcs15init_update_file
        - Src:             'pkcs15-oberthur-awp.c:913,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:913,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:913,2'
          Dst:             sc_do_log
    - functionName:    awp_parse_key_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1257
      functionLinenumberEnd: 1313
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         93
      ICount:          561
      EdgeCount:       116
      CyclomaticComplexity: 25
      functionsReached:
        - awp_get_lv
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1261,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1266,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1266,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1266,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1271,8'
          Dst:             awp_get_lv
        - Src:             'pkcs15-oberthur-awp.c:1272,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1272,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1274,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1274,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1274,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1278,8'
          Dst:             awp_get_lv
        - Src:             'pkcs15-oberthur-awp.c:1279,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1279,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1281,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1281,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1281,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1288,8'
          Dst:             awp_get_lv
        - Src:             'pkcs15-oberthur-awp.c:1289,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1289,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1291,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1291,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1291,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1296,9'
          Dst:             awp_get_lv
        - Src:             'pkcs15-oberthur-awp.c:1298,9'
          Dst:             awp_get_lv
        - Src:             'pkcs15-oberthur-awp.c:1300,9'
          Dst:             awp_get_lv
        - Src:             'pkcs15-oberthur-awp.c:1301,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1301,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1303,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1303,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1303,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1307,8'
          Dst:             awp_get_lv
        - Src:             'pkcs15-oberthur-awp.c:1308,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1308,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1310,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1310,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1310,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1312,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1312,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1312,2'
          Dst:             sc_do_log
    - functionName:    awp_update_container_entry
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 347
      functionLinenumberEnd: 418
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - int
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          492
      EdgeCount:       78
      CyclomaticComplexity: 15
      functionsReached:
        - awp_new_container_entry
        - sc_append_record
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_create_file
        - sc_read_record
        - sc_select_file
        - sc_strerror
        - sc_update_record
      functionUses:    2
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur-awp.c:376,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:352,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:353,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:354,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:359,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:359,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:359,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:364,8'
          Dst:             awp_new_container_entry
        - Src:             'pkcs15-oberthur-awp.c:367,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:369,9'
          Dst:             sc_read_record
        - Src:             'pkcs15-oberthur-awp.c:373,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:373,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:373,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:380,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:389,4'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:389,4'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:401,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:401,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:401,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:405,8'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:407,9'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur-awp.c:410,9'
          Dst:             sc_append_record
        - Src:             'pkcs15-oberthur-awp.c:413,8'
          Dst:             sc_update_record
        - Src:             'pkcs15-oberthur-awp.c:417,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:417,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:417,2'
          Dst:             sc_do_log
    - functionName:    awp_get_commonName
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 47
      functionLinenumberEnd: 84
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          133
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - ASN1_STRING_to_UTF8
        - ASN1_STRING_type
        - CRYPTO_free
        - X509_NAME_ENTRY_get_data
        - X509_NAME_get_entry
        - X509_NAME_get_index_by_NID
        - X509_get_subject_name
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:51,36'
          Dst:             X509_get_subject_name
        - Src:             'pkcs15-oberthur-awp.c:51,9'
          Dst:             X509_NAME_get_index_by_NID
        - Src:             'pkcs15-oberthur-awp.c:57,34'
          Dst:             X509_get_subject_name
        - Src:             'pkcs15-oberthur-awp.c:57,14'
          Dst:             X509_NAME_get_entry
        - Src:             'pkcs15-oberthur-awp.c:59,22'
          Dst:             X509_NAME_ENTRY_get_data
        - Src:             'pkcs15-oberthur-awp.c:61,12'
          Dst:             ASN1_STRING_type
        - Src:             'pkcs15-oberthur-awp.c:62,17'
          Dst:             ASN1_STRING_length
        - Src:             'pkcs15-oberthur-awp.c:64,17'
          Dst:             ASN1_STRING_get0_data
        - Src:             'pkcs15-oberthur-awp.c:64,47'
          Dst:             ASN1_STRING_length
        - Src:             'pkcs15-oberthur-awp.c:66,13'
          Dst:             ASN1_STRING_length
        - Src:             'pkcs15-oberthur-awp.c:71,8'
          Dst:             ASN1_STRING_to_UTF8
        - Src:             'pkcs15-oberthur-awp.c:79,5'
          Dst:             CRYPTO_free
    - functionName:    X509_NAME_get_index_by_NID
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_NAME_get_entry
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_NAME_ENTRY_get_data
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ASN1_STRING_type
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ASN1_STRING_to_UTF8
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    awp_free_cert_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1083
      functionLinenumberEnd: 1102
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         29
      ICount:          160
      EdgeCount:       39
      CyclomaticComplexity: 12
      functionsReached:
        - X509_free
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1098,4'
          Dst:             X509_free
    - functionName:    awp_update_key_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1319
      functionLinenumberEnd: 1372
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          252
      EdgeCount:       43
      CyclomaticComplexity: 11
      functionsReached:
        - awp_new_file
        - awp_parse_key_info
        - awp_set_key_info
        - calloc
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_read_binary
        - sc_select_file
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1327,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1329,11'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1330,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1330,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1331,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1333,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur-awp.c:1335,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1339,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:1341,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1345,8'
          Dst:             calloc
        - Src:             'pkcs15-oberthur-awp.c:1347,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1347,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1349,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-oberthur-awp.c:1351,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1357,7'
          Dst:             awp_parse_key_info
        - Src:             'pkcs15-oberthur-awp.c:1359,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1364,7'
          Dst:             awp_set_key_info
        - Src:             'pkcs15-oberthur-awp.c:1365,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1365,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1367,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1368,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1369,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1371,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1371,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1371,2'
          Dst:             sc_do_log
    - functionName:    awp_update_container
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 424
      functionLinenumberEnd: 543
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         85
      ICount:          580
      EdgeCount:       113
      CyclomaticComplexity: 30
      functionsReached:
        - awp_new_file
        - awp_update_container_entry
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_read_binary
        - sc_read_record
        - sc_select_file
        - sc_strerror
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:433,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:434,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:442,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:446,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:448,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:452,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:459,8'
          Dst:             awp_update_container_entry
        - Src:             'pkcs15-oberthur-awp.c:469,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur-awp.c:476,8'
          Dst:             sc_read_record
        - Src:             'pkcs15-oberthur-awp.c:487,4'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:497,10'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:501,10'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur-awp.c:503,6'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:512,11'
          Dst:             sc_read_binary
        - Src:             'pkcs15-oberthur-awp.c:518,10'
          Dst:             memcmp
        - Src:             'pkcs15-oberthur-awp.c:519,8'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:521,14'
          Dst:             awp_update_container_entry
        - Src:             'pkcs15-oberthur-awp.c:530,5'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:539,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:540,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:543,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:543,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:543,2'
          Dst:             sc_do_log
    - functionName:    awp_update_object_list
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 634
      functionLinenumberEnd: 761
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         73
      ICount:          542
      EdgeCount:       93
      CyclomaticComplexity: 22
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15init_authenticate
        - sc_pkcs15init_create_file
        - sc_profile_get_file
        - sc_read_binary
        - sc_select_file
        - sc_strerror
        - sc_update_binary
        - snprintf
      functionUses:    4
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur-awp.c:646,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:644,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:645,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:648,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:649,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:653,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:654,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:657,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:658,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:661,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:662,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:666,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:667,3'
          Dst:             snprintf
        - Src:             'pkcs15-oberthur-awp.c:670,9'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:674,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:675,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:676,6'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur-awp.c:677,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:681,11'
          Dst:             sc_profile_get_file
        - Src:             'pkcs15-oberthur-awp.c:682,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:690,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:709,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur-awp.c:712,7'
          Dst:             sc_pkcs15init_authenticate
        - Src:             'pkcs15-oberthur-awp.c:716,7'
          Dst:             sc_select_file
        - Src:             'pkcs15-oberthur-awp.c:718,8'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur-awp.c:728,7'
          Dst:             sc_read_binary
        - Src:             'pkcs15-oberthur-awp.c:740,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:747,7'
          Dst:             sc_update_binary
        - Src:             'pkcs15-oberthur-awp.c:748,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:756,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:757,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:758,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:760,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:760,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:760,2'
          Dst:             sc_do_log
    - functionName:    awp_set_certificate_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 562
      functionLinenumberEnd: 627
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          318
      EdgeCount:       65
      CyclomaticComplexity: 19
      functionsReached:
        - awp_update_blob
        - memcmp
        - sc_do_log
        - sc_do_log_color
        - sc_pkcs15init_create_file
        - sc_pkcs15init_update_file
        - sc_strerror
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:568,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:579,40'
          Dst:             strlen
        - Src:             'pkcs15-oberthur-awp.c:580,51'
          Dst:             strlen
        - Src:             'pkcs15-oberthur-awp.c:580,7'
          Dst:             memcmp
        - Src:             'pkcs15-oberthur-awp.c:581,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:583,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:587,6'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:591,6'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:596,4'
          Dst:             memcmp
        - Src:             'pkcs15-oberthur-awp.c:597,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:600,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:605,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:608,7'
          Dst:             awp_update_blob
        - Src:             'pkcs15-oberthur-awp.c:614,6'
          Dst:             sc_pkcs15init_create_file
        - Src:             'pkcs15-oberthur-awp.c:618,6'
          Dst:             sc_pkcs15init_update_file
        - Src:             'pkcs15-oberthur-awp.c:627,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:627,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:627,2'
          Dst:             sc_do_log
    - functionName:    awp_encode_cert_info
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 920
      functionLinenumberEnd: 1078
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         104
      ICount:          708
      EdgeCount:       133
      CyclomaticComplexity: 31
      functionsReached:
        - BIO_free
        - BIO_new_mem_buf
        - CRYPTO_free
        - CRYPTO_malloc
        - ERR_clear_error
        - ERR_print_errors_fp
        - X509_dup
        - X509_free
        - X509_get_issuer_name
        - X509_get_serialNumber
        - X509_get_subject_name
        - awp_get_commonName
        - calloc
        - d2i_X509_bio
        - i2d_ASN1_INTEGER
        - i2d_X509
        - i2d_X509_NAME
        - sc_do_log
        - sc_do_log_color
        - sc_do_log_openssl
        - sc_pkcs15_print_id
        - sc_strerror
        - strdup
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:929,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:932,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:932,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:936,2'
          Dst:             sc_pkcs15_print_id
        - Src:             'pkcs15-oberthur-awp.c:936,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:940,37'
          Dst:             strdup
        - Src:             'pkcs15-oberthur-awp.c:941,18'
          Dst:             strlen
        - Src:             'pkcs15-oberthur-awp.c:943,8'
          Dst:             BIO_new_mem_buf
        - Src:             'pkcs15-oberthur-awp.c:945,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-oberthur-awp.c:946,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:946,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:949,6'
          Dst:             d2i_X509_bio
        - Src:             'pkcs15-oberthur-awp.c:951,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-oberthur-awp.c:952,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:952,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:955,9'
          Dst:             i2d_X509
        - Src:             'pkcs15-oberthur-awp.c:955,9'
          Dst:             CRYPTO_malloc
        - Src:             'pkcs15-oberthur-awp.c:957,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:957,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:962,8'
          Dst:             awp_get_commonName
        - Src:             'pkcs15-oberthur-awp.c:965,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:965,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:968,15'
          Dst:             strlen
        - Src:             'pkcs15-oberthur-awp.c:974,20'
          Dst:             X509_get_subject_name
        - Src:             'pkcs15-oberthur-awp.c:974,6'
          Dst:             i2d_X509_NAME
        - Src:             'pkcs15-oberthur-awp.c:976,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-oberthur-awp.c:978,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:978,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:984,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:984,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:993,20'
          Dst:             X509_get_issuer_name
        - Src:             'pkcs15-oberthur-awp.c:993,6'
          Dst:             i2d_X509_NAME
        - Src:             'pkcs15-oberthur-awp.c:995,3'
          Dst:             sc_do_log_openssl
        - Src:             'pkcs15-oberthur-awp.c:997,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:997,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1003,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1003,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1011,17'
          Dst:             calloc
        - Src:             'pkcs15-oberthur-awp.c:1014,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1014,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1033,36'
          Dst:             X509_get_serialNumber
        - Src:             'pkcs15-oberthur-awp.c:1033,19'
          Dst:             i2d_ASN1_INTEGER
        - Src:             'pkcs15-oberthur-awp.c:1040,37'
          Dst:             X509_get_serialNumber
        - Src:             'pkcs15-oberthur-awp.c:1040,20'
          Dst:             i2d_ASN1_INTEGER
        - Src:             'pkcs15-oberthur-awp.c:1043,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1067,13'
          Dst:             X509_dup
        - Src:             'pkcs15-oberthur-awp.c:1069,2'
          Dst:             ERR_print_errors_fp
        - Src:             'pkcs15-oberthur-awp.c:1070,2'
          Dst:             ERR_clear_error
        - Src:             'pkcs15-oberthur-awp.c:1073,9'
          Dst:             X509_free
        - Src:             'pkcs15-oberthur-awp.c:1074,11'
          Dst:             BIO_free
        - Src:             'pkcs15-oberthur-awp.c:1075,12'
          Dst:             CRYPTO_free
        - Src:             'pkcs15-oberthur-awp.c:1077,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1077,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1077,2'
          Dst:             sc_do_log
    - functionName:    X509_get_serialNumber
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    i2d_ASN1_INTEGER
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_dup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ERR_print_errors_fp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    244
      BranchProfiles:  []
      Callsites:       []
    - functionName:    awp_update_df_delete_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1897
      functionLinenumberEnd: 1922
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          192
      EdgeCount:       30
      CyclomaticComplexity: 7
      functionsReached:
        - awp_new_file
        - awp_remove_from_object_list
        - cosm_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1904,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1908,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1910,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1911,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1911,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1912,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1914,7'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur-awp.c:1916,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1916,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1918,7'
          Dst:             awp_remove_from_object_list
        - Src:             'pkcs15-oberthur-awp.c:1919,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1919,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1921,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1921,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1921,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_delete_pubkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1863
      functionLinenumberEnd: 1891
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          220
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - awp_delete_from_container
        - awp_new_file
        - awp_remove_from_object_list
        - cosm_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1870,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1874,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1876,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1877,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1877,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1878,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1880,7'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur-awp.c:1882,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1882,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1884,7'
          Dst:             awp_delete_from_container
        - Src:             'pkcs15-oberthur-awp.c:1885,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1885,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1887,7'
          Dst:             awp_remove_from_object_list
        - Src:             'pkcs15-oberthur-awp.c:1888,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1888,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1890,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1890,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1890,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_delete_prvkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1829
      functionLinenumberEnd: 1857
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          220
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - awp_delete_from_container
        - awp_new_file
        - awp_remove_from_object_list
        - cosm_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1836,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1840,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1842,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1843,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1843,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1844,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1846,7'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur-awp.c:1848,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1848,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1850,7'
          Dst:             awp_delete_from_container
        - Src:             'pkcs15-oberthur-awp.c:1851,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1851,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1853,7'
          Dst:             awp_remove_from_object_list
        - Src:             'pkcs15-oberthur-awp.c:1854,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1854,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1856,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1856,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1856,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_delete_cert
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1795
      functionLinenumberEnd: 1823
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          220
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - awp_delete_from_container
        - awp_new_file
        - awp_remove_from_object_list
        - cosm_delete_file
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1802,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1806,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1808,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1809,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1809,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1810,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1812,7'
          Dst:             cosm_delete_file
        - Src:             'pkcs15-oberthur-awp.c:1814,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1814,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1816,7'
          Dst:             awp_delete_from_container
        - Src:             'pkcs15-oberthur-awp.c:1817,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1817,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1819,7'
          Dst:             awp_remove_from_object_list
        - Src:             'pkcs15-oberthur-awp.c:1820,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1820,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1822,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1822,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1822,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_delete
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1928
      functionLinenumberEnd: 1954
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          168
      EdgeCount:       31
      CyclomaticComplexity: 5
      functionsReached:
        - awp_update_df_delete_cert
        - awp_update_df_delete_data
        - awp_update_df_delete_prvkey
        - awp_update_df_delete_pubkey
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur-awp.c:1936,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1932,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1934,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1934,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1934,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1938,8'
          Dst:             awp_update_df_delete_cert
        - Src:             'pkcs15-oberthur-awp.c:1941,8'
          Dst:             awp_update_df_delete_prvkey
        - Src:             'pkcs15-oberthur-awp.c:1944,8'
          Dst:             awp_update_df_delete_pubkey
        - Src:             'pkcs15-oberthur-awp.c:1947,8'
          Dst:             awp_update_df_delete_data
        - Src:             'pkcs15-oberthur-awp.c:1950,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1950,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1953,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1953,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1953,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_create_data
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1566
      functionLinenumberEnd: 1597
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          209
      EdgeCount:       32
      CyclomaticComplexity: 7
      functionsReached:
        - awp_encode_data_info
        - awp_free_data_info
        - awp_new_file
        - awp_set_data_info
        - awp_update_object_list
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1574,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1580,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1581,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1581,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1583,7'
          Dst:             awp_encode_data_info
        - Src:             'pkcs15-oberthur-awp.c:1584,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1584,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1586,7'
          Dst:             awp_set_data_info
        - Src:             'pkcs15-oberthur-awp.c:1587,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1587,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1589,7'
          Dst:             awp_update_object_list
        - Src:             'pkcs15-oberthur-awp.c:1590,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1590,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1593,2'
          Dst:             awp_free_data_info
        - Src:             'pkcs15-oberthur-awp.c:1594,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1595,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1597,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1597,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1597,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_create_pubkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1517
      functionLinenumberEnd: 1559
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          273
      EdgeCount:       42
      CyclomaticComplexity: 9
      functionsReached:
        - awp_encode_key_info
        - awp_free_key_info
        - awp_new_file
        - awp_set_key_info
        - awp_update_container
        - awp_update_object_list
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_decode_pubkey
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1527,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1536,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1537,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1537,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1540,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1541,7'
          Dst:             sc_pkcs15_decode_pubkey
        - Src:             'pkcs15-oberthur-awp.c:1542,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1542,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1544,7'
          Dst:             awp_encode_key_info
        - Src:             'pkcs15-oberthur-awp.c:1545,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1545,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1547,7'
          Dst:             awp_set_key_info
        - Src:             'pkcs15-oberthur-awp.c:1548,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1548,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1550,7'
          Dst:             awp_update_object_list
        - Src:             'pkcs15-oberthur-awp.c:1551,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1551,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1553,7'
          Dst:             awp_update_container
        - Src:             'pkcs15-oberthur-awp.c:1554,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1554,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1557,2'
          Dst:             awp_free_key_info
        - Src:             'pkcs15-oberthur-awp.c:1558,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1559,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1559,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1559,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_create_prvkey
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1429
      functionLinenumberEnd: 1510
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         62
      ICount:          487
      EdgeCount:       77
      CyclomaticComplexity: 17
      functionsReached:
        - awp_create_container
        - awp_encode_cert_info
        - awp_encode_key_info
        - awp_free_cert_info
        - awp_free_key_info
        - awp_new_file
        - awp_set_key_info
        - awp_update_object_list
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_pkcs15_allocate_object_content
        - sc_pkcs15_decode_pubkey
        - sc_pkcs15_find_cert_by_id
        - sc_pkcs15_find_pubkey_by_id
        - sc_pkcs15_free_certificate
        - sc_pkcs15_read_certificate
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1443,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1455,7'
          Dst:             sc_pkcs15_find_cert_by_id
        - Src:             'pkcs15-oberthur-awp.c:1463,8'
          Dst:             sc_pkcs15_read_certificate
        - Src:             'pkcs15-oberthur-awp.c:1464,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1464,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1466,8'
          Dst:             sc_pkcs15_allocate_object_content
        - Src:             'pkcs15-oberthur-awp.c:1467,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1467,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1469,8'
          Dst:             awp_encode_cert_info
        - Src:             'pkcs15-oberthur-awp.c:1470,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1470,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1472,3'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-oberthur-awp.c:1476,7'
          Dst:             sc_pkcs15_find_pubkey_by_id
        - Src:             'pkcs15-oberthur-awp.c:1482,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1483,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1483,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1486,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1487,7'
          Dst:             sc_pkcs15_decode_pubkey
        - Src:             'pkcs15-oberthur-awp.c:1488,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1488,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1490,7'
          Dst:             awp_encode_key_info
        - Src:             'pkcs15-oberthur-awp.c:1491,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1491,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1493,7'
          Dst:             awp_set_key_info
        - Src:             'pkcs15-oberthur-awp.c:1494,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1494,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1496,7'
          Dst:             awp_update_object_list
        - Src:             'pkcs15-oberthur-awp.c:1497,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1497,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1499,7'
          Dst:             awp_create_container
        - Src:             'pkcs15-oberthur-awp.c:1500,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1500,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1504,3'
          Dst:             sc_pkcs15_free_certificate
        - Src:             'pkcs15-oberthur-awp.c:1505,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1507,3'
          Dst:             awp_free_cert_info
        - Src:             'pkcs15-oberthur-awp.c:1508,2'
          Dst:             awp_free_key_info
        - Src:             'pkcs15-oberthur-awp.c:1510,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1510,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1510,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_create_cert
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1378
      functionLinenumberEnd: 1423
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          272
      EdgeCount:       46
      CyclomaticComplexity: 10
      functionsReached:
        - awp_encode_cert_info
        - awp_free_cert_info
        - awp_new_file
        - awp_set_certificate_info
        - awp_update_container
        - awp_update_key_info
        - awp_update_object_list
        - sc_do_log
        - sc_do_log_color
        - sc_file_free
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1387,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1393,7'
          Dst:             awp_new_file
        - Src:             'pkcs15-oberthur-awp.c:1394,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1394,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1397,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1398,7'
          Dst:             awp_encode_cert_info
        - Src:             'pkcs15-oberthur-awp.c:1399,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1399,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1401,7'
          Dst:             awp_set_certificate_info
        - Src:             'pkcs15-oberthur-awp.c:1402,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1402,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1404,7'
          Dst:             awp_update_object_list
        - Src:             'pkcs15-oberthur-awp.c:1405,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1405,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1407,7'
          Dst:             awp_update_container
        - Src:             'pkcs15-oberthur-awp.c:1408,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1408,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1410,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1413,8'
          Dst:             awp_update_key_info
        - Src:             'pkcs15-oberthur-awp.c:1414,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1414,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1416,2'
          Dst:             awp_free_cert_info
        - Src:             'pkcs15-oberthur-awp.c:1419,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1420,2'
          Dst:             sc_file_free
        - Src:             'pkcs15-oberthur-awp.c:1422,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1422,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1422,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_create_pin
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 550
      functionLinenumberEnd: 553
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 3
      functionsReached:
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:551,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:553,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:553,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:553,2'
          Dst:             sc_do_log
    - functionName:    awp_update_df_create
      functionSourceFile: '/src/opensc/src/pkcs15init/pkcs15-oberthur-awp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1604
      functionLinenumberEnd: 1633
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          177
      EdgeCount:       32
      CyclomaticComplexity: 5
      functionsReached:
        - awp_update_df_create_cert
        - awp_update_df_create_data
        - awp_update_df_create_pin
        - awp_update_df_create_prvkey
        - awp_update_df_create_pubkey
        - sc_do_log
        - sc_do_log_color
        - sc_strerror
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pkcs15-oberthur-awp.c:1612,2'
          Branch Sides:    []
      Callsites:
        - Src:             'pkcs15-oberthur-awp.c:1608,2'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1610,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1610,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1610,3'
          Dst:             sc_do_log
        - Src:             'pkcs15-oberthur-awp.c:1614,8'
          Dst:             awp_update_df_create_pin
        - Src:             'pkcs15-oberthur-awp.c:1617,8'
          Dst:             awp_update_df_create_cert
        - Src:             'pkcs15-oberthur-awp.c:1620,8'
          Dst:             awp_update_df_create_prvkey
        - Src:             'pkcs15-oberthur-awp.c:1623,8'
          Dst:             awp_update_df_create_pubkey
        - Src:             'pkcs15-oberthur-awp.c:1626,8'
          Dst:             awp_update_df_create_data
        - Src:             'pkcs15-oberthur-awp.c:1629,3'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1629,3'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1632,2'
          Dst:             sc_strerror
        - Src:             'pkcs15-oberthur-awp.c:1632,2'
          Dst:             sc_do_log_color
        - Src:             'pkcs15-oberthur-awp.c:1632,2'
          Dst:             sc_do_log
    - functionName:    BN_to_ASN1_UNSIGNED_INTEGER
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1573
      functionLinenumberEnd: 1603
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         23
      ICount:          112
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - ASN1_OCTET_STRING_free
        - ASN1_OCTET_STRING_new
        - ASN1_OCTET_STRING_set
        - BN_bn2buf
        - BUF_MEM_free
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1578,15'
          Dst:             ASN1_OCTET_STRING_new
        - Src:             'cv_cert.c:1583,14'
          Dst:             BN_bn2buf
        - Src:             'cv_cert.c:1588,17'
          Dst:             ASN1_OCTET_STRING_set
        - Src:             'cv_cert.c:1592,5'
          Dst:             BUF_MEM_free
        - Src:             'cv_cert.c:1598,9'
          Dst:             BUF_MEM_free
        - Src:             'cv_cert.c:1600,9'
          Dst:             ASN1_OCTET_STRING_free
    - functionName:    ASN1_OCTET_STRING_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ASN1_OCTET_STRING_set
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ASN1_OCTET_STRING_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CVC_rsa2pubkey
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1333
      functionLinenumberEnd: 1355
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          110
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - BN_to_ASN1_UNSIGNED_INTEGER
        - ERR_print_errors_fp
        - EVP_PKEY_get1_RSA
        - RSA_free
        - RSA_get0_key
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1338,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1338,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1340,11'
          Dst:             EVP_PKEY_get1_RSA
        - Src:             'cv_cert.c:1341,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1341,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1343,5'
          Dst:             RSA_get0_key
        - Src:             'cv_cert.c:1344,18'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1345,18'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1353,9'
          Dst:             RSA_free
    - functionName:    CVC_dh2pubkey
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1360
      functionLinenumberEnd: 1404
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          178
      EdgeCount:       38
      CyclomaticComplexity: 12
      functionsReached:
        - BN_free
        - BN_to_ASN1_UNSIGNED_INTEGER
        - DH_free
        - DH_get0_key
        - DH_get0_pqg
        - DH_get_order
        - ERR_print_errors_fp
        - EVP_PKEY_get1_DH
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1366,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1366,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1368,10'
          Dst:             EVP_PKEY_get1_DH
        - Src:             'cv_cert.c:1369,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1369,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1372,5'
          Dst:             DH_get0_key
        - Src:             'cv_cert.c:1373,18'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1378,9'
          Dst:             DH_get0_pqg
        - Src:             'cv_cert.c:1381,22'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1384,14'
          Dst:             DH_get_order
        - Src:             'cv_cert.c:1387,22'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1390,22'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1400,9'
          Dst:             BN_free
        - Src:             'cv_cert.c:1402,9'
          Dst:             DH_free
    - functionName:    EVP_PKEY_get1_DH
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_get0_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_get0_pqg
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CVC_eckey2pubkey
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1250
      functionLinenumberEnd: 1329
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         58
      ICount:          364
      EdgeCount:       81
      CyclomaticComplexity: 25
      functionsReached:
        - ASN1_OCTET_STRING_new
        - ASN1_OCTET_STRING_set
        - BN_CTX_end
        - BN_CTX_get
        - BN_CTX_start
        - BN_to_ASN1_UNSIGNED_INTEGER
        - BUF_MEM_free
        - EC_GROUP_get0_generator
        - EC_GROUP_get_cofactor
        - EC_GROUP_get_curve_GFp
        - EC_GROUP_get_order
        - EC_KEY_free
        - EC_KEY_get0_group
        - EC_KEY_get0_public_key
        - EC_POINT_point2mem
        - ERR_print_errors_fp
        - EVP_PKEY_get1_EC_KEY
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1257,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1257,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1259,5'
          Dst:             BN_CTX_start
        - Src:             'cv_cert.c:1260,10'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'cv_cert.c:1261,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1261,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1263,13'
          Dst:             EC_KEY_get0_group
        - Src:             'cv_cert.c:1268,44'
          Dst:             EC_KEY_get0_public_key
        - Src:             'cv_cert.c:1268,13'
          Dst:             EC_POINT_point2mem
        - Src:             'cv_cert.c:1269,18'
          Dst:             ASN1_OCTET_STRING_new
        - Src:             'cv_cert.c:1271,14'
          Dst:             ASN1_OCTET_STRING_set
        - Src:             'cv_cert.c:1279,14'
          Dst:             BN_CTX_get
        - Src:             'cv_cert.c:1280,16'
          Dst:             BN_CTX_get
        - Src:             'cv_cert.c:1281,16'
          Dst:             BN_CTX_get
        - Src:             'cv_cert.c:1282,14'
          Dst:             EC_GROUP_get_curve_GFp
        - Src:             'cv_cert.c:1286,22'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1289,22'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1292,22'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1296,17'
          Dst:             EC_GROUP_get0_generator
        - Src:             'cv_cert.c:1295,17'
          Dst:             EC_POINT_point2mem
        - Src:             'cv_cert.c:1297,22'
          Dst:             ASN1_OCTET_STRING_new
        - Src:             'cv_cert.c:1299,21'
          Dst:             ASN1_OCTET_STRING_set
        - Src:             'cv_cert.c:1304,14'
          Dst:             EC_GROUP_get_order
        - Src:             'cv_cert.c:1306,22'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1309,14'
          Dst:             EC_GROUP_get_cofactor
        - Src:             'cv_cert.c:1311,22'
          Dst:             BN_to_ASN1_UNSIGNED_INTEGER
        - Src:             'cv_cert.c:1322,9'
          Dst:             EC_KEY_free
        - Src:             'cv_cert.c:1324,9'
          Dst:             BUF_MEM_free
        - Src:             'cv_cert.c:1326,9'
          Dst:             BUF_MEM_free
        - Src:             'cv_cert.c:1327,5'
          Dst:             BN_CTX_end
    - functionName:    BN_CTX_start
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_get1_EC_KEY
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_CTX_get
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    30
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_get_curve_GFp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_get0_generator
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_get_order
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_get_cofactor
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_CTX_end
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CVC_pkey2pubkey
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1410
      functionLinenumberEnd: 1460
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - int
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          211
      EdgeCount:       53
      CyclomaticComplexity: 14
      functionsReached:
        - BN_CTX_free
        - BN_CTX_new
        - CVC_PUBKEY_free
        - CVC_PUBKEY_new
        - CVC_dh2pubkey
        - CVC_eckey2pubkey
        - CVC_rsa2pubkey
        - ERR_print_errors_fp
        - EVP_PKEY_base_id
        - OBJ_nid2obj
        - fprintf
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cv_cert.c:1434,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cv_cert.c:1414,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1414,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1417,19'
          Dst:             BN_CTX_new
        - Src:             'cv_cert.c:1426,18'
          Dst:             CVC_PUBKEY_new
        - Src:             'cv_cert.c:1431,19'
          Dst:             OBJ_nid2obj
        - Src:             'cv_cert.c:1432,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1432,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1434,13'
          Dst:             EVP_PKEY_base_id
        - Src:             'cv_cert.c:1436,18'
          Dst:             CVC_eckey2pubkey
        - Src:             'cv_cert.c:1441,18'
          Dst:             CVC_dh2pubkey
        - Src:             'cv_cert.c:1445,18'
          Dst:             CVC_rsa2pubkey
        - Src:             'cv_cert.c:1449,13'
          Dst:             fprintf
        - Src:             'cv_cert.c:1449,13'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1456,9'
          Dst:             BN_CTX_free
        - Src:             'cv_cert.c:1458,9'
          Dst:             CVC_PUBKEY_free
    - functionName:    CVC_PUBKEY_new
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 191
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:191,1'
          Dst:             ASN1_item_new
    - functionName:    OBJ_nid2obj
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CVC_PUBKEY_free
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 191
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:191,1'
          Dst:             ASN1_item_free
    - functionName:    ASN1_item_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    17
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ASN1_item_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    17
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CVC_check_description
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1206
      functionLinenumberEnd: 1245
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          148
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BUF_MEM_free
        - CVC_hash_description
        - OBJ_obj2nid
        - OPENSSL_sk_num
        - OPENSSL_sk_value
        - memcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1215,13'
          Dst:             OPENSSL_sk_num
        - Src:             'cv_cert.c:1217,13'
          Dst:             OPENSSL_sk_value
        - Src:             'cv_cert.c:1218,13'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:1225,21'
          Dst:             CVC_hash_description
        - Src:             'cv_cert.c:1230,13'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1236,38'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1236,14'
          Dst:             memcmp
        - Src:             'cv_cert.c:1243,9'
          Dst:             BUF_MEM_free
    - functionName:    OPENSSL_sk_num
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    OPENSSL_sk_value
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CVC_hash_description
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1162
      functionLinenumberEnd: 1200
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          203
      EdgeCount:       59
      CyclomaticComplexity: 17
      functionsReached:
        - BUF_MEM_create_init
        - BUF_MEM_free
        - EVP_sha1
        - EVP_sha224
        - EVP_sha256
        - EVP_sha384
        - EVP_sha512
        - OBJ_obj2nid
        - hash
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1170,11'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:1175,14'
          Dst:             EVP_sha1
        - Src:             'cv_cert.c:1179,14'
          Dst:             EVP_sha256
        - Src:             'cv_cert.c:1183,14'
          Dst:             EVP_sha512
        - Src:             'cv_cert.c:1185,14'
          Dst:             EVP_sha224
        - Src:             'cv_cert.c:1187,14'
          Dst:             EVP_sha384
        - Src:             'cv_cert.c:1193,21'
          Dst:             BUF_MEM_create_init
        - Src:             'cv_cert.c:1194,17'
          Dst:             hash
        - Src:             'cv_cert.c:1198,9'
          Dst:             BUF_MEM_free
    - functionName:    EVP_sha1
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_sha256
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_sha512
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_sha224
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_sha384
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    certificate_description_print
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1082
      functionLinenumberEnd: 1148
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         74
      ICount:          376
      EdgeCount:       100
      CyclomaticComplexity: 28
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BIO_dump_indent
        - BIO_indent
        - BIO_printf
        - BIO_puts
        - OBJ_obj2nid
        - OPENSSL_sk_num
        - OPENSSL_sk_value
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1089,10'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:1091,17'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1090,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:1094,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:1096,21'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1095,21'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:1099,10'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:1101,17'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1100,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:1104,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:1106,21'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1105,21'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:1110,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:1112,21'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1111,21'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:1116,17'
          Dst:             OPENSSL_sk_num
        - Src:             'cv_cert.c:1118,18'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:1119,25'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:1122,21'
          Dst:             OPENSSL_sk_value
        - Src:             'cv_cert.c:1123,22'
          Dst:             BIO_puts
        - Src:             'cv_cert.c:1124,65'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1124,91'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1124,29'
          Dst:             BIO_dump_indent
        - Src:             'cv_cert.c:1130,11'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:1132,18'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:1134,25'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1135,25'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1133,25'
          Dst:             BIO_printf
    - functionName:    BIO_indent
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    31
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BIO_printf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    30
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BIO_puts
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BIO_dump_indent
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cvc_chat_print_authorizations
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 906
      functionLinenumberEnd: 952
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          218
      EdgeCount:       55
      CyclomaticComplexity: 16
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BIO_indent
        - BIO_printf
        - OBJ_obj2nid
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:911,18'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:915,8'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:933,8'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:941,13'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:943,18'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:944,25'
          Dst:             BIO_printf
    - functionName:    certificate_authentication_request_print
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 877
      functionLinenumberEnd: 901
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          110
      EdgeCount:       30
      CyclomaticComplexity: 10
      functionsReached:
        - BIO_indent
        - BIO_printf
        - certificate_request_print
        - cvc_get_reference_string
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:884,11'
          Dst:             cvc_get_reference_string
        - Src:             'cv_cert.c:888,10'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:889,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:890,17'
          Dst:             certificate_request_print
        - Src:             'cv_cert.c:892,17'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:893,17'
          Dst:             BIO_printf
    - functionName:    cvc_get_reference_string
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1030
      functionLinenumberEnd: 1045
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          78
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - ERR_print_errors_fp
        - fprintf
        - is_chr
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1033,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1033,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1034,5'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1034,5'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1034,5'
          Dst:             is_chr
        - Src:             'cv_cert.c:1034,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1034,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1037,18'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1038,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1038,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1040,17'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1040,45'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1042,9'
          Dst:             ASN1_STRING_length
    - functionName:    certificate_request_print
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 826
      functionLinenumberEnd: 872
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          278
      EdgeCount:       72
      CyclomaticComplexity: 22
      functionsReached:
        - ASN1_INTEGER_get
        - BIO_indent
        - BIO_printf
        - OBJ_nid2sn
        - OBJ_obj2nid
        - OPENSSL_sk_num
        - OPENSSL_sk_value
        - cvc_get_reference_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:835,15'
          Dst:             cvc_get_reference_string
        - Src:             'cv_cert.c:840,11'
          Dst:             cvc_get_reference_string
        - Src:             'cv_cert.c:844,10'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:845,62'
          Dst:             ASN1_INTEGER_get
        - Src:             'cv_cert.c:845,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:846,17'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:847,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:848,17'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:849,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:850,17'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:853,13'
          Dst:             OPENSSL_sk_num
        - Src:             'cv_cert.c:855,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:856,21'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:860,13'
          Dst:             OPENSSL_sk_value
        - Src:             'cv_cert.c:861,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:862,56'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:862,45'
          Dst:             OBJ_nid2sn
        - Src:             'cv_cert.c:862,21'
          Dst:             BIO_printf
    - functionName:    ASN1_INTEGER_get
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    12
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CVC_verify_authentication_request_signatures
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 764
      functionLinenumberEnd: 821
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          259
      EdgeCount:       50
      CyclomaticComplexity: 16
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BUF_MEM_create
        - BUF_MEM_create_init
        - BUF_MEM_free
        - CRYPTO_free
        - CVC_verify_request_signature
        - EAC_verify
        - TA_CTX_import_certificate
        - i2d_CVC_CERT_REQUEST
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:778,13'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:779,13'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:785,9'
          Dst:             TA_CTX_import_certificate
        - Src:             'cv_cert.c:791,19'
          Dst:             i2d_CVC_CERT_REQUEST
        - Src:             'cv_cert.c:795,13'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:794,12'
          Dst:             BUF_MEM_create
        - Src:             'cv_cert.c:799,13'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:800,13'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:803,13'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:804,13'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:802,23'
          Dst:             BUF_MEM_create_init
        - Src:             'cv_cert.c:806,9'
          Dst:             EAC_verify
        - Src:             'cv_cert.c:811,9'
          Dst:             CVC_verify_request_signature
        - Src:             'cv_cert.c:815,9'
          Dst:             CRYPTO_free
        - Src:             'cv_cert.c:817,9'
          Dst:             BUF_MEM_free
        - Src:             'cv_cert.c:819,9'
          Dst:             BUF_MEM_free
    - functionName:    i2d_CVC_CERT_REQUEST
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 290
      functionLinenumberEnd: 290
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:290,1'
          Dst:             ASN1_item_i2d
    - functionName:    CVC_verify_request_signature
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 702
      functionLinenumberEnd: 758
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         59
      ICount:          316
      EdgeCount:       82
      CyclomaticComplexity: 25
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BUF_MEM_create_init
        - BUF_MEM_free
        - CRYPTO_free
        - CVC_pubkey2eckey
        - CVC_pubkey2rsa
        - EAC_verify
        - ERR_print_errors_fp
        - EVP_PKEY_free
        - EVP_PKEY_new
        - OBJ_obj2nid
        - fprintf
        - i2d_CVC_CERT_REQUEST_BODY
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:712,11'
          Dst:             EVP_PKEY_new
        - Src:             'cv_cert.c:716,11'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:722,14'
          Dst:             CVC_pubkey2eckey
        - Src:             'cv_cert.c:730,14'
          Dst:             CVC_pubkey2rsa
        - Src:             'cv_cert.c:733,9'
          Dst:             fprintf
        - Src:             'cv_cert.c:733,9'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:737,16'
          Dst:             i2d_CVC_CERT_REQUEST_BODY
        - Src:             'cv_cert.c:740,16'
          Dst:             BUF_MEM_create_init
        - Src:             'cv_cert.c:743,43'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:744,9'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:743,23'
          Dst:             BUF_MEM_create_init
        - Src:             'cv_cert.c:746,9'
          Dst:             EAC_verify
        - Src:             'cv_cert.c:750,9'
          Dst:             EVP_PKEY_free
        - Src:             'cv_cert.c:752,9'
          Dst:             CRYPTO_free
        - Src:             'cv_cert.c:754,9'
          Dst:             BUF_MEM_free
        - Src:             'cv_cert.c:756,9'
          Dst:             BUF_MEM_free
    - functionName:    CVC_pubkey2eckey
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 573
      functionLinenumberEnd: 639
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          281
      EdgeCount:       70
      CyclomaticComplexity: 22
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - EAC_ec_key_from_asn1
        - EC_KEY_check_key
        - EC_KEY_free
        - EC_KEY_get0_group
        - EC_KEY_new
        - EC_KEY_set_public_key
        - EC_POINT_free
        - EC_POINT_new
        - EC_POINT_oct2point
        - ERR_print_errors_fp
        - EVP_PKEY_base_id
        - EVP_PKEY_get1_EC_KEY
        - EVP_PKEY_set1_EC_KEY
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:583,14'
          Dst:             EC_KEY_new
        - Src:             'cv_cert.c:587,14'
          Dst:             EAC_ec_key_from_asn1
        - Src:             'cv_cert.c:595,13'
          Dst:             fprintf
        - Src:             'cv_cert.c:595,13'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:599,14'
          Dst:             EVP_PKEY_set1_EC_KEY
        - Src:             'cv_cert.c:604,9'
          Dst:             fprintf
        - Src:             'cv_cert.c:604,9'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:613,9'
          Dst:             EVP_PKEY_base_id
        - Src:             'cv_cert.c:613,9'
          Dst:             fprintf
        - Src:             'cv_cert.c:613,9'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:616,14'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'cv_cert.c:617,9'
          Dst:             fprintf
        - Src:             'cv_cert.c:617,9'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:619,17'
          Dst:             EC_KEY_get0_group
        - Src:             'cv_cert.c:620,17'
          Dst:             EC_POINT_new
        - Src:             'cv_cert.c:621,9'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:621,9'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:621,9'
          Dst:             EC_POINT_oct2point
        - Src:             'cv_cert.c:621,9'
          Dst:             EC_KEY_set_public_key
        - Src:             'cv_cert.c:621,9'
          Dst:             EC_KEY_check_key
        - Src:             'cv_cert.c:621,9'
          Dst:             fprintf
        - Src:             'cv_cert.c:621,9'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:635,9'
          Dst:             EC_POINT_free
        - Src:             'cv_cert.c:637,9'
          Dst:             EC_KEY_free
    - functionName:    CVC_pubkey2rsa
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 538
      functionLinenumberEnd: 567
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          119
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BN_bin2bn
        - ERR_print_errors_fp
        - EVP_PKEY_set1_RSA
        - RSA_free
        - RSA_new
        - RSA_set0_key
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:546,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:546,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:548,11'
          Dst:             RSA_new
        - Src:             'cv_cert.c:552,5'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:552,5'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:552,5'
          Dst:             BN_bin2bn
        - Src:             'cv_cert.c:552,5'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:552,5'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:552,5'
          Dst:             BN_bin2bn
        - Src:             'cv_cert.c:552,5'
          Dst:             RSA_set0_key
        - Src:             'cv_cert.c:552,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:552,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:561,10'
          Dst:             EVP_PKEY_set1_RSA
        - Src:             'cv_cert.c:565,9'
          Dst:             RSA_free
    - functionName:    i2d_CVC_CERT_REQUEST_BODY
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 277
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:277,1'
          Dst:             ASN1_item_i2d
    - functionName:    ASN1_item_i2d
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    17
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_set1_RSA
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_ec_key_from_asn1
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1467
      functionLinenumberEnd: 1568
      functionDepth:   0
      returnType:      int
      argCount:        9
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         101
      ICount:          505
      EdgeCount:       142
      CyclomaticComplexity: 43
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BN_CTX_end
        - BN_CTX_free
        - BN_CTX_get
        - BN_CTX_new
        - BN_CTX_start
        - BN_bin2bn
        - EC_GROUP_clear_free
        - EC_GROUP_new_curve_GFp
        - EC_GROUP_set_generator
        - EC_KEY_free
        - EC_KEY_new
        - EC_KEY_set_group
        - EC_KEY_set_public_key
        - EC_POINT_clear_free
        - EC_POINT_new
        - EC_POINT_oct2point
        - ERR_print_errors_fp
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1476,5'
          Dst:             fprintf
        - Src:             'cv_cert.c:1476,5'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1482,22'
          Dst:             BN_CTX_new
        - Src:             'cv_cert.c:1483,9'
          Dst:             fprintf
        - Src:             'cv_cert.c:1483,9'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:1486,5'
          Dst:             BN_CTX_start
        - Src:             'cv_cert.c:1487,12'
          Dst:             BN_CTX_get
        - Src:             'cv_cert.c:1488,12'
          Dst:             BN_CTX_get
        - Src:             'cv_cert.c:1489,12'
          Dst:             BN_CTX_get
        - Src:             'cv_cert.c:1490,16'
          Dst:             BN_CTX_get
        - Src:             'cv_cert.c:1491,19'
          Dst:             BN_CTX_get
        - Src:             'cv_cert.c:1497,20'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1497,46'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1497,10'
          Dst:             BN_bin2bn
        - Src:             'cv_cert.c:1498,20'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1498,46'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1498,10'
          Dst:             BN_bin2bn
        - Src:             'cv_cert.c:1499,20'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1499,46'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1499,10'
          Dst:             BN_bin2bn
        - Src:             'cv_cert.c:1502,17'
          Dst:             EC_GROUP_new_curve_GFp
        - Src:             'cv_cert.c:1508,20'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1508,53'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1508,10'
          Dst:             BN_bin2bn
        - Src:             'cv_cert.c:1509,20'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1509,55'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1509,10'
          Dst:             BN_bin2bn
        - Src:             'cv_cert.c:1512,17'
          Dst:             EC_POINT_new
        - Src:             'cv_cert.c:1516,47'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1517,13'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1516,10'
          Dst:             EC_POINT_oct2point
        - Src:             'cv_cert.c:1520,10'
          Dst:             EC_GROUP_set_generator
        - Src:             'cv_cert.c:1524,15'
          Dst:             EC_KEY_new
        - Src:             'cv_cert.c:1531,9'
          Dst:             EC_KEY_set_group
        - Src:             'cv_cert.c:1536,21'
          Dst:             EC_POINT_new
        - Src:             'cv_cert.c:1540,51'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1541,17'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1540,14'
          Dst:             EC_POINT_oct2point
        - Src:             'cv_cert.c:1544,14'
          Dst:             EC_KEY_set_public_key
        - Src:             'cv_cert.c:1555,9'
          Dst:             EC_KEY_free
        - Src:             'cv_cert.c:1557,9'
          Dst:             EC_GROUP_clear_free
        - Src:             'cv_cert.c:1559,9'
          Dst:             EC_POINT_clear_free
        - Src:             'cv_cert.c:1561,9'
          Dst:             EC_POINT_clear_free
        - Src:             'cv_cert.c:1563,9'
          Dst:             BN_CTX_end
        - Src:             'cv_cert.c:1565,9'
          Dst:             BN_CTX_free
    - functionName:    EVP_PKEY_set1_EC_KEY
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_POINT_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_POINT_oct2point
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_set_public_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_check_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_POINT_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_new_curve_GFp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_set_generator
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_set_group
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_clear_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_POINT_clear_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cvc_get_chat
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1152
      functionLinenumberEnd: 1158
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          36
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cvc_chat_print
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 957
      functionLinenumberEnd: 1013
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          276
      EdgeCount:       84
      CyclomaticComplexity: 22
      functionsReached:
        - ASN1_STRING_get0_data
        - BIO_indent
        - BIO_printf
        - CVC_get_role
        - OBJ_obj2nid
        - cvc_chat_print_authorizations
      functionUses:    2
      BranchProfiles:
        - Branch String:   'cv_cert.c:989,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cv_cert.c:962,17'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:966,11'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:968,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:969,21'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:972,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:973,21'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:976,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:977,21'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:980,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:981,21'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:985,5'
          Dst:             cvc_chat_print_authorizations
        - Src:             'cv_cert.c:988,12'
          Dst:             CVC_get_role
        - Src:             'cv_cert.c:991,18'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:992,25'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:997,18'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:998,25'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:1002,18'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:1003,25'
          Dst:             BIO_printf
    - functionName:    CVC_get_role
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 470
      functionLinenumberEnd: 478
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          68
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:472,17'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:473,16'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:477,13'
          Dst:             ASN1_STRING_get0_data
    - functionName:    CVC_get_profile_identifier
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1018
      functionLinenumberEnd: 1026
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          75
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - ASN1_INTEGER_get
        - ASN1_STRING_get0_data
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1022,18'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1024,9'
          Dst:             ASN1_INTEGER_get
    - functionName:    CVC_print
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 644
      functionLinenumberEnd: 697
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          343
      EdgeCount:       93
      CyclomaticComplexity: 29
      functionsReached:
        - BIO_indent
        - BIO_printf
        - CVC_get_car
        - CVC_get_chr
        - CVC_get_effective_date
        - CVC_get_expiration_date
        - CVC_get_profile_identifier
        - OBJ_nid2sn
        - OBJ_obj2nid
        - OPENSSL_sk_num
        - OPENSSL_sk_value
        - cvc_chat_print
        - cvc_get_chat
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:653,22'
          Dst:             CVC_get_effective_date
        - Src:             'cv_cert.c:654,23'
          Dst:             CVC_get_expiration_date
        - Src:             'cv_cert.c:655,11'
          Dst:             CVC_get_car
        - Src:             'cv_cert.c:656,11'
          Dst:             CVC_get_chr
        - Src:             'cv_cert.c:661,10'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:662,61'
          Dst:             CVC_get_profile_identifier
        - Src:             'cv_cert.c:662,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:663,17'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:664,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:665,17'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:666,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:667,17'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:668,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:669,37'
          Dst:             cvc_get_chat
        - Src:             'cv_cert.c:669,17'
          Dst:             cvc_chat_print
        - Src:             'cv_cert.c:670,17'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:671,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:672,17'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:673,17'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:676,13'
          Dst:             OPENSSL_sk_num
        - Src:             'cv_cert.c:678,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:679,21'
          Dst:             BIO_printf
        - Src:             'cv_cert.c:683,13'
          Dst:             OPENSSL_sk_value
        - Src:             'cv_cert.c:684,14'
          Dst:             BIO_indent
        - Src:             'cv_cert.c:685,56'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:685,45'
          Dst:             OBJ_nid2sn
        - Src:             'cv_cert.c:685,21'
          Dst:             BIO_printf
    - functionName:    CVC_get_effective_date
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 452
      functionLinenumberEnd: 457
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          44
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - cvc_get_date_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:456,12'
          Dst:             cvc_get_date_string
    - functionName:    CVC_get_expiration_date
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 461
      functionLinenumberEnd: 466
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          44
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - cvc_get_date_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:465,12'
          Dst:             cvc_get_date_string
    - functionName:    CVC_get_car
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 434
      functionLinenumberEnd: 439
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          44
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - cvc_get_reference_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:438,12'
          Dst:             cvc_get_reference_string
    - functionName:    CVC_get_chr
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 443
      functionLinenumberEnd: 448
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          44
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - cvc_get_reference_string
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:447,12'
          Dst:             cvc_get_reference_string
    - functionName:    cvc_get_date_string
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1050
      functionLinenumberEnd: 1077
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          144
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - is_bcd
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:1054,19'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1054,50'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1055,24'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:1055,53'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:1055,17'
          Dst:             is_bcd
        - Src:             'cv_cert.c:1062,9'
          Dst:             ASN1_STRING_get0_data
    - functionName:    CVC_pubkey2pkey
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 483
      functionLinenumberEnd: 533
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         56
      ICount:          278
      EdgeCount:       78
      CyclomaticComplexity: 24
      functionsReached:
        - CVC_get_role
        - CVC_pubkey2eckey
        - CVC_pubkey2rsa
        - ERR_print_errors_fp
        - EVP_PKEY_free
        - EVP_PKEY_new
        - OBJ_obj2nid
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:494,19'
          Dst:             EVP_PKEY_new
        - Src:             'cv_cert.c:501,9'
          Dst:             CVC_get_role
        - Src:             'cv_cert.c:506,11'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:512,14'
          Dst:             CVC_pubkey2eckey
        - Src:             'cv_cert.c:520,14'
          Dst:             CVC_pubkey2rsa
        - Src:             'cv_cert.c:523,9'
          Dst:             fprintf
        - Src:             'cv_cert.c:523,9'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:531,9'
          Dst:             EVP_PKEY_free
    - functionName:    CVC_verify_signature
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 400
      functionLinenumberEnd: 429
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          129
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BUF_MEM_create_init
        - BUF_MEM_free
        - CRYPTO_free
        - EAC_verify
        - i2d_CVC_CERT_BODY
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:410,16'
          Dst:             i2d_CVC_CERT_BODY
        - Src:             'cv_cert.c:413,16'
          Dst:             BUF_MEM_create_init
        - Src:             'cv_cert.c:416,37'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cv_cert.c:417,9'
          Dst:             ASN1_STRING_length
        - Src:             'cv_cert.c:416,17'
          Dst:             BUF_MEM_create_init
        - Src:             'cv_cert.c:419,9'
          Dst:             EAC_verify
        - Src:             'cv_cert.c:423,9'
          Dst:             CRYPTO_free
        - Src:             'cv_cert.c:425,9'
          Dst:             BUF_MEM_free
        - Src:             'cv_cert.c:427,9'
          Dst:             BUF_MEM_free
    - functionName:    i2d_CVC_CERT_BODY
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:230,1'
          Dst:             ASN1_item_i2d
    - functionName:    CVC_d2i_CVC_CERT
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 356
      functionLinenumberEnd: 396
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         45
      ICount:          228
      EdgeCount:       62
      CyclomaticComplexity: 19
      functionsReached:
        - CVC_CERT_free
        - ERR_print_errors_fp
        - OBJ_obj2nid
        - d2i_CVC_CERT
        - fprintf
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:360,11'
          Dst:             d2i_CVC_CERT
        - Src:             'cv_cert.c:368,11'
          Dst:             OBJ_obj2nid
        - Src:             'cv_cert.c:374,9'
          Dst:             fprintf
        - Src:             'cv_cert.c:374,9'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:382,9'
          Dst:             fprintf
        - Src:             'cv_cert.c:382,9'
          Dst:             ERR_print_errors_fp
        - Src:             'cv_cert.c:392,9'
          Dst:             CVC_CERT_free
    - functionName:    d2i_CVC_CERT
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:243,1'
          Dst:             ASN1_item_d2i
    - functionName:    CVC_CERT_free
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    15
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:243,1'
          Dst:             ASN1_item_free
    - functionName:    ASN1_item_d2i
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    17
      BranchProfiles:  []
      Callsites:       []
    - functionName:    d2i_CVC_CERT_bio
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 350
      functionLinenumberEnd: 351
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i_bio
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:351,12'
          Dst:             ASN1_item_d2i_bio
    - functionName:    ASN1_item_d2i_bio
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CVC_CERT_AUTHENTICATION_REQUEST_free
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 305
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:305,1'
          Dst:             ASN1_item_free
    - functionName:    CVC_CERT_AUTHENTICATION_REQUEST_new
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 305
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:305,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_CVC_CERT_AUTHENTICATION_REQUEST
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 305
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:305,1'
          Dst:             ASN1_item_i2d
    - functionName:    d2i_CVC_CERT_AUTHENTICATION_REQUEST
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 305
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:305,1'
          Dst:             ASN1_item_d2i
    - functionName:    CVC_CERT_REQUEST_free
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 290
      functionLinenumberEnd: 290
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:290,1'
          Dst:             ASN1_item_free
    - functionName:    CVC_CERT_REQUEST_new
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 290
      functionLinenumberEnd: 290
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:290,1'
          Dst:             ASN1_item_new
    - functionName:    d2i_CVC_CERT_REQUEST
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 290
      functionLinenumberEnd: 290
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:290,1'
          Dst:             ASN1_item_d2i
    - functionName:    CVC_CERT_REQUEST_BODY_free
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 277
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:277,1'
          Dst:             ASN1_item_free
    - functionName:    CVC_CERT_REQUEST_BODY_new
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 277
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:277,1'
          Dst:             ASN1_item_new
    - functionName:    d2i_CVC_CERT_REQUEST_BODY
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 277
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:277,1'
          Dst:             ASN1_item_d2i
    - functionName:    CVC_CERTIFICATE_DESCRIPTION_free
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 258
      functionLinenumberEnd: 258
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:258,1'
          Dst:             ASN1_item_free
    - functionName:    CVC_CERTIFICATE_DESCRIPTION_new
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 258
      functionLinenumberEnd: 258
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:258,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_CVC_CERTIFICATE_DESCRIPTION
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 258
      functionLinenumberEnd: 258
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:258,1'
          Dst:             ASN1_item_i2d
    - functionName:    d2i_CVC_CERTIFICATE_DESCRIPTION
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 258
      functionLinenumberEnd: 258
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:258,1'
          Dst:             ASN1_item_d2i
    - functionName:    CVC_CERT_new
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:243,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_CVC_CERT
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 243
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:243,1'
          Dst:             ASN1_item_i2d
    - functionName:    CVC_CERT_BODY_free
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:230,1'
          Dst:             ASN1_item_free
    - functionName:    CVC_CERT_BODY_new
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:230,1'
          Dst:             ASN1_item_new
    - functionName:    d2i_CVC_CERT_BODY
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:230,1'
          Dst:             ASN1_item_d2i
    - functionName:    CVC_DISCRETIONARY_DATA_TEMPLATE_free
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 206
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:206,1'
          Dst:             ASN1_item_free
    - functionName:    CVC_DISCRETIONARY_DATA_TEMPLATE_new
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 206
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:206,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_CVC_DISCRETIONARY_DATA_TEMPLATE
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 206
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:206,1'
          Dst:             ASN1_item_i2d
    - functionName:    d2i_CVC_DISCRETIONARY_DATA_TEMPLATE
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 206
      functionLinenumberEnd: 206
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:206,1'
          Dst:             ASN1_item_d2i
    - functionName:    i2d_CVC_PUBKEY
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 191
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:191,1'
          Dst:             ASN1_item_i2d
    - functionName:    d2i_CVC_PUBKEY
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 191
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:191,1'
          Dst:             ASN1_item_d2i
    - functionName:    CVC_CHAT_free
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:161,1'
          Dst:             ASN1_item_free
    - functionName:    CVC_CHAT_new
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:161,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_CVC_CHAT
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:161,1'
          Dst:             ASN1_item_i2d
    - functionName:    d2i_CVC_CHAT
      functionSourceFile: '/src/opensc/openpace/src/cv_cert.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cv_cert.c:161,1'
          Dst:             ASN1_item_d2i
    - functionName:    CVC_find_chr_in_file
      functionSourceFile: '/src/opensc/openpace/src/cvc_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 104
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          146
      EdgeCount:       39
      CyclomaticComplexity: 12
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - BIO_ctrl
        - BIO_free
        - BIO_new
        - BIO_s_file
        - ERR_clear_error
        - d2i_CVC_CERT_bio
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cvc_lookup.c:81,18'
          Dst:             BIO_s_file
        - Src:             'cvc_lookup.c:81,10'
          Dst:             BIO_new
        - Src:             'cvc_lookup.c:82,17'
          Dst:             BIO_ctrl
        - Src:             'cvc_lookup.c:86,14'
          Dst:             d2i_CVC_CERT_bio
        - Src:             'cvc_lookup.c:87,13'
          Dst:             ERR_clear_error
        - Src:             'cvc_lookup.c:92,20'
          Dst:             ASN1_STRING_length
        - Src:             'cvc_lookup.c:93,32'
          Dst:             ASN1_STRING_get0_data
        - Src:             'cvc_lookup.c:93,25'
          Dst:             memcmp
        - Src:             'cvc_lookup.c:102,9'
          Dst:             BIO_free
    - functionName:    BIO_s_file
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_CTX_get_cvca_lookup
      functionSourceFile: '/src/opensc/openpace/src/cvc_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 162
      functionLinenumberEnd: 170
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          58
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cvc_lookup.c:165,5'
          Dst:             fprintf
        - Src:             'cvc_lookup.c:165,5'
          Dst:             ERR_print_errors_fp
    - functionName:    EAC_CTX_set_cvca_lookup
      functionSourceFile: '/src/opensc/openpace/src/cvc_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 150
      functionLinenumberEnd: 158
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cvc_lookup.c:153,5'
          Dst:             fprintf
        - Src:             'cvc_lookup.c:153,5'
          Dst:             ERR_print_errors_fp
    - functionName:    EAC_get_default_cvca_lookup
      functionSourceFile: '/src/opensc/openpace/src/cvc_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CVC_default_lookup
      functionSourceFile: '/src/opensc/openpace/src/cvc_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 133
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - CVC_CERT_free
        - CVC_find_chr_in_directory
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cvc_lookup.c:136,10'
          Dst:             CVC_find_chr_in_directory
        - Src:             'cvc_lookup.c:137,9'
          Dst:             CVC_CERT_free
    - functionName:    CVC_find_chr_in_directory
      functionSourceFile: '/src/opensc/openpace/src/cvc_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 129
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          77
      EdgeCount:       16
      CyclomaticComplexity: 6
      functionsReached:
        - BIO_snprintf
        - CVC_find_chr_in_file
        - is_chr
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cvc_lookup.c:113,10'
          Dst:             is_chr
        - Src:             'cvc_lookup.c:116,8'
          Dst:             strlen
        - Src:             'cvc_lookup.c:119,9'
          Dst:             BIO_snprintf
        - Src:             'cvc_lookup.c:123,9'
          Dst:             CVC_find_chr_in_file
    - functionName:    BIO_snprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_set_cvc_default_dir
      functionSourceFile: '/src/opensc/openpace/src/cvc_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          27
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - strncpy
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cvc_lookup.c:66,9'
          Dst:             strncpy
    - functionName:    ecpkparameters2eckey
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 287
      functionLinenumberEnd: 320
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         28
      ICount:          140
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - CRYPTO_free
        - EC_GROUP_free
        - EC_KEY_free
        - EC_KEY_new
        - EC_KEY_set_group
        - ERR_print_errors_fp
        - d2i_ECPKParameters
        - fprintf
        - i2d_ASN1_TYPE
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:294,5'
          Dst:             fprintf
        - Src:             'eac_asn1.c:294,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:300,14'
          Dst:             i2d_ASN1_TYPE
        - Src:             'eac_asn1.c:302,5'
          Dst:             d2i_ECPKParameters
        - Src:             'eac_asn1.c:302,5'
          Dst:             fprintf
        - Src:             'eac_asn1.c:302,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:305,10'
          Dst:             EC_KEY_new
        - Src:             'eac_asn1.c:306,5'
          Dst:             EC_KEY_set_group
        - Src:             'eac_asn1.c:306,5'
          Dst:             fprintf
        - Src:             'eac_asn1.c:306,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:313,9'
          Dst:             EC_GROUP_free
        - Src:             'eac_asn1.c:314,5'
          Dst:             CRYPTO_free
        - Src:             'eac_asn1.c:317,13'
          Dst:             EC_KEY_free
    - functionName:    i2d_ASN1_TYPE
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    d2i_ECPKParameters
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    dhparams2dh
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 325
      functionLinenumberEnd: 344
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          76
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - CRYPTO_free
        - ERR_print_errors_fp
        - d2i_DHparams
        - fprintf
        - i2d_ASN1_TYPE
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:331,5'
          Dst:             fprintf
        - Src:             'eac_asn1.c:331,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:337,14'
          Dst:             i2d_ASN1_TYPE
        - Src:             'eac_asn1.c:339,5'
          Dst:             d2i_DHparams
        - Src:             'eac_asn1.c:339,5'
          Dst:             fprintf
        - Src:             'eac_asn1.c:339,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:343,5'
          Dst:             CRYPTO_free
    - functionName:    d2i_DHparams
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    asn1_pubkey
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 751
      functionLinenumberEnd: 777
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          94
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - BUF_MEM_free
        - BUF_MEM_new
        - CVC_PUBKEY_free
        - CVC_pkey2pubkey
        - i2d_CVC_PUBKEY
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:756,18'
          Dst:             CVC_pkey2pubkey
        - Src:             'eac_asn1.c:760,14'
          Dst:             BUF_MEM_new
        - Src:             'eac_asn1.c:764,9'
          Dst:             i2d_CVC_PUBKEY
        - Src:             'eac_asn1.c:766,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_asn1.c:775,9'
          Dst:             CVC_PUBKEY_free
    - functionName:    aid2pkey
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 349
      functionLinenumberEnd: 403
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          258
      EdgeCount:       63
      CyclomaticComplexity: 19
      functionsReached:
        - ASN1_INTEGER_get
        - DH_free
        - EC_KEY_free
        - ERR_print_errors_fp
        - EVP_PKEY_free
        - EVP_PKEY_new
        - EVP_PKEY_set1_DH
        - EVP_PKEY_set1_EC_KEY
        - EVP_PKEY_set_std_dp
        - OBJ_obj2nid
        - OBJ_obj2txt
        - dhparams2dh
        - ecpkparameters2eckey
        - fprintf
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:358,19'
          Dst:             EVP_PKEY_new
        - Src:             'eac_asn1.c:365,11'
          Dst:             OBJ_obj2nid
        - Src:             'eac_asn1.c:367,18'
          Dst:             dhparams2dh
        - Src:             'eac_asn1.c:368,9'
          Dst:             fprintf
        - Src:             'eac_asn1.c:368,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:369,9'
          Dst:             EVP_PKEY_set1_DH
        - Src:             'eac_asn1.c:370,9'
          Dst:             DH_free
        - Src:             'eac_asn1.c:377,18'
          Dst:             ecpkparameters2eckey
        - Src:             'eac_asn1.c:378,9'
          Dst:             fprintf
        - Src:             'eac_asn1.c:378,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:379,9'
          Dst:             EVP_PKEY_set1_EC_KEY
        - Src:             'eac_asn1.c:380,9'
          Dst:             EC_KEY_free
        - Src:             'eac_asn1.c:383,9'
          Dst:             fprintf
        - Src:             'eac_asn1.c:383,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:385,9'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:385,9'
          Dst:             EVP_PKEY_set_std_dp
        - Src:             'eac_asn1.c:385,9'
          Dst:             fprintf
        - Src:             'eac_asn1.c:385,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:390,9'
          Dst:             OBJ_obj2txt
        - Src:             'eac_asn1.c:400,9'
          Dst:             EVP_PKEY_free
    - functionName:    EVP_PKEY_set1_DH
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    OBJ_obj2txt
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_CTX_init_ef_cardaccess
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 456
      functionLinenumberEnd: 746
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         428
      ICount:          2205
      EdgeCount:       589
      CyclomaticComplexity: 163
      functionsReached:
        - ASN1_INTEGER_free
        - ASN1_INTEGER_get
        - ASN1_OBJECT_free
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - ASN1_get_object
        - CA_CTX_clear_free
        - CA_CTX_new
        - CA_CTX_set_protocol
        - CA_DP_INFO_free
        - CA_INFO_free
        - CA_PUBLIC_KEY_INFO_free
        - ERR_print_errors_fp
        - EVP_PKEY_set_keys
        - EVP_PKEY_set_std_dp
        - OBJ_obj2nid
        - OBJ_obj2txt
        - OPENSSL_sk_num
        - OPENSSL_sk_push
        - OPENSSL_sk_value
        - PACE_CTX_clear_free
        - PACE_CTX_new
        - PACE_CTX_set_protocol
        - PACE_DP_INFO_free
        - PACE_INFO_free
        - RI_CTX_clear_free
        - RI_CTX_new
        - RI_CTX_set_protocol
        - RI_DP_INFO_free
        - RI_INFO_free
        - TA_INFO_free
        - aid2pkey
        - d2i_ASN1_OBJECT
        - d2i_ASN1_UINTEGER
        - d2i_CA_DP_INFO
        - d2i_CA_INFO
        - d2i_CA_PUBLIC_KEY_INFO
        - d2i_PACE_DP_INFO
        - d2i_PACE_INFO
        - d2i_RI_DP_INFO
        - d2i_RI_INFO
        - d2i_TA_INFO
        - fprintf
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:478,5'
          Dst:             fprintf
        - Src:             'eac_asn1.c:478,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:490,5'
          Dst:             ASN1_get_object
        - Src:             'eac_asn1.c:490,5'
          Dst:             fprintf
        - Src:             'eac_asn1.c:490,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:499,15'
          Dst:             ASN1_get_object
        - Src:             'eac_asn1.c:507,9'
          Dst:             d2i_ASN1_OBJECT
        - Src:             'eac_asn1.c:507,9'
          Dst:             fprintf
        - Src:             'eac_asn1.c:507,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:512,15'
          Dst:             OBJ_obj2nid
        - Src:             'eac_asn1.c:530,13'
          Dst:             d2i_PACE_INFO
        - Src:             'eac_asn1.c:530,13'
          Dst:             fprintf
        - Src:             'eac_asn1.c:530,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:534,13'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:534,13'
          Dst:             OPENSSL_sk_num
        - Src:             'eac_asn1.c:534,13'
          Dst:             OPENSSL_sk_value
        - Src:             'eac_asn1.c:534,13'
          Dst:             PACE_CTX_new
        - Src:             'eac_asn1.c:534,13'
          Dst:             OPENSSL_sk_push
        - Src:             'eac_asn1.c:534,13'
          Dst:             PACE_CTX_clear_free
        - Src:             'eac_asn1.c:539,49'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:544,25'
          Dst:             OBJ_obj2nid
        - Src:             'eac_asn1.c:543,18'
          Dst:             PACE_CTX_set_protocol
        - Src:             'eac_asn1.c:553,13'
          Dst:             d2i_PACE_DP_INFO
        - Src:             'eac_asn1.c:553,13'
          Dst:             fprintf
        - Src:             'eac_asn1.c:553,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:557,13'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:557,13'
          Dst:             OPENSSL_sk_num
        - Src:             'eac_asn1.c:557,13'
          Dst:             OPENSSL_sk_value
        - Src:             'eac_asn1.c:557,13'
          Dst:             PACE_CTX_new
        - Src:             'eac_asn1.c:557,13'
          Dst:             OPENSSL_sk_push
        - Src:             'eac_asn1.c:557,13'
          Dst:             PACE_CTX_clear_free
        - Src:             'eac_asn1.c:562,18'
          Dst:             aid2pkey
        - Src:             'eac_asn1.c:567,13'
          Dst:             d2i_TA_INFO
        - Src:             'eac_asn1.c:567,13'
          Dst:             fprintf
        - Src:             'eac_asn1.c:567,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:570,52'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:576,37'
          Dst:             OBJ_obj2nid
        - Src:             'eac_asn1.c:586,13'
          Dst:             d2i_CA_INFO
        - Src:             'eac_asn1.c:586,13'
          Dst:             fprintf
        - Src:             'eac_asn1.c:586,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:590,13'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:590,13'
          Dst:             OPENSSL_sk_num
        - Src:             'eac_asn1.c:590,13'
          Dst:             OPENSSL_sk_value
        - Src:             'eac_asn1.c:590,13'
          Dst:             CA_CTX_new
        - Src:             'eac_asn1.c:590,13'
          Dst:             OPENSSL_sk_push
        - Src:             'eac_asn1.c:590,13'
          Dst:             CA_CTX_clear_free
        - Src:             'eac_asn1.c:595,47'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:597,25'
          Dst:             CA_CTX_set_protocol
        - Src:             'eac_asn1.c:603,13'
          Dst:             d2i_CA_DP_INFO
        - Src:             'eac_asn1.c:603,13'
          Dst:             fprintf
        - Src:             'eac_asn1.c:603,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:607,13'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:607,13'
          Dst:             OPENSSL_sk_num
        - Src:             'eac_asn1.c:607,13'
          Dst:             OPENSSL_sk_value
        - Src:             'eac_asn1.c:607,13'
          Dst:             CA_CTX_new
        - Src:             'eac_asn1.c:607,13'
          Dst:             OPENSSL_sk_push
        - Src:             'eac_asn1.c:607,13'
          Dst:             CA_CTX_clear_free
        - Src:             'eac_asn1.c:612,18'
          Dst:             aid2pkey
        - Src:             'eac_asn1.c:618,13'
          Dst:             d2i_CA_PUBLIC_KEY_INFO
        - Src:             'eac_asn1.c:618,13'
          Dst:             fprintf
        - Src:             'eac_asn1.c:618,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:625,13'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:625,13'
          Dst:             OPENSSL_sk_num
        - Src:             'eac_asn1.c:625,13'
          Dst:             OPENSSL_sk_value
        - Src:             'eac_asn1.c:625,13'
          Dst:             CA_CTX_new
        - Src:             'eac_asn1.c:625,13'
          Dst:             OPENSSL_sk_push
        - Src:             'eac_asn1.c:625,13'
          Dst:             CA_CTX_clear_free
        - Src:             'eac_asn1.c:630,18'
          Dst:             aid2pkey
        - Src:             'eac_asn1.c:640,42'
          Dst:             ASN1_STRING_get0_data
        - Src:             'eac_asn1.c:641,17'
          Dst:             ASN1_STRING_length
        - Src:             'eac_asn1.c:641,17'
          Dst:             d2i_ASN1_UINTEGER
        - Src:             'eac_asn1.c:641,17'
          Dst:             fprintf
        - Src:             'eac_asn1.c:641,17'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:644,26'
          Dst:             ASN1_STRING_get0_data
        - Src:             'eac_asn1.c:645,30'
          Dst:             ASN1_STRING_length
        - Src:             'eac_asn1.c:647,26'
          Dst:             ASN1_STRING_get0_data
        - Src:             'eac_asn1.c:648,30'
          Dst:             ASN1_STRING_length
        - Src:             'eac_asn1.c:651,18'
          Dst:             EVP_PKEY_set_keys
        - Src:             'eac_asn1.c:668,13'
          Dst:             d2i_RI_INFO
        - Src:             'eac_asn1.c:668,13'
          Dst:             fprintf
        - Src:             'eac_asn1.c:668,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:672,13'
          Dst:             ASN1_INTEGER_get
        - Src:             'eac_asn1.c:672,13'
          Dst:             OPENSSL_sk_num
        - Src:             'eac_asn1.c:672,13'
          Dst:             OPENSSL_sk_value
        - Src:             'eac_asn1.c:672,13'
          Dst:             RI_CTX_new
        - Src:             'eac_asn1.c:672,13'
          Dst:             OPENSSL_sk_push
        - Src:             'eac_asn1.c:672,13'
          Dst:             RI_CTX_clear_free
        - Src:             'eac_asn1.c:677,18'
          Dst:             RI_CTX_set_protocol
        - Src:             'eac_asn1.c:683,13'
          Dst:             d2i_RI_DP_INFO
        - Src:             'eac_asn1.c:683,13'
          Dst:             fprintf
        - Src:             'eac_asn1.c:683,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_asn1.c:686,22'
          Dst:             OPENSSL_sk_num
        - Src:             'eac_asn1.c:688,26'
          Dst:             OPENSSL_sk_value
        - Src:             'eac_asn1.c:691,22'
          Dst:             aid2pkey
        - Src:             'eac_asn1.c:696,13'
          Dst:             OBJ_obj2txt
        - Src:             'eac_asn1.c:718,14'
          Dst:             EVP_PKEY_set_std_dp
        - Src:             'eac_asn1.c:726,9'
          Dst:             ASN1_OBJECT_free
        - Src:             'eac_asn1.c:728,9'
          Dst:             PACE_INFO_free
        - Src:             'eac_asn1.c:730,9'
          Dst:             PACE_DP_INFO_free
        - Src:             'eac_asn1.c:732,9'
          Dst:             TA_INFO_free
        - Src:             'eac_asn1.c:734,9'
          Dst:             CA_INFO_free
        - Src:             'eac_asn1.c:736,9'
          Dst:             RI_INFO_free
        - Src:             'eac_asn1.c:738,9'
          Dst:             RI_DP_INFO_free
        - Src:             'eac_asn1.c:740,9'
          Dst:             ASN1_INTEGER_free
        - Src:             'eac_asn1.c:742,9'
          Dst:             CA_DP_INFO_free
        - Src:             'eac_asn1.c:744,9'
          Dst:             CA_PUBLIC_KEY_INFO_free
    - functionName:    d2i_PACE_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 195
      functionLinenumberEnd: 195
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:195,1'
          Dst:             ASN1_item_d2i
    - functionName:    OPENSSL_sk_push
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    d2i_PACE_DP_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 214
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:214,1'
          Dst:             ASN1_item_d2i
    - functionName:    d2i_TA_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 252
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:252,1'
          Dst:             ASN1_item_d2i
    - functionName:    d2i_CA_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:222,1'
          Dst:             ASN1_item_d2i
    - functionName:    d2i_CA_DP_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:230,1'
          Dst:             ASN1_item_d2i
    - functionName:    d2i_CA_PUBLIC_KEY_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 238
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:238,1'
          Dst:             ASN1_item_d2i
    - functionName:    d2i_ASN1_UINTEGER
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    d2i_RI_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:267,1'
          Dst:             ASN1_item_d2i
    - functionName:    d2i_RI_DP_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 274
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_d2i
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:274,1'
          Dst:             ASN1_item_d2i
    - functionName:    PACE_INFO_free
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 195
      functionLinenumberEnd: 195
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:195,1'
          Dst:             ASN1_item_free
    - functionName:    PACE_DP_INFO_free
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 214
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:214,1'
          Dst:             ASN1_item_free
    - functionName:    TA_INFO_free
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 252
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:252,1'
          Dst:             ASN1_item_free
    - functionName:    CA_INFO_free
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:222,1'
          Dst:             ASN1_item_free
    - functionName:    RI_INFO_free
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:267,1'
          Dst:             ASN1_item_free
    - functionName:    RI_DP_INFO_free
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 274
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:274,1'
          Dst:             ASN1_item_free
    - functionName:    ASN1_INTEGER_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CA_DP_INFO_free
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:230,1'
          Dst:             ASN1_item_free
    - functionName:    CA_PUBLIC_KEY_INFO_free
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 238
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:238,1'
          Dst:             ASN1_item_free
    - functionName:    RI_DP_INFO_new
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 274
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:274,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_RI_DP_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 274
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:274,1'
          Dst:             ASN1_item_i2d
    - functionName:    RI_INFO_new
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:267,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_RI_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 267
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:267,1'
          Dst:             ASN1_item_i2d
    - functionName:    TA_INFO_new
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 252
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:252,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_TA_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 252
      functionLinenumberEnd: 252
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:252,1'
          Dst:             ASN1_item_i2d
    - functionName:    CA_PUBLIC_KEY_INFO_new
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 238
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:238,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_CA_PUBLIC_KEY_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 238
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:238,1'
          Dst:             ASN1_item_i2d
    - functionName:    CA_DP_INFO_new
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:230,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_CA_DP_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 230
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:230,1'
          Dst:             ASN1_item_i2d
    - functionName:    CA_INFO_new
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:222,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_CA_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:222,1'
          Dst:             ASN1_item_i2d
    - functionName:    PACE_DP_INFO_new
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 214
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:214,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_PACE_DP_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 214
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:214,1'
          Dst:             ASN1_item_i2d
    - functionName:    PACE_INFO_new
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 195
      functionLinenumberEnd: 195
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          12
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_new
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:195,1'
          Dst:             ASN1_item_new
    - functionName:    i2d_PACE_INFO
      functionSourceFile: '/src/opensc/openpace/src/eac_asn1.c'
      linkageType:     InternalLinkage
      functionLinenumber: 195
      functionLinenumberEnd: 195
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ASN1_item_i2d
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_asn1.c:195,1'
          Dst:             ASN1_item_i2d
    - functionName:    KA_CTX_derive_keys
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 316
      functionLinenumberEnd: 332
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          78
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - BUF_MEM_clear_free
        - ERR_print_errors_fp
        - fprintf
        - kdf_enc
        - kdf_mac
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:318,9'
          Dst:             fprintf
        - Src:             'eac.c:318,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:322,5'
          Dst:             BUF_MEM_clear_free
        - Src:             'eac.c:323,18'
          Dst:             kdf_mac
        - Src:             'eac.c:325,5'
          Dst:             BUF_MEM_clear_free
        - Src:             'eac.c:326,18'
          Dst:             kdf_enc
    - functionName:    KA_CTX_compute_key
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 300
      functionLinenumberEnd: 312
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          74
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - BUF_MEM_clear_free
        - ERR_print_errors_fp
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:302,9'
          Dst:             fprintf
        - Src:             'eac.c:302,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:306,5'
          Dst:             BUF_MEM_clear_free
    - functionName:    KA_CTX_generate_key
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 292
      functionLinenumberEnd: 296
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          56
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:293,5'
          Dst:             fprintf
        - Src:             'eac.c:293,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:293,5'
          Dst:             __errno_location
    - functionName:    EAC_CTX_set_encryption_ctx
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 247
      functionLinenumberEnd: 288
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         42
      ICount:          244
      EdgeCount:       56
      CyclomaticComplexity: 16
      functionsReached:
        - EAC_reset_ssc
        - ERR_print_errors_fp
        - KA_CTX_clear_free
        - KA_CTX_dup
        - fprintf
      functionUses:    2
      BranchProfiles:
        - Branch String:   'eac.c:250,5'
          Branch Sides:    []
      Callsites:
        - Src:             'eac.c:254,17'
          Dst:             fprintf
        - Src:             'eac.c:254,17'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:263,17'
          Dst:             fprintf
        - Src:             'eac.c:263,17'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:271,17'
          Dst:             fprintf
        - Src:             'eac.c:271,17'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:278,13'
          Dst:             fprintf
        - Src:             'eac.c:278,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:282,5'
          Dst:             KA_CTX_clear_free
        - Src:             'eac.c:283,20'
          Dst:             KA_CTX_dup
        - Src:             'eac.c:287,12'
          Dst:             EAC_reset_ssc
    - functionName:    EAC_reset_ssc
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 104
      functionLinenumberEnd: 111
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - BN_set_word
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:108,5'
          Dst:             BN_set_word
    - functionName:    BN_set_word
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_hash_certificate_description
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 234
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - BUF_MEM_create_init
        - BUF_MEM_free
        - EVP_sha256
        - hash
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:237,10'
          Dst:             BUF_MEM_create_init
        - Src:             'eac.c:238,16'
          Dst:             EVP_sha256
        - Src:             'eac.c:238,11'
          Dst:             hash
        - Src:             'eac.c:240,9'
          Dst:             BUF_MEM_free
    - functionName:    EAC_Comp
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 199
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          203
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - Comp
        - ERR_print_errors_fp
        - fprintf
      functionUses:    2
      BranchProfiles:
        - Branch String:   'eac.c:200,5'
          Branch Sides:    []
      Callsites:
        - Src:             'eac.c:203,17'
          Dst:             fprintf
        - Src:             'eac.c:203,17'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:206,20'
          Dst:             Comp
        - Src:             'eac.c:210,17'
          Dst:             fprintf
        - Src:             'eac.c:210,17'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:214,24'
          Dst:             Comp
        - Src:             'eac.c:216,24'
          Dst:             Comp
        - Src:             'eac.c:220,17'
          Dst:             fprintf
        - Src:             'eac.c:220,17'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:223,20'
          Dst:             Comp
        - Src:             'eac.c:226,13'
          Dst:             fprintf
        - Src:             'eac.c:226,13'
          Dst:             ERR_print_errors_fp
    - functionName:    EAC_verify_authentication
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 178
      functionLinenumberEnd: 194
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          109
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - BUF_MEM_free
        - CRYPTO_memcmp
        - EAC_authenticate
        - ERR_print_errors_fp
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:182,5'
          Dst:             fprintf
        - Src:             'eac.c:182,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:184,14'
          Dst:             EAC_authenticate
        - Src:             'eac.c:185,5'
          Dst:             fprintf
        - Src:             'eac.c:185,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:186,5'
          Dst:             fprintf
        - Src:             'eac.c:186,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:188,9'
          Dst:             CRYPTO_memcmp
        - Src:             'eac.c:193,9'
          Dst:             BUF_MEM_free
    - functionName:    EAC_authenticate
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          146
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - BUF_MEM_create
        - BUF_MEM_free
        - CRYPTO_free
        - ERR_print_errors_fp
        - authenticate
        - encode_ssc
        - fprintf
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:150,5'
          Dst:             fprintf
        - Src:             'eac.c:150,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:152,9'
          Dst:             encode_ssc
        - Src:             'eac.c:153,5'
          Dst:             fprintf
        - Src:             'eac.c:153,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:155,23'
          Dst:             BUF_MEM_create
        - Src:             'eac.c:156,5'
          Dst:             fprintf
        - Src:             'eac.c:156,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:162,11'
          Dst:             authenticate
        - Src:             'eac.c:166,9'
          Dst:             CRYPTO_free
        - Src:             'eac.c:170,9'
          Dst:             BUF_MEM_free
    - functionName:    CRYPTO_memcmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_decrypt
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 134
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          77
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - cipher_no_pad
        - fprintf
        - update_iv
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:135,5'
          Dst:             fprintf
        - Src:             'eac.c:135,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:135,5'
          Dst:             __errno_location
        - Src:             'eac.c:137,10'
          Dst:             update_iv
        - Src:             'eac.c:140,12'
          Dst:             cipher_no_pad
    - functionName:    EAC_encrypt
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 123
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          77
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - cipher_no_pad
        - fprintf
        - update_iv
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:124,5'
          Dst:             fprintf
        - Src:             'eac.c:124,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:124,5'
          Dst:             __errno_location
        - Src:             'eac.c:126,10'
          Dst:             update_iv
        - Src:             'eac.c:129,12'
          Dst:             cipher_no_pad
    - functionName:    EAC_set_ssc
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 114
      functionLinenumberEnd: 119
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - BN_set_word
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:118,12'
          Dst:             BN_set_word
    - functionName:    EAC_increment_ssc
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 96
      functionLinenumberEnd: 101
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - BN_add_word
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:100,12'
          Dst:             BN_add_word
    - functionName:    BN_add_word
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_remove_iso_pad
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 69
      functionLinenumberEnd: 92
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          123
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - BUF_MEM_create
        - ERR_print_errors_fp
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:73,5'
          Dst:             fprintf
        - Src:             'eac.c:73,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:80,9'
          Dst:             fprintf
        - Src:             'eac.c:80,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:83,5'
          Dst:             fprintf
        - Src:             'eac.c:83,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:86,11'
          Dst:             BUF_MEM_create
        - Src:             'eac.c:87,5'
          Dst:             fprintf
        - Src:             'eac.c:87,5'
          Dst:             ERR_print_errors_fp
    - functionName:    EAC_add_iso_pad
      functionSourceFile: '/src/opensc/openpace/src/eac.c'
      linkageType:     InternalLinkage
      functionLinenumber: 61
      functionLinenumberEnd: 65
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - EVP_CIPHER_block_size
        - __errno_location
        - add_iso_pad
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac.c:62,5'
          Dst:             fprintf
        - Src:             'eac.c:62,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac.c:62,5'
          Dst:             __errno_location
        - Src:             'eac.c:64,27'
          Dst:             EVP_CIPHER_block_size
        - Src:             'eac.c:64,12'
          Dst:             add_iso_pad
    - functionName:    sk_X509_free
      functionSourceFile: '/usr/include/openssl/x509.h'
      linkageType:     InternalLinkage
      functionLinenumber: 99
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OPENSSL_sk_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '/usr/include/openssl/x509.h:99,1'
          Dst:             OPENSSL_sk_free
    - functionName:    OPENSSL_sk_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sk_X509_pop
      functionSourceFile: '/usr/include/openssl/x509.h'
      linkageType:     InternalLinkage
      functionLinenumber: 99
      functionLinenumberEnd: 99
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OPENSSL_sk_pop
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '/usr/include/openssl/x509.h:99,1'
          Dst:             OPENSSL_sk_pop
    - functionName:    OPENSSL_sk_pop
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CA_STEP6_derive_keys
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 294
      functionLinenumberEnd: 317
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          135
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - CVC_CERT_free
        - ERR_print_errors_fp
        - KA_CTX_derive_keys
        - fprintf
        - verify_authentication_token
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:297,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:297,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:299,10'
          Dst:             KA_CTX_derive_keys
        - Src:             'eac_ca.c:302,10'
          Dst:             verify_authentication_token
        - Src:             'eac_ca.c:305,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:305,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:310,13'
          Dst:             CVC_CERT_free
    - functionName:    CA_STEP5_derive_keys
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 263
      functionLinenumberEnd: 290
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          143
      EdgeCount:       31
      CyclomaticComplexity: 10
      functionsReached:
        - BUF_MEM_clear_free
        - ERR_print_errors_fp
        - KA_CTX_derive_keys
        - fprintf
        - get_authentication_token
        - randb
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:267,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:267,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:271,9'
          Dst:             randb
        - Src:             'eac_ca.c:272,16'
          Dst:             KA_CTX_derive_keys
        - Src:             'eac_ca.c:276,28'
          Dst:             get_authentication_token
        - Src:             'eac_ca.c:279,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:279,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:287,5'
          Dst:             BUF_MEM_clear_free
    - functionName:    CA_set_key
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 229
      functionLinenumberEnd: 255
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          144
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - ERR_clear_error
        - ERR_print_errors_fp
        - EVP_PKEY_free
        - EVP_PKEY_set_keys
        - d2i_AutoPrivateKey
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:234,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:234,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:238,17'
          Dst:             d2i_AutoPrivateKey
        - Src:             'eac_ca.c:239,9'
          Dst:             EVP_PKEY_free
        - Src:             'eac_ca.c:243,13'
          Dst:             EVP_PKEY_set_keys
        - Src:             'eac_ca.c:247,9'
          Dst:             ERR_clear_error
        - Src:             'eac_ca.c:248,9'
          Dst:             EVP_PKEY_set_keys
        - Src:             'eac_ca.c:248,9'
          Dst:             fprintf
        - Src:             'eac_ca.c:248,9'
          Dst:             ERR_print_errors_fp
    - functionName:    d2i_AutoPrivateKey
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CA_disable_passive_authentication
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 322
      functionLinenumberEnd: 327
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          34
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CA_get_pubkey
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          124
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - CA_disable_passive_authentication
        - EAC_CTX_clear_free
        - EAC_CTX_init_ef_cardsecurity
        - EAC_CTX_new
        - ERR_print_errors_fp
        - fprintf
        - get_pubkey
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:206,27'
          Dst:             EAC_CTX_new
        - Src:             'eac_ca.c:207,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:207,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:210,9'
          Dst:             CA_disable_passive_authentication
        - Src:             'eac_ca.c:212,5'
          Dst:             EAC_CTX_init_ef_cardsecurity
        - Src:             'eac_ca.c:212,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:212,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:217,14'
          Dst:             get_pubkey
        - Src:             'eac_ca.c:220,5'
          Dst:             EAC_CTX_clear_free
    - functionName:    EAC_CTX_init_ef_cardsecurity
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 197
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          198
      EdgeCount:       51
      CyclomaticComplexity: 16
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - ASN1_TYPE_get
        - CA_passive_authentication
        - EAC_CTX_init_ef_cardaccess
        - ERR_print_errors_fp
        - OBJ_obj2nid
        - PKCS7_free
        - d2i_PKCS7
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:170,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:170,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:172,10'
          Dst:             d2i_PKCS7
        - Src:             'eac_ca.c:173,17'
          Dst:             OBJ_obj2nid
        - Src:             'eac_ca.c:178,9'
          Dst:             CA_passive_authentication
        - Src:             'eac_ca.c:178,9'
          Dst:             fprintf
        - Src:             'eac_ca.c:178,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:182,9'
          Dst:             OBJ_obj2nid
        - Src:             'eac_ca.c:183,16'
          Dst:             ASN1_TYPE_get
        - Src:             'eac_ca.c:187,37'
          Dst:             ASN1_STRING_get0_data
        - Src:             'eac_ca.c:187,64'
          Dst:             ASN1_STRING_length
        - Src:             'eac_ca.c:187,10'
          Dst:             EAC_CTX_init_ef_cardaccess
        - Src:             'eac_ca.c:195,9'
          Dst:             PKCS7_free
    - functionName:    d2i_PKCS7
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CA_passive_authentication
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 129
      functionLinenumberEnd: 159
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          136
      EdgeCount:       30
      CyclomaticComplexity: 10
      functionsReached:
        - ERR_print_errors_fp
        - PKCS7_get0_signers
        - PKCS7_verify
        - X509_issuer_name_hash
        - fprintf
        - sk_X509_free
        - sk_X509_pop
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:136,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:136,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:139,16'
          Dst:             PKCS7_get0_signers
        - Src:             'eac_ca.c:140,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:140,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:144,15'
          Dst:             sk_X509_pop
        - Src:             'eac_ca.c:145,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:145,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:148,24'
          Dst:             X509_issuer_name_hash
        - Src:             'eac_ca.c:150,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:150,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:153,11'
          Dst:             PKCS7_verify
        - Src:             'eac_ca.c:157,9'
          Dst:             sk_X509_free
    - functionName:    ASN1_TYPE_get
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    PKCS7_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    PKCS7_get0_signers
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_issuer_name_hash
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    PKCS7_verify
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CA_STEP4_compute_shared_secret
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 117
      functionLinenumberEnd: 125
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          61
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - KA_CTX_compute_key
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:119,17'
          Dst:             KA_CTX_compute_key
        - Src:             'eac_ca.c:120,9'
          Dst:             fprintf
        - Src:             'eac_ca.c:120,9'
          Dst:             ERR_print_errors_fp
    - functionName:    CA_STEP3_check_pcd_pubkey
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 89
      functionLinenumberEnd: 112
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          143
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - BUF_MEM_free
        - Comp
        - ERR_print_errors_fp
        - fprintf
        - memcmp
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:93,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:93,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:97,22'
          Dst:             Comp
        - Src:             'eac_ca.c:98,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:98,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:102,16'
          Dst:             memcmp
        - Src:             'eac_ca.c:103,9'
          Dst:             fprintf
        - Src:             'eac_ca.c:103,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:110,9'
          Dst:             BUF_MEM_free
    - functionName:    CA_STEP2_get_eph_pubkey
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 79
      functionLinenumberEnd: 84
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          66
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - fprintf
        - get_pubkey
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:80,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:80,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:80,5'
          Dst:             __errno_location
        - Src:             'eac_ca.c:83,12'
          Dst:             get_pubkey
    - functionName:    CA_STEP1_get_pubkey
      functionSourceFile: '/src/opensc/openpace/src/eac_ca.c'
      linkageType:     InternalLinkage
      functionLinenumber: 69
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          74
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - asn1_pubkey
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ca.c:70,5'
          Dst:             fprintf
        - Src:             'eac_ca.c:70,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ca.c:70,5'
          Dst:             __errno_location
        - Src:             'eac_ca.c:73,12'
          Dst:             asn1_pubkey
    - functionName:    DHparams_dup_with_q
      functionSourceFile: '/src/opensc/openpace/src/eac_dh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 327
      functionLinenumberEnd: 336
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - BN_dup
        - DH_get0_pqg
        - DH_set0_pqg
        - DHparams_dup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_dh.c:330,15'
          Dst:             DHparams_dup
        - Src:             'eac_dh.c:332,9'
          Dst:             DH_get0_pqg
        - Src:             'eac_dh.c:333,26'
          Dst:             BN_dup
        - Src:             'eac_dh.c:333,37'
          Dst:             BN_dup
        - Src:             'eac_dh.c:333,48'
          Dst:             BN_dup
        - Src:             'eac_dh.c:333,9'
          Dst:             DH_set0_pqg
    - functionName:    DHparams_dup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_dup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    10
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_set0_pqg
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    dh_compute_key
      functionSourceFile: '/src/opensc/openpace/src/eac_dh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 285
      functionLinenumberEnd: 323
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          156
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - BN_bin2bn
        - BN_clear_free
        - BUF_MEM_create
        - BUF_MEM_free
        - DH_compute_key
        - DH_free
        - DH_size
        - ERR_print_errors_fp
        - EVP_PKEY_get1_DH
        - fprintf
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_dh.c:290,5'
          Dst:             fprintf
        - Src:             'eac_dh.c:290,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:292,10'
          Dst:             EVP_PKEY_get1_DH
        - Src:             'eac_dh.c:297,10'
          Dst:             BN_bin2bn
        - Src:             'eac_dh.c:301,26'
          Dst:             DH_size
        - Src:             'eac_dh.c:301,11'
          Dst:             BUF_MEM_create
        - Src:             'eac_dh.c:305,19'
          Dst:             DH_compute_key
        - Src:             'eac_dh.c:309,5'
          Dst:             BN_clear_free
        - Src:             'eac_dh.c:310,5'
          Dst:             DH_free
        - Src:             'eac_dh.c:316,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_dh.c:318,9'
          Dst:             BN_clear_free
        - Src:             'eac_dh.c:320,9'
          Dst:             DH_free
    - functionName:    DH_size
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_compute_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_check_pub_key_rfc
      functionSourceFile: '/src/opensc/openpace/src/eac_dh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 134
      functionLinenumberEnd: 165
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          115
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - BN_CTX_end
        - BN_CTX_get
        - BN_CTX_start
        - BN_is_one
        - BN_mod_exp
        - DH_check_pub_key
        - DH_get0_key
        - DH_get0_pqg
        - ERR_print_errors_fp
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_dh.c:139,5'
          Dst:             fprintf
        - Src:             'eac_dh.c:139,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:141,5'
          Dst:             BN_CTX_start
        - Src:             'eac_dh.c:143,5'
          Dst:             DH_get0_key
        - Src:             'eac_dh.c:144,5'
          Dst:             DH_get0_pqg
        - Src:             'eac_dh.c:147,10'
          Dst:             DH_check_pub_key
        - Src:             'eac_dh.c:155,14'
          Dst:             BN_CTX_get
        - Src:             'eac_dh.c:156,21'
          Dst:             BN_mod_exp
        - Src:             'eac_dh.c:158,14'
          Dst:             BN_is_one
        - Src:             'eac_dh.c:164,5'
          Dst:             BN_CTX_end
    - functionName:    DH_check_pub_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_mod_exp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_is_one
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    dh_generate_key
      functionSourceFile: '/src/opensc/openpace/src/eac_dh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 254
      functionLinenumberEnd: 280
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          93
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - BN_bn2buf
        - DH_check_pub_key_rfc
        - DH_free
        - DH_generate_key
        - DH_get0_key
        - ERR_print_errors_fp
        - EVP_PKEY_get1_DH
        - fprintf
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_dh.c:261,5'
          Dst:             fprintf
        - Src:             'eac_dh.c:261,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:263,10'
          Dst:             EVP_PKEY_get1_DH
        - Src:             'eac_dh.c:267,10'
          Dst:             DH_generate_key
        - Src:             'eac_dh.c:267,34'
          Dst:             DH_check_pub_key_rfc
        - Src:             'eac_dh.c:273,5'
          Dst:             DH_get0_key
        - Src:             'eac_dh.c:275,11'
          Dst:             BN_bn2buf
        - Src:             'eac_dh.c:279,9'
          Dst:             DH_free
    - functionName:    DH_generate_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_get_order
      functionSourceFile: '/src/opensc/openpace/src/eac_dh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 215
      functionLinenumberEnd: 250
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         32
      ICount:          165
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - BN_CTX_end
        - BN_CTX_get
        - BN_CTX_start
        - BN_clear_free
        - BN_cmp
        - BN_mod_exp
        - BN_sub
        - BN_sub_word
        - BN_value_one
        - DH_get0_pqg
        - DH_get_q
        - ERR_print_errors_fp
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_dh.c:219,5'
          Dst:             fprintf
        - Src:             'eac_dh.c:219,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:221,5'
          Dst:             BN_CTX_start
        - Src:             'eac_dh.c:223,5'
          Dst:             DH_get0_pqg
        - Src:             'eac_dh.c:226,13'
          Dst:             DH_get_q
        - Src:             'eac_dh.c:227,10'
          Dst:             BN_CTX_get
        - Src:             'eac_dh.c:228,27'
          Dst:             BN_sub_word
        - Src:             'eac_dh.c:229,15'
          Dst:             BN_mod_exp
        - Src:             'eac_dh.c:232,20'
          Dst:             BN_value_one
        - Src:             'eac_dh.c:232,9'
          Dst:             BN_cmp
        - Src:             'eac_dh.c:234,31'
          Dst:             BN_value_one
        - Src:             'eac_dh.c:234,14'
          Dst:             BN_sub
        - Src:             'eac_dh.c:235,16'
          Dst:             BN_mod_exp
        - Src:             'eac_dh.c:237,9'
          Dst:             BN_value_one
        - Src:             'eac_dh.c:237,9'
          Dst:             BN_cmp
        - Src:             'eac_dh.c:237,9'
          Dst:             fprintf
        - Src:             'eac_dh.c:237,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:240,5'
          Dst:             BN_CTX_end
        - Src:             'eac_dh.c:246,9'
          Dst:             BN_clear_free
        - Src:             'eac_dh.c:247,5'
          Dst:             BN_CTX_end
    - functionName:    DH_get_q
      functionSourceFile: '/src/opensc/openpace/src/eac_dh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 211
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         30
      ICount:          149
      EdgeCount:       40
      CyclomaticComplexity: 12
      functionsReached:
        - BN_clear_free
        - BN_dup
        - BN_is_prime_ex
        - BN_new
        - BN_rshift1
        - BN_sub_word
        - DH_get0_pqg
        - ERR_print_errors_fp
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_dh.c:176,5'
          Dst:             fprintf
        - Src:             'eac_dh.c:176,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:178,5'
          Dst:             DH_get0_pqg
        - Src:             'eac_dh.c:180,17'
          Dst:             BN_new
        - Src:             'eac_dh.c:181,14'
          Dst:             BN_dup
        - Src:             'eac_dh.c:186,18'
          Dst:             BN_sub_word
        - Src:             'eac_dh.c:187,18'
          Dst:             BN_rshift1
        - Src:             'eac_dh.c:191,17'
          Dst:             BN_dup
        - Src:             'eac_dh.c:195,9'
          Dst:             BN_is_prime_ex
        - Src:             'eac_dh.c:198,11'
          Dst:             fprintf
        - Src:             'eac_dh.c:198,11'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:206,9'
          Dst:             BN_clear_free
        - Src:             'eac_dh.c:208,9'
          Dst:             BN_clear_free
    - functionName:    BN_sub_word
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_rshift1
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_is_prime_ex
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    init_dh
      functionSourceFile: '/src/opensc/openpace/src/eac_dh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         26
      ICount:          141
      EdgeCount:       32
      CyclomaticComplexity: 8
      functionsReached:
        - DH_check
        - DH_free
        - DH_get_1024_160
        - DH_get_2048_224
        - DH_get_2048_256
        - ERR_print_errors_fp
        - fprintf
      functionUses:    1
      BranchProfiles:
        - Branch String:   'eac_dh.c:88,9'
          Branch Sides:    []
      Callsites:
        - Src:             'eac_dh.c:85,5'
          Dst:             fprintf
        - Src:             'eac_dh.c:85,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:90,21'
          Dst:             DH_get_1024_160
        - Src:             'eac_dh.c:93,21'
          Dst:             DH_get_2048_224
        - Src:             'eac_dh.c:96,21'
          Dst:             DH_get_2048_256
        - Src:             'eac_dh.c:99,15'
          Dst:             fprintf
        - Src:             'eac_dh.c:99,15'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:109,10'
          Dst:             DH_check
        - Src:             'eac_dh.c:118,5'
          Dst:             fprintf
        - Src:             'eac_dh.c:118,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_dh.c:126,9'
          Dst:             DH_free
    - functionName:    DH_get_1024_160
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_get_2048_224
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_get_2048_256
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_check
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kdf_mac
      functionSourceFile: '/src/opensc/openpace/src/eac_kdf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 137
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - fprintf
        - htonl
        - kdf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_kdf.c:138,5'
          Dst:             fprintf
        - Src:             'eac_kdf.c:138,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_kdf.c:138,5'
          Dst:             __errno_location
        - Src:             'eac_kdf.c:140,43'
          Dst:             htonl
        - Src:             'eac_kdf.c:140,12'
          Dst:             kdf
    - functionName:    htonl
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kdf
      functionSourceFile: '/src/opensc/openpace/src/eac_kdf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 66
      functionLinenumberEnd: 115
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          289
      EdgeCount:       42
      CyclomaticComplexity: 13
      functionsReached:
        - BUF_MEM_create_init
        - BUF_MEM_free
        - BUF_MEM_grow
        - BUF_MEM_new
        - ERR_print_errors_fp
        - EVP_CIPHER_key_length
        - EVP_MD_size
        - OPENSSL_cleanse
        - fprintf
        - hash
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_kdf.c:70,5'
          Dst:             fprintf
        - Src:             'eac_kdf.c:70,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_kdf.c:72,15'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_kdf.c:73,5'
          Dst:             EVP_MD_size
        - Src:             'eac_kdf.c:73,5'
          Dst:             EVP_MD_size
        - Src:             'eac_kdf.c:73,5'
          Dst:             fprintf
        - Src:             'eac_kdf.c:73,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_kdf.c:77,10'
          Dst:             BUF_MEM_new
        - Src:             'eac_kdf.c:78,5'
          Dst:             fprintf
        - Src:             'eac_kdf.c:78,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_kdf.c:84,9'
          Dst:             BUF_MEM_grow
        - Src:             'eac_kdf.c:84,9'
          Dst:             fprintf
        - Src:             'eac_kdf.c:84,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_kdf.c:90,9'
          Dst:             BUF_MEM_grow
        - Src:             'eac_kdf.c:90,9'
          Dst:             fprintf
        - Src:             'eac_kdf.c:90,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_kdf.c:95,14'
          Dst:             hash
        - Src:             'eac_kdf.c:96,5'
          Dst:             fprintf
        - Src:             'eac_kdf.c:96,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_kdf.c:99,11'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_kdf.c:101,5'
          Dst:             OPENSSL_cleanse
        - Src:             'eac_kdf.c:102,5'
          Dst:             BUF_MEM_free
        - Src:             'eac_kdf.c:103,5'
          Dst:             OPENSSL_cleanse
        - Src:             'eac_kdf.c:104,5'
          Dst:             BUF_MEM_free
        - Src:             'eac_kdf.c:110,9'
          Dst:             OPENSSL_cleanse
        - Src:             'eac_kdf.c:111,9'
          Dst:             BUF_MEM_free
    - functionName:    EVP_CIPHER_key_length
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    14
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BUF_MEM_grow
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    kdf_enc
      functionSourceFile: '/src/opensc/openpace/src/eac_kdf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 129
      functionLinenumberEnd: 133
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          46
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - fprintf
        - htonl
        - kdf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_kdf.c:130,5'
          Dst:             fprintf
        - Src:             'eac_kdf.c:130,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_kdf.c:130,5'
          Dst:             __errno_location
        - Src:             'eac_kdf.c:132,43'
          Dst:             htonl
        - Src:             'eac_kdf.c:132,12'
          Dst:             kdf
    - functionName:    kdf_pi
      functionSourceFile: '/src/opensc/openpace/src/eac_kdf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 119
      functionLinenumberEnd: 124
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - htonl
        - kdf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_kdf.c:122,35'
          Dst:             htonl
        - Src:             'eac_kdf.c:122,11'
          Dst:             kdf
    - functionName:    KA_CTX_set_protocol
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 392
      functionLinenumberEnd: 490
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         70
      ICount:          484
      EdgeCount:       95
      CyclomaticComplexity: 27
      functionsReached:
        - ERR_print_errors_fp
        - EVP_CIPHER_key_length
        - EVP_aes_128_cbc
        - EVP_aes_192_cbc
        - EVP_aes_256_cbc
        - EVP_des_ede_cbc
        - EVP_sha1
        - EVP_sha256
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:394,9'
          Dst:             fprintf
        - Src:             'eac_lib.c:394,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_lib.c:404,19'
          Dst:             EVP_sha1
        - Src:             'eac_lib.c:405,23'
          Dst:             EVP_des_ede_cbc
        - Src:             'eac_lib.c:406,27'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_lib.c:415,19'
          Dst:             EVP_sha1
        - Src:             'eac_lib.c:416,23'
          Dst:             EVP_aes_128_cbc
        - Src:             'eac_lib.c:417,27'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_lib.c:426,19'
          Dst:             EVP_sha256
        - Src:             'eac_lib.c:427,23'
          Dst:             EVP_aes_192_cbc
        - Src:             'eac_lib.c:428,27'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_lib.c:437,19'
          Dst:             EVP_sha256
        - Src:             'eac_lib.c:438,23'
          Dst:             EVP_aes_256_cbc
        - Src:             'eac_lib.c:439,27'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_lib.c:447,19'
          Dst:             EVP_sha1
        - Src:             'eac_lib.c:448,23'
          Dst:             EVP_des_ede_cbc
        - Src:             'eac_lib.c:449,27'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_lib.c:458,19'
          Dst:             EVP_sha1
        - Src:             'eac_lib.c:459,23'
          Dst:             EVP_aes_128_cbc
        - Src:             'eac_lib.c:460,27'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_lib.c:469,19'
          Dst:             EVP_sha256
        - Src:             'eac_lib.c:470,23'
          Dst:             EVP_aes_192_cbc
        - Src:             'eac_lib.c:471,27'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_lib.c:480,19'
          Dst:             EVP_sha256
        - Src:             'eac_lib.c:481,23'
          Dst:             EVP_aes_256_cbc
        - Src:             'eac_lib.c:482,27'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_lib.c:485,9'
          Dst:             fprintf
        - Src:             'eac_lib.c:485,9'
          Dst:             ERR_print_errors_fp
    - functionName:    EVP_aes_192_cbc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_aes_256_cbc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    KA_CTX_dup
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 320
      functionLinenumberEnd: 363
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         29
      ICount:          229
      EdgeCount:       39
      CyclomaticComplexity: 12
      functionsReached:
        - BUF_MEM_create_init
        - CRYPTO_zalloc
        - ERR_print_errors_fp
        - EVP_PKEY_dup
        - KA_CTX_clear_free
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:323,5'
          Dst:             fprintf
        - Src:             'eac_lib.c:323,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_lib.c:325,11'
          Dst:             CRYPTO_zalloc
        - Src:             'eac_lib.c:329,16'
          Dst:             EVP_PKEY_dup
        - Src:             'eac_lib.c:342,22'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_lib.c:347,22'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_lib.c:352,30'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_lib.c:360,5'
          Dst:             KA_CTX_clear_free
    - functionName:    CRYPTO_zalloc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    KA_CTX_clear_free
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 367
      functionLinenumberEnd: 388
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         21
      ICount:          145
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - BUF_MEM_free
        - CMAC_CTX_free
        - CRYPTO_free
        - EVP_PKEY_free
        - OPENSSL_cleanse
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:370,13'
          Dst:             CMAC_CTX_free
        - Src:             'eac_lib.c:372,13'
          Dst:             EVP_PKEY_free
        - Src:             'eac_lib.c:374,13'
          Dst:             OPENSSL_cleanse
        - Src:             'eac_lib.c:375,13'
          Dst:             BUF_MEM_free
        - Src:             'eac_lib.c:378,13'
          Dst:             OPENSSL_cleanse
        - Src:             'eac_lib.c:379,13'
          Dst:             BUF_MEM_free
        - Src:             'eac_lib.c:382,13'
          Dst:             OPENSSL_cleanse
        - Src:             'eac_lib.c:383,13'
          Dst:             BUF_MEM_free
        - Src:             'eac_lib.c:385,9'
          Dst:             CRYPTO_free
        - Src:             'eac_lib.c:386,9'
          Dst:             CRYPTO_free
    - functionName:    KA_CTX_new
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 298
      functionLinenumberEnd: 316
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         15
      ICount:          71
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - CRYPTO_free
        - CRYPTO_zalloc
        - EVP_PKEY_free
        - EVP_PKEY_new
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:299,20'
          Dst:             CRYPTO_zalloc
        - Src:             'eac_lib.c:303,16'
          Dst:             EVP_PKEY_new
        - Src:             'eac_lib.c:312,13'
          Dst:             EVP_PKEY_free
        - Src:             'eac_lib.c:313,9'
          Dst:             CRYPTO_free
    - functionName:    wrap_ri_ctx_clear_free
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 271
      functionLinenumberEnd: 273
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - RI_CTX_clear_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:272,5'
          Dst:             RI_CTX_clear_free
    - functionName:    wrap_ca_ctx_clear_free
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 265
      functionLinenumberEnd: 267
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - CA_CTX_clear_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:266,5'
          Dst:             CA_CTX_clear_free
    - functionName:    wrap_pace_ctx_clear_free
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 259
      functionLinenumberEnd: 261
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - PACE_CTX_clear_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:260,5'
          Dst:             PACE_CTX_clear_free
    - functionName:    EAC_CTX_init_ri
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 215
      functionLinenumberEnd: 253
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          150
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - BUF_MEM_clear_free
        - ERR_print_errors_fp
        - EVP_PKEY_set_std_dp
        - OPENSSL_sk_push
        - RI_CTX_clear_free
        - RI_CTX_new
        - RI_CTX_set_protocol
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:221,9'
          Dst:             fprintf
        - Src:             'eac_lib.c:221,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_lib.c:225,14'
          Dst:             RI_CTX_new
        - Src:             'eac_lib.c:226,5'
          Dst:             fprintf
        - Src:             'eac_lib.c:226,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_lib.c:228,10'
          Dst:             RI_CTX_set_protocol
        - Src:             'eac_lib.c:229,20'
          Dst:             EVP_PKEY_set_std_dp
        - Src:             'eac_lib.c:239,9'
          Dst:             BUF_MEM_clear_free
        - Src:             'eac_lib.c:244,14'
          Dst:             OPENSSL_sk_push
        - Src:             'eac_lib.c:250,9'
          Dst:             RI_CTX_clear_free
    - functionName:    EAC_CTX_init_ca
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 182
      functionLinenumberEnd: 210
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          118
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - CA_CTX_clear_free
        - CA_CTX_new
        - CA_CTX_set_protocol
        - ERR_print_errors_fp
        - EVP_PKEY_set_std_dp
        - OPENSSL_sk_push
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:187,9'
          Dst:             fprintf
        - Src:             'eac_lib.c:187,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_lib.c:191,14'
          Dst:             CA_CTX_new
        - Src:             'eac_lib.c:192,5'
          Dst:             fprintf
        - Src:             'eac_lib.c:192,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_lib.c:194,10'
          Dst:             CA_CTX_set_protocol
        - Src:             'eac_lib.c:195,17'
          Dst:             EVP_PKEY_set_std_dp
        - Src:             'eac_lib.c:201,14'
          Dst:             OPENSSL_sk_push
        - Src:             'eac_lib.c:207,9'
          Dst:             CA_CTX_clear_free
    - functionName:    EAC_CTX_init_ta
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 153
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          154
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - CVC_CERT_free
        - CVC_d2i_CVC_CERT
        - ERR_print_errors_fp
        - EVP_PKEY_free
        - TA_CTX_set_trust_anchor
        - d2i_AutoPrivateKey
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:157,5'
          Dst:             fprintf
        - Src:             'eac_lib.c:157,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_lib.c:161,13'
          Dst:             EVP_PKEY_free
        - Src:             'eac_lib.c:162,33'
          Dst:             d2i_AutoPrivateKey
        - Src:             'eac_lib.c:169,19'
          Dst:             CVC_d2i_CVC_CERT
        - Src:             'eac_lib.c:171,9'
          Dst:             TA_CTX_set_trust_anchor
        - Src:             'eac_lib.c:175,9'
          Dst:             CVC_CERT_free
    - functionName:    EAC_CTX_init_pace
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 117
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          109
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - ERR_print_errors_fp
        - EVP_PKEY_set_std_dp
        - OPENSSL_sk_push
        - PACE_CTX_clear_free
        - PACE_CTX_new
        - PACE_CTX_set_protocol
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:122,9'
          Dst:             fprintf
        - Src:             'eac_lib.c:122,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_lib.c:126,16'
          Dst:             PACE_CTX_new
        - Src:             'eac_lib.c:128,17'
          Dst:             PACE_CTX_set_protocol
        - Src:             'eac_lib.c:129,17'
          Dst:             EVP_PKEY_set_std_dp
        - Src:             'eac_lib.c:130,9'
          Dst:             fprintf
        - Src:             'eac_lib.c:130,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_lib.c:137,14'
          Dst:             OPENSSL_sk_push
        - Src:             'eac_lib.c:143,9'
          Dst:             PACE_CTX_clear_free
    - functionName:    EAC_CTX_clear_free
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 277
      functionLinenumberEnd: 294
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          111
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - BN_CTX_free
        - BN_clear_free
        - CRYPTO_free
        - EVP_CIPHER_CTX_free
        - EVP_MD_CTX_free
        - KA_CTX_clear_free
        - OPENSSL_sk_pop_free
        - TA_CTX_clear_free
        - wrap_ca_ctx_clear_free
        - wrap_pace_ctx_clear_free
        - wrap_ri_ctx_clear_free
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:280,13'
          Dst:             BN_CTX_free
        - Src:             'eac_lib.c:282,13'
          Dst:             EVP_MD_CTX_free
        - Src:             'eac_lib.c:284,13'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'eac_lib.c:285,9'
          Dst:             OPENSSL_sk_pop_free
        - Src:             'eac_lib.c:285,9'
          Dst:             wrap_pace_ctx_clear_free
        - Src:             'eac_lib.c:286,9'
          Dst:             OPENSSL_sk_pop_free
        - Src:             'eac_lib.c:286,9'
          Dst:             wrap_ca_ctx_clear_free
        - Src:             'eac_lib.c:287,9'
          Dst:             OPENSSL_sk_pop_free
        - Src:             'eac_lib.c:287,9'
          Dst:             wrap_ri_ctx_clear_free
        - Src:             'eac_lib.c:288,9'
          Dst:             TA_CTX_clear_free
        - Src:             'eac_lib.c:289,9'
          Dst:             KA_CTX_clear_free
        - Src:             'eac_lib.c:291,13'
          Dst:             BN_clear_free
        - Src:             'eac_lib.c:292,9'
          Dst:             CRYPTO_free
    - functionName:    OPENSSL_sk_pop_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_CTX_new
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 113
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         24
      ICount:          149
      EdgeCount:       33
      CyclomaticComplexity: 11
      functionsReached:
        - BN_CTX_new
        - BN_new
        - CRYPTO_zalloc
        - EAC_CTX_clear_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_reset
        - EVP_MD_CTX_new
        - OPENSSL_sk_new_null
        - TA_CTX_new
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:87,20'
          Dst:             CRYPTO_zalloc
        - Src:             'eac_lib.c:91,19'
          Dst:             BN_CTX_new
        - Src:             'eac_lib.c:92,41'
          Dst:             OPENSSL_sk_new_null
        - Src:             'eac_lib.c:93,23'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'eac_lib.c:94,19'
          Dst:             EVP_MD_CTX_new
        - Src:             'eac_lib.c:95,45'
          Dst:             OPENSSL_sk_new_null
        - Src:             'eac_lib.c:96,41'
          Dst:             OPENSSL_sk_new_null
        - Src:             'eac_lib.c:97,16'
          Dst:             BN_new
        - Src:             'eac_lib.c:98,19'
          Dst:             TA_CTX_new
        - Src:             'eac_lib.c:105,5'
          Dst:             EVP_CIPHER_CTX_reset
        - Src:             'eac_lib.c:111,5'
          Dst:             EAC_CTX_clear_free
    - functionName:    OPENSSL_sk_new_null
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_cleanup
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 79
      functionLinenumberEnd: 82
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          21
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - EAC_remove_all_objects
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:80,5'
          Dst:             EAC_remove_all_objects
    - functionName:    EAC_init
      functionSourceFile: '/src/opensc/openpace/src/eac_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 76
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - EAC_add_all_objects
        - EAC_set_cvc_default_dir
        - EAC_set_x509_default_dir
        - OPENSSL_init_crypto
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_lib.c:72,5'
          Dst:             OPENSSL_init_crypto
        - Src:             'eac_lib.c:73,5'
          Dst:             EAC_add_all_objects
        - Src:             'eac_lib.c:74,5'
          Dst:             EAC_set_x509_default_dir
        - Src:             'eac_lib.c:75,5'
          Dst:             EAC_set_cvc_default_dir
    - functionName:    OPENSSL_init_crypto
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    convert_to_plain_sig
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1010
      functionLinenumberEnd: 1070
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         34
      ICount:          237
      EdgeCount:       46
      CyclomaticComplexity: 14
      functionsReached:
        - BN_bn2bin
        - BN_num_bits
        - BUF_MEM_create
        - CRYPTO_free
        - CRYPTO_malloc
        - ECDSA_SIG_free
        - ECDSA_SIG_get0
        - ECDSA_SIG_new
        - ERR_print_errors_fp
        - __errno_location
        - d2i_ECDSA_SIG
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:1018,5'
          Dst:             fprintf
        - Src:             'eac_util.c:1018,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:1018,5'
          Dst:             __errno_location
        - Src:             'eac_util.c:1022,15'
          Dst:             ECDSA_SIG_new
        - Src:             'eac_util.c:1025,10'
          Dst:             d2i_ECDSA_SIG
        - Src:             'eac_util.c:1028,5'
          Dst:             ECDSA_SIG_get0
        - Src:             'eac_util.c:1031,13'
          Dst:             BN_num_bits
        - Src:             'eac_util.c:1032,13'
          Dst:             BN_num_bits
        - Src:             'eac_util.c:1034,9'
          Dst:             CRYPTO_malloc
        - Src:             'eac_util.c:1035,9'
          Dst:             CRYPTO_malloc
        - Src:             'eac_util.c:1040,10'
          Dst:             BN_bn2bin
        - Src:             'eac_util.c:1042,10'
          Dst:             BN_bn2bin
        - Src:             'eac_util.c:1050,21'
          Dst:             BUF_MEM_create
        - Src:             'eac_util.c:1056,5'
          Dst:             CRYPTO_free
        - Src:             'eac_util.c:1057,5'
          Dst:             CRYPTO_free
        - Src:             'eac_util.c:1058,5'
          Dst:             ECDSA_SIG_free
        - Src:             'eac_util.c:1064,9'
          Dst:             CRYPTO_free
        - Src:             'eac_util.c:1066,9'
          Dst:             CRYPTO_free
        - Src:             'eac_util.c:1068,9'
          Dst:             ECDSA_SIG_free
    - functionName:    ECDSA_SIG_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    d2i_ECDSA_SIG
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ECDSA_SIG_get0
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ECDSA_SIG_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_sign
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1183
      functionLinenumberEnd: 1272
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         82
      ICount:          390
      EdgeCount:       115
      CyclomaticComplexity: 35
      functionsReached:
        - BUF_MEM_create
        - BUF_MEM_free
        - ERR_print_errors_fp
        - EVP_PKEY_CTX_ctrl
        - EVP_PKEY_CTX_free
        - EVP_PKEY_CTX_new
        - EVP_PKEY_base_id
        - EVP_PKEY_sign
        - EVP_PKEY_sign_init
        - RSA_pkey_ctx_ctrl
        - convert_to_plain_sig
        - eac_oid2md
        - fprintf
        - hash
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:1187,24'
          Dst:             eac_oid2md
        - Src:             'eac_util.c:1190,5'
          Dst:             fprintf
        - Src:             'eac_util.c:1190,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:1192,19'
          Dst:             EVP_PKEY_CTX_new
        - Src:             'eac_util.c:1194,19'
          Dst:             EVP_PKEY_sign_init
        - Src:             'eac_util.c:1195,16'
          Dst:             EVP_PKEY_CTX_ctrl
        - Src:             'eac_util.c:1199,12'
          Dst:             EVP_PKEY_base_id
        - Src:             'eac_util.c:1214,14'
          Dst:             RSA_pkey_ctx_ctrl
        - Src:             'eac_util.c:1223,14'
          Dst:             RSA_pkey_ctx_ctrl
        - Src:             'eac_util.c:1232,22'
          Dst:             hash
        - Src:             'eac_util.c:1238,9'
          Dst:             EVP_PKEY_sign
        - Src:             'eac_util.c:1242,17'
          Dst:             BUF_MEM_create
        - Src:             'eac_util.c:1245,9'
          Dst:             EVP_PKEY_sign
        - Src:             'eac_util.c:1261,21'
          Dst:             convert_to_plain_sig
        - Src:             'eac_util.c:1262,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:1268,9'
          Dst:             EVP_PKEY_CTX_free
        - Src:             'eac_util.c:1270,9'
          Dst:             BUF_MEM_free
    - functionName:    eac_oid2md
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1074
      functionLinenumberEnd: 1095
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         29
      ICount:          136
      EdgeCount:       40
      CyclomaticComplexity: 13
      functionsReached:
        - ERR_print_errors_fp
        - EVP_sha1
        - EVP_sha224
        - EVP_sha256
        - EVP_sha384
        - EVP_sha512
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:1078,16'
          Dst:             EVP_sha1
        - Src:             'eac_util.c:1080,16'
          Dst:             EVP_sha224
        - Src:             'eac_util.c:1084,16'
          Dst:             EVP_sha256
        - Src:             'eac_util.c:1086,16'
          Dst:             EVP_sha384
        - Src:             'eac_util.c:1090,16'
          Dst:             EVP_sha512
        - Src:             'eac_util.c:1092,9'
          Dst:             fprintf
        - Src:             'eac_util.c:1092,9'
          Dst:             ERR_print_errors_fp
    - functionName:    EVP_PKEY_sign_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_CTX_ctrl
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    hash
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 114
      functionLinenumberEnd: 150
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          176
      EdgeCount:       47
      CyclomaticComplexity: 14
      functionsReached:
        - BUF_MEM_create
        - BUF_MEM_free
        - ERR_print_errors_fp
        - EVP_DigestFinal_ex
        - EVP_DigestInit_ex
        - EVP_DigestUpdate
        - EVP_MD_CTX_free
        - EVP_MD_CTX_new
        - EVP_MD_size
        - fprintf
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:119,5'
          Dst:             fprintf
        - Src:             'eac_util.c:119,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:124,19'
          Dst:             EVP_MD_CTX_new
        - Src:             'eac_util.c:129,15'
          Dst:             EVP_MD_size
        - Src:             'eac_util.c:130,11'
          Dst:             BUF_MEM_create
        - Src:             'eac_util.c:131,18'
          Dst:             EVP_DigestInit_ex
        - Src:             'eac_util.c:132,14'
          Dst:             EVP_DigestUpdate
        - Src:             'eac_util.c:133,14'
          Dst:             EVP_DigestFinal_ex
        - Src:             'eac_util.c:139,9'
          Dst:             EVP_MD_CTX_free
        - Src:             'eac_util.c:145,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:147,9'
          Dst:             EVP_MD_CTX_free
    - functionName:    EVP_PKEY_sign
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    convert_from_plain_sig
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 963
      functionLinenumberEnd: 1005
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         31
      ICount:          185
      EdgeCount:       42
      CyclomaticComplexity: 13
      functionsReached:
        - BN_bin2bn
        - BN_free
        - BUF_MEM_create_init
        - CRYPTO_free
        - ECDSA_SIG_free
        - ECDSA_SIG_new
        - ECDSA_SIG_set0
        - ERR_print_errors_fp
        - fprintf
        - i2d_ECDSA_SIG
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:970,5'
          Dst:             fprintf
        - Src:             'eac_util.c:970,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:972,5'
          Dst:             fprintf
        - Src:             'eac_util.c:972,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:974,17'
          Dst:             ECDSA_SIG_new
        - Src:             'eac_util.c:980,9'
          Dst:             BN_bin2bn
        - Src:             'eac_util.c:982,9'
          Dst:             BN_bin2bn
        - Src:             'eac_util.c:984,22'
          Dst:             ECDSA_SIG_set0
        - Src:             'eac_util.c:990,9'
          Dst:             i2d_ECDSA_SIG
        - Src:             'eac_util.c:993,16'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_util.c:997,9'
          Dst:             CRYPTO_free
        - Src:             'eac_util.c:999,9'
          Dst:             ECDSA_SIG_free
        - Src:             'eac_util.c:1001,9'
          Dst:             BN_free
        - Src:             'eac_util.c:1003,9'
          Dst:             BN_free
    - functionName:    ECDSA_SIG_set0
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    i2d_ECDSA_SIG
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_verify
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1100
      functionLinenumberEnd: 1178
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         75
      ICount:          362
      EdgeCount:       104
      CyclomaticComplexity: 31
      functionsReached:
        - BUF_MEM_create_init
        - BUF_MEM_free
        - ERR_print_errors_fp
        - EVP_PKEY_CTX_ctrl
        - EVP_PKEY_CTX_free
        - EVP_PKEY_CTX_new
        - EVP_PKEY_base_id
        - EVP_PKEY_verify
        - EVP_PKEY_verify_init
        - RSA_pkey_ctx_ctrl
        - convert_from_plain_sig
        - eac_oid2md
        - fprintf
        - hash
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:1104,24'
          Dst:             eac_oid2md
        - Src:             'eac_util.c:1107,5'
          Dst:             fprintf
        - Src:             'eac_util.c:1107,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:1109,19'
          Dst:             EVP_PKEY_CTX_new
        - Src:             'eac_util.c:1111,19'
          Dst:             EVP_PKEY_verify_init
        - Src:             'eac_util.c:1112,16'
          Dst:             EVP_PKEY_CTX_ctrl
        - Src:             'eac_util.c:1116,12'
          Dst:             EVP_PKEY_base_id
        - Src:             'eac_util.c:1128,31'
          Dst:             convert_from_plain_sig
        - Src:             'eac_util.c:1138,31'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_util.c:1140,14'
          Dst:             RSA_pkey_ctx_ctrl
        - Src:             'eac_util.c:1150,31'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_util.c:1151,14'
          Dst:             RSA_pkey_ctx_ctrl
        - Src:             'eac_util.c:1161,25'
          Dst:             hash
        - Src:             'eac_util.c:1166,11'
          Dst:             EVP_PKEY_verify
        - Src:             'eac_util.c:1172,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:1174,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:1176,9'
          Dst:             EVP_PKEY_CTX_free
    - functionName:    EVP_PKEY_verify_init
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_verify
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    get_pubkey
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 920
      functionLinenumberEnd: 959
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          134
      EdgeCount:       21
      CyclomaticComplexity: 5
      functionsReached:
        - BN_bn2buf
        - DH_free
        - DH_get0_key
        - EC_KEY_free
        - EC_KEY_get0_public_key
        - EC_POINT_point2mem
        - ERR_print_errors_fp
        - EVP_PKEY_base_id
        - EVP_PKEY_get1_DH
        - EVP_PKEY_get1_EC_KEY
        - __errno_location
        - fprintf
      functionUses:    2
      BranchProfiles:
        - Branch String:   'eac_util.c:929,5'
          Branch Sides:    []
      Callsites:
        - Src:             'eac_util.c:927,5'
          Dst:             fprintf
        - Src:             'eac_util.c:927,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:927,5'
          Dst:             __errno_location
        - Src:             'eac_util.c:929,13'
          Dst:             EVP_PKEY_base_id
        - Src:             'eac_util.c:932,18'
          Dst:             EVP_PKEY_get1_DH
        - Src:             'eac_util.c:933,13'
          Dst:             fprintf
        - Src:             'eac_util.c:933,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:933,13'
          Dst:             __errno_location
        - Src:             'eac_util.c:935,13'
          Dst:             DH_get0_key
        - Src:             'eac_util.c:936,19'
          Dst:             BN_bn2buf
        - Src:             'eac_util.c:938,13'
          Dst:             DH_free
        - Src:             'eac_util.c:942,18'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'eac_util.c:943,13'
          Dst:             fprintf
        - Src:             'eac_util.c:943,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:943,13'
          Dst:             __errno_location
        - Src:             'eac_util.c:945,22'
          Dst:             EC_KEY_get0_public_key
        - Src:             'eac_util.c:946,13'
          Dst:             fprintf
        - Src:             'eac_util.c:946,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:946,13'
          Dst:             __errno_location
        - Src:             'eac_util.c:948,19'
          Dst:             EC_POINT_point2mem
        - Src:             'eac_util.c:950,13'
          Dst:             EC_KEY_free
        - Src:             'eac_util.c:954,13'
          Dst:             fprintf
        - Src:             'eac_util.c:954,13'
          Dst:             ERR_print_errors_fp
    - functionName:    EVP_PKEY_set_keys
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 841
      functionLinenumberEnd: 915
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         66
      ICount:          324
      EdgeCount:       87
      CyclomaticComplexity: 23
      functionsReached:
        - BN_bin2bn
        - BN_clear_free
        - DH_free
        - DH_set0_key
        - EC_KEY_free
        - EC_KEY_get0_group
        - EC_KEY_set_private_key
        - EC_KEY_set_public_key
        - EC_POINT_clear_free
        - EC_POINT_new
        - EC_POINT_oct2point
        - ERR_print_errors_fp
        - EVP_PKEY_base_id
        - EVP_PKEY_get1_DH
        - EVP_PKEY_get1_EC_KEY
        - EVP_PKEY_set1_DH
        - EVP_PKEY_set1_EC_KEY
        - fprintf
      functionUses:    4
      BranchProfiles:
        - Branch String:   'eac_util.c:851,5'
          Branch Sides:    []
      Callsites:
        - Src:             'eac_util.c:849,5'
          Dst:             fprintf
        - Src:             'eac_util.c:849,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:851,13'
          Dst:             EVP_PKEY_base_id
        - Src:             'eac_util.c:853,22'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'eac_util.c:856,21'
          Dst:             EC_KEY_get0_group
        - Src:             'eac_util.c:859,28'
          Dst:             EC_POINT_new
        - Src:             'eac_util.c:861,29'
          Dst:             EC_POINT_oct2point
        - Src:             'eac_util.c:863,29'
          Dst:             EC_KEY_set_public_key
        - Src:             'eac_util.c:867,22'
          Dst:             BN_bin2bn
        - Src:             'eac_util.c:868,29'
          Dst:             EC_KEY_set_private_key
        - Src:             'eac_util.c:872,18'
          Dst:             EVP_PKEY_set1_EC_KEY
        - Src:             'eac_util.c:878,18'
          Dst:             EVP_PKEY_get1_DH
        - Src:             'eac_util.c:883,30'
          Dst:             BN_bin2bn
        - Src:             'eac_util.c:884,37'
          Dst:             DH_set0_key
        - Src:             'eac_util.c:888,31'
          Dst:             BN_bin2bn
        - Src:             'eac_util.c:889,38'
          Dst:             DH_set0_key
        - Src:             'eac_util.c:893,18'
          Dst:             EVP_PKEY_set1_DH
        - Src:             'eac_util.c:898,13'
          Dst:             EVP_PKEY_base_id
        - Src:             'eac_util.c:898,13'
          Dst:             fprintf
        - Src:             'eac_util.c:898,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:907,9'
          Dst:             BN_clear_free
        - Src:             'eac_util.c:909,9'
          Dst:             EC_KEY_free
        - Src:             'eac_util.c:911,9'
          Dst:             DH_free
        - Src:             'eac_util.c:913,9'
          Dst:             EC_POINT_clear_free
    - functionName:    EC_KEY_set_private_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    DH_set0_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BUF_MEM_clear_free
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 829
      functionLinenumberEnd: 834
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - BUF_MEM_free
        - OPENSSL_cleanse
      functionUses:    21
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:831,9'
          Dst:             OPENSSL_cleanse
        - Src:             'eac_util.c:832,9'
          Dst:             BUF_MEM_free
    - functionName:    EVP_PKEY_set_std_dp
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 779
      functionLinenumberEnd: 825
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         28
      ICount:          142
      EdgeCount:       30
      CyclomaticComplexity: 4
      functionsReached:
        - DH_free
        - EC_KEY_free
        - ERR_print_errors_fp
        - EVP_PKEY_set1_DH
        - EVP_PKEY_set1_EC_KEY
        - fprintf
        - init_dh
        - init_ecdh
      functionUses:    5
      BranchProfiles:
        - Branch String:   'eac_util.c:790,5'
          Branch Sides:    []
      Callsites:
        - Src:             'eac_util.c:785,9'
          Dst:             fprintf
        - Src:             'eac_util.c:785,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:794,18'
          Dst:             init_dh
        - Src:             'eac_util.c:796,13'
          Dst:             EVP_PKEY_set1_DH
        - Src:             'eac_util.c:798,13'
          Dst:             DH_free
        - Src:             'eac_util.c:812,18'
          Dst:             init_ecdh
        - Src:             'eac_util.c:814,13'
          Dst:             EVP_PKEY_set1_EC_KEY
        - Src:             'eac_util.c:816,13'
          Dst:             EC_KEY_free
        - Src:             'eac_util.c:820,13'
          Dst:             fprintf
        - Src:             'eac_util.c:820,13'
          Dst:             ERR_print_errors_fp
    - functionName:    Comp
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 725
      functionLinenumberEnd: 776
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          213
      EdgeCount:       50
      CyclomaticComplexity: 13
      functionsReached:
        - BN_CTX_end
        - BN_CTX_get
        - BN_CTX_start
        - BN_bn2bin
        - BN_num_bits
        - BUF_MEM_create
        - EC_KEY_free
        - EC_KEY_get0_group
        - EC_POINT_free
        - EC_POINT_get_affine_coordinates
        - EC_POINT_new
        - EC_POINT_oct2point
        - ERR_print_errors_fp
        - EVP_PKEY_base_id
        - EVP_PKEY_get1_EC_KEY
        - EVP_sha1
        - fprintf
        - hash
      functionUses:    6
      BranchProfiles:
        - Branch String:   'eac_util.c:735,5'
          Branch Sides:    []
      Callsites:
        - Src:             'eac_util.c:732,5'
          Dst:             fprintf
        - Src:             'eac_util.c:732,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:734,5'
          Dst:             BN_CTX_start
        - Src:             'eac_util.c:735,13'
          Dst:             EVP_PKEY_base_id
        - Src:             'eac_util.c:738,24'
          Dst:             EVP_sha1
        - Src:             'eac_util.c:738,19'
          Dst:             hash
        - Src:             'eac_util.c:742,18'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'eac_util.c:746,21'
          Dst:             EC_KEY_get0_group
        - Src:             'eac_util.c:747,19'
          Dst:             EC_POINT_new
        - Src:             'eac_util.c:748,17'
          Dst:             BN_CTX_get
        - Src:             'eac_util.c:749,17'
          Dst:             BN_CTX_get
        - Src:             'eac_util.c:752,25'
          Dst:             EC_POINT_oct2point
        - Src:             'eac_util.c:754,25'
          Dst:             EC_POINT_get_affine_coordinates
        - Src:             'eac_util.c:757,34'
          Dst:             BN_num_bits
        - Src:             'eac_util.c:757,19'
          Dst:             BUF_MEM_create
        - Src:             'eac_util.c:758,25'
          Dst:             BN_bn2bin
        - Src:             'eac_util.c:763,13'
          Dst:             fprintf
        - Src:             'eac_util.c:763,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:769,9'
          Dst:             EC_POINT_free
        - Src:             'eac_util.c:773,9'
          Dst:             EC_KEY_free
        - Src:             'eac_util.c:774,5'
          Dst:             BN_CTX_end
    - functionName:    verify_authentication_token
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 698
      functionLinenumberEnd: 721
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          105
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - BUF_MEM_free
        - CRYPTO_memcmp
        - ERR_print_errors_fp
        - compute_authentication_token
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:703,9'
          Dst:             fprintf
        - Src:             'eac_util.c:703,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:707,20'
          Dst:             compute_authentication_token
        - Src:             'eac_util.c:713,13'
          Dst:             CRYPTO_memcmp
        - Src:             'eac_util.c:718,5'
          Dst:             BUF_MEM_free
    - functionName:    compute_authentication_token
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 669
      functionLinenumberEnd: 692
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          109
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - BUF_MEM_free
        - ERR_print_errors_fp
        - EVP_CIPHER_block_size
        - EVP_CIPHER_nid
        - add_iso_pad
        - asn1_pubkey
        - authenticate
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:672,5'
          Dst:             fprintf
        - Src:             'eac_util.c:672,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:674,12'
          Dst:             asn1_pubkey
        - Src:             'eac_util.c:677,9'
          Dst:             EVP_CIPHER_nid
        - Src:             'eac_util.c:678,33'
          Dst:             EVP_CIPHER_block_size
        - Src:             'eac_util.c:678,15'
          Dst:             add_iso_pad
        - Src:             'eac_util.c:681,15'
          Dst:             authenticate
        - Src:             'eac_util.c:683,15'
          Dst:             authenticate
        - Src:             'eac_util.c:688,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:690,9'
          Dst:             BUF_MEM_free
    - functionName:    EVP_CIPHER_nid
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    add_iso_pad
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 407
      functionLinenumberEnd: 427
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          93
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - BUF_MEM_create
        - ERR_print_errors_fp
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:411,5'
          Dst:             fprintf
        - Src:             'eac_util.c:411,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:416,11'
          Dst:             BUF_MEM_create
    - functionName:    authenticate
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 606
      functionLinenumberEnd: 619
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         10
      ICount:          68
      EdgeCount:       19
      CyclomaticComplexity: 11
      functionsReached:
        - ERR_print_errors_fp
        - EVP_CIPHER_nid
        - cmac
        - fprintf
        - retail_mac_des
      functionUses:    3
      BranchProfiles:
        - Branch String:   'eac_util.c:607,5'
          Branch Sides:    []
      Callsites:
        - Src:             'eac_util.c:607,13'
          Dst:             EVP_CIPHER_nid
        - Src:             'eac_util.c:609,20'
          Dst:             retail_mac_des
        - Src:             'eac_util.c:613,20'
          Dst:             cmac
        - Src:             'eac_util.c:616,13'
          Dst:             fprintf
        - Src:             'eac_util.c:616,13'
          Dst:             ERR_print_errors_fp
    - functionName:    retail_mac_des
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 330
      functionLinenumberEnd: 403
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         44
      ICount:          258
      EdgeCount:       60
      CyclomaticComplexity: 18
      functionsReached:
        - BUF_MEM_create_init
        - BUF_MEM_free
        - ERR_print_errors_fp
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_reset
        - EVP_CIPHER_CTX_set_padding
        - EVP_CIPHER_block_size
        - EVP_CipherInit_ex
        - EVP_des_cbc
        - cipher
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:336,5'
          Dst:             fprintf
        - Src:             'eac_util.c:336,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:344,33'
          Dst:             EVP_des_cbc
        - Src:             'eac_util.c:344,11'
          Dst:             EVP_CIPHER_block_size
        - Src:             'eac_util.c:345,5'
          Dst:             fprintf
        - Src:             'eac_util.c:345,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:347,11'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'eac_util.c:350,5'
          Dst:             EVP_CIPHER_CTX_reset
        - Src:             'eac_util.c:351,33'
          Dst:             EVP_des_cbc
        - Src:             'eac_util.c:351,10'
          Dst:             EVP_CipherInit_ex
        - Src:             'eac_util.c:353,14'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'eac_util.c:357,25'
          Dst:             EVP_des_cbc
        - Src:             'eac_util.c:357,13'
          Dst:             cipher
        - Src:             'eac_util.c:360,13'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_util.c:364,43'
          Dst:             EVP_des_cbc
        - Src:             'eac_util.c:364,20'
          Dst:             EVP_CipherInit_ex
        - Src:             'eac_util.c:366,14'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'eac_util.c:368,25'
          Dst:             EVP_des_cbc
        - Src:             'eac_util.c:368,13'
          Dst:             cipher
        - Src:             'eac_util.c:372,43'
          Dst:             EVP_des_cbc
        - Src:             'eac_util.c:372,20'
          Dst:             EVP_CipherInit_ex
        - Src:             'eac_util.c:374,14'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'eac_util.c:376,23'
          Dst:             EVP_des_cbc
        - Src:             'eac_util.c:376,11'
          Dst:             cipher
        - Src:             'eac_util.c:378,5'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:379,5'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:380,5'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:381,5'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'eac_util.c:390,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:392,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:394,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:396,9'
          Dst:             EVP_CIPHER_CTX_free
    - functionName:    cmac
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 250
      functionLinenumberEnd: 305
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          235
      EdgeCount:       60
      CyclomaticComplexity: 18
      functionsReached:
        - BUF_MEM_create
        - BUF_MEM_create_init
        - BUF_MEM_free
        - CMAC_CTX_free
        - CMAC_CTX_new
        - CMAC_Final
        - CMAC_Init
        - CMAC_Update
        - ERR_print_errors_fp
        - EVP_CIPHER_key_length
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:255,5'
          Dst:             fprintf
        - Src:             'eac_util.c:255,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:257,5'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_util.c:257,5'
          Dst:             fprintf
        - Src:             'eac_util.c:257,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:263,20'
          Dst:             CMAC_CTX_new
        - Src:             'eac_util.c:269,45'
          Dst:             EVP_CIPHER_key_length
        - Src:             'eac_util.c:269,14'
          Dst:             CMAC_Init
        - Src:             'eac_util.c:271,14'
          Dst:             CMAC_Update
        - Src:             'eac_util.c:272,14'
          Dst:             CMAC_Final
        - Src:             'eac_util.c:276,11'
          Dst:             BUF_MEM_create
        - Src:             'eac_util.c:281,10'
          Dst:             CMAC_Final
        - Src:             'eac_util.c:286,15'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_util.c:287,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:292,9'
          Dst:             CMAC_CTX_free
        - Src:             'eac_util.c:298,9'
          Dst:             CMAC_CTX_free
        - Src:             'eac_util.c:301,9'
          Dst:             BUF_MEM_free
    - functionName:    EVP_des_cbc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_CipherInit_ex
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cipher
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 155
      functionLinenumberEnd: 213
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          261
      EdgeCount:       56
      CyclomaticComplexity: 17
      functionsReached:
        - BUF_MEM_create
        - BUF_MEM_free
        - ERR_print_errors_fp
        - EVP_CIPHER_CTX_cipher
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_reset
        - EVP_CIPHER_block_size
        - EVP_CIPHER_flags
        - EVP_CipherFinal_ex
        - EVP_CipherInit_ex
        - EVP_CipherUpdate
        - fprintf
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:161,5'
          Dst:             fprintf
        - Src:             'eac_util.c:161,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:166,19'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'eac_util.c:169,9'
          Dst:             EVP_CIPHER_CTX_reset
        - Src:             'eac_util.c:170,14'
          Dst:             EVP_CipherInit_ex
        - Src:             'eac_util.c:174,10'
          Dst:             EVP_CIPHER_CTX_cipher
        - Src:             'eac_util.c:176,30'
          Dst:             EVP_CIPHER_CTX_cipher
        - Src:             'eac_util.c:176,13'
          Dst:             EVP_CIPHER_flags
        - Src:             'eac_util.c:180,9'
          Dst:             EVP_CIPHER_block_size
        - Src:             'eac_util.c:180,9'
          Dst:             fprintf
        - Src:             'eac_util.c:180,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:182,26'
          Dst:             EVP_CIPHER_block_size
        - Src:             'eac_util.c:184,11'
          Dst:             BUF_MEM_create
        - Src:             'eac_util.c:188,10'
          Dst:             EVP_CipherUpdate
        - Src:             'eac_util.c:193,10'
          Dst:             EVP_CipherFinal_ex
        - Src:             'eac_util.c:201,9'
          Dst:             EVP_CIPHER_CTX_free
        - Src:             'eac_util.c:208,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:210,9'
          Dst:             EVP_CIPHER_CTX_free
    - functionName:    EVP_CIPHER_CTX_cipher
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_CIPHER_flags
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_CipherUpdate
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_CipherFinal_ex
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_PKEY_from_pubkey
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 623
      functionLinenumberEnd: 639
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          68
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - EVP_PKEY_dup
        - EVP_PKEY_free
        - EVP_PKEY_set_keys
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:626,5'
          Dst:             fprintf
        - Src:             'eac_util.c:626,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:628,11'
          Dst:             EVP_PKEY_dup
        - Src:             'eac_util.c:629,5'
          Dst:             fprintf
        - Src:             'eac_util.c:629,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:631,10'
          Dst:             EVP_PKEY_set_keys
        - Src:             'eac_util.c:633,9'
          Dst:             EVP_PKEY_free
    - functionName:    get_authentication_token
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 645
      functionLinenumberEnd: 663
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          64
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - EVP_PKEY_free
        - EVP_PKEY_from_pubkey
        - compute_authentication_token
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:649,5'
          Dst:             fprintf
        - Src:             'eac_util.c:649,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:651,15'
          Dst:             EVP_PKEY_from_pubkey
        - Src:             'eac_util.c:657,11'
          Dst:             compute_authentication_token
        - Src:             'eac_util.c:661,5'
          Dst:             EVP_PKEY_free
    - functionName:    is_chr
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 579
      functionLinenumberEnd: 602
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          183
      EdgeCount:       50
      CyclomaticComplexity: 15
      functionsReached:
        - is_char_str
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:591,10'
          Dst:             is_char_str
    - functionName:    is_char_str
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 538
      functionLinenumberEnd: 558
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          102
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - ERR_print_errors_fp
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:550,13'
          Dst:             fprintf
        - Src:             'eac_util.c:550,13'
          Dst:             ERR_print_errors_fp
    - functionName:    is_bcd
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 562
      functionLinenumberEnd: 575
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          75
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - ERR_print_errors_fp
        - fprintf
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:570,13'
          Dst:             fprintf
        - Src:             'eac_util.c:570,13'
          Dst:             ERR_print_errors_fp
    - functionName:    update_iv
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 466
      functionLinenumberEnd: 533
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          262
      EdgeCount:       58
      CyclomaticComplexity: 14
      functionsReached:
        - BUF_MEM_create_init
        - BUF_MEM_free
        - CRYPTO_free
        - CRYPTO_realloc
        - ERR_print_errors_fp
        - EVP_CIPHER_nid
        - EVP_aes_128_ecb
        - EVP_aes_192_ecb
        - EVP_aes_256_ecb
        - cipher_no_pad
        - encode_ssc
        - fprintf
      functionUses:    2
      BranchProfiles:
        - Branch String:   'eac_util.c:475,5'
          Branch Sides:    []
      Callsites:
        - Src:             'eac_util.c:473,5'
          Dst:             fprintf
        - Src:             'eac_util.c:473,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:475,13'
          Dst:             EVP_CIPHER_nid
        - Src:             'eac_util.c:478,28'
          Dst:             EVP_aes_128_ecb
        - Src:             'eac_util.c:482,28'
          Dst:             EVP_aes_192_ecb
        - Src:             'eac_util.c:486,28'
          Dst:             EVP_aes_256_ecb
        - Src:             'eac_util.c:490,17'
          Dst:             encode_ssc
        - Src:             'eac_util.c:493,22'
          Dst:             BUF_MEM_create_init
        - Src:             'eac_util.c:498,21'
          Dst:             cipher_no_pad
        - Src:             'eac_util.c:503,21'
          Dst:             CRYPTO_realloc
        - Src:             'eac_util.c:514,17'
          Dst:             CRYPTO_free
        - Src:             'eac_util.c:519,13'
          Dst:             fprintf
        - Src:             'eac_util.c:519,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:527,9'
          Dst:             CRYPTO_free
        - Src:             'eac_util.c:529,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_util.c:531,9'
          Dst:             BUF_MEM_free
    - functionName:    EVP_aes_128_ecb
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EVP_aes_192_ecb
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    encode_ssc
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 431
      functionLinenumberEnd: 463
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          132
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - BN_bn2bin
        - BN_num_bits
        - CRYPTO_free
        - CRYPTO_malloc
        - CRYPTO_realloc
        - ERR_print_errors_fp
        - EVP_CIPHER_block_size
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:436,9'
          Dst:             fprintf
        - Src:             'eac_util.c:436,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:440,14'
          Dst:             EVP_CIPHER_block_size
        - Src:             'eac_util.c:441,9'
          Dst:             CRYPTO_realloc
        - Src:             'eac_util.c:443,9'
          Dst:             fprintf
        - Src:             'eac_util.c:443,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:448,14'
          Dst:             BN_num_bits
        - Src:             'eac_util.c:452,9'
          Dst:             BN_bn2bin
        - Src:             'eac_util.c:454,13'
          Dst:             CRYPTO_malloc
        - Src:             'eac_util.c:457,9'
          Dst:             BN_bn2bin
        - Src:             'eac_util.c:459,9'
          Dst:             CRYPTO_free
    - functionName:    cipher_no_pad
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 217
      functionLinenumberEnd: 244
      functionDepth:   0
      returnType:      'N/A'
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          134
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - ERR_print_errors_fp
        - EVP_CIPHER_CTX_free
        - EVP_CIPHER_CTX_new
        - EVP_CIPHER_CTX_reset
        - EVP_CIPHER_CTX_set_padding
        - EVP_CipherInit_ex
        - cipher
        - fprintf
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:221,5'
          Dst:             fprintf
        - Src:             'eac_util.c:221,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_util.c:226,19'
          Dst:             EVP_CIPHER_CTX_new
        - Src:             'eac_util.c:229,9'
          Dst:             EVP_CIPHER_CTX_reset
        - Src:             'eac_util.c:232,10'
          Dst:             EVP_CipherInit_ex
        - Src:             'eac_util.c:234,17'
          Dst:             EVP_CIPHER_CTX_set_padding
        - Src:             'eac_util.c:237,11'
          Dst:             cipher
        - Src:             'eac_util.c:242,9'
          Dst:             EVP_CIPHER_CTX_free
    - functionName:    CRYPTO_realloc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    randb
      functionSourceFile: '/src/opensc/openpace/src/eac_util.c'
      linkageType:     InternalLinkage
      functionLinenumber: 309
      functionLinenumberEnd: 322
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         15
      ICount:          70
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - BUF_MEM_free
        - BUF_MEM_grow
        - BUF_MEM_new
        - RAND_bytes
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_util.c:310,19'
          Dst:             BUF_MEM_new
        - Src:             'eac_util.c:311,16'
          Dst:             BUF_MEM_grow
        - Src:             'eac_util.c:312,14'
          Dst:             RAND_bytes
        - Src:             'eac_util.c:319,9'
          Dst:             BUF_MEM_free
    - functionName:    ecdh_compute_key_point
      functionSourceFile: '/src/opensc/openpace/src/misc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 226
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          259
      EdgeCount:       55
      CyclomaticComplexity: 17
      functionsReached:
        - BN_CTX_end
        - BN_CTX_free
        - BN_CTX_new
        - BN_CTX_start
        - CRYPTO_free
        - CRYPTO_malloc
        - EC_KEY_get0_group
        - EC_KEY_get0_private_key
        - EC_KEY_get_conv_form
        - EC_POINT_free
        - EC_POINT_mul
        - EC_POINT_new
        - EC_POINT_point2oct
        - ERR_print_errors_fp
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'misc.c:181,5'
          Dst:             fprintf
        - Src:             'misc.c:181,5'
          Dst:             ERR_print_errors_fp
        - Src:             'misc.c:183,16'
          Dst:             BN_CTX_new
        - Src:             'misc.c:184,5'
          Dst:             BN_CTX_start
        - Src:             'misc.c:186,16'
          Dst:             EC_KEY_get0_private_key
        - Src:             'misc.c:187,5'
          Dst:             fprintf
        - Src:             'misc.c:187,5'
          Dst:             ERR_print_errors_fp
        - Src:             'misc.c:189,13'
          Dst:             EC_KEY_get0_group
        - Src:             'misc.c:190,11'
          Dst:             EC_POINT_new
        - Src:             'misc.c:191,5'
          Dst:             fprintf
        - Src:             'misc.c:191,5'
          Dst:             ERR_print_errors_fp
        - Src:             'misc.c:193,5'
          Dst:             EC_POINT_mul
        - Src:             'misc.c:193,5'
          Dst:             fprintf
        - Src:             'misc.c:193,5'
          Dst:             ERR_print_errors_fp
        - Src:             'misc.c:196,45'
          Dst:             EC_KEY_get_conv_form
        - Src:             'misc.c:196,14'
          Dst:             EC_POINT_point2oct
        - Src:             'misc.c:198,5'
          Dst:             fprintf
        - Src:             'misc.c:198,5'
          Dst:             ERR_print_errors_fp
        - Src:             'misc.c:200,11'
          Dst:             CRYPTO_malloc
        - Src:             'misc.c:201,5'
          Dst:             fprintf
        - Src:             'misc.c:201,5'
          Dst:             ERR_print_errors_fp
        - Src:             'misc.c:203,5'
          Dst:             EC_KEY_get_conv_form
        - Src:             'misc.c:203,5'
          Dst:             EC_POINT_point2oct
        - Src:             'misc.c:203,5'
          Dst:             fprintf
        - Src:             'misc.c:203,5'
          Dst:             ERR_print_errors_fp
        - Src:             'misc.c:208,9'
          Dst:             fprintf
        - Src:             'misc.c:208,9'
          Dst:             ERR_print_errors_fp
        - Src:             'misc.c:222,14'
          Dst:             EC_POINT_free
        - Src:             'misc.c:223,14'
          Dst:             BN_CTX_end
        - Src:             'misc.c:224,14'
          Dst:             BN_CTX_free
        - Src:             'misc.c:225,14'
          Dst:             CRYPTO_free
    - functionName:    EC_POINT_mul
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_get_conv_form
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    new_ecdh_compute_key_point
      functionSourceFile: '/src/opensc/openpace/src/misc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 165
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          76
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - CRYPTO_free
        - CRYPTO_malloc
        - ERR_print_errors_fp
        - ecdh_compute_key_point
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'misc.c:151,13'
          Dst:             CRYPTO_malloc
        - Src:             'misc.c:152,5'
          Dst:             fprintf
        - Src:             'misc.c:152,5'
          Dst:             ERR_print_errors_fp
        - Src:             'misc.c:154,11'
          Dst:             ecdh_compute_key_point
        - Src:             'misc.c:157,9'
          Dst:             CRYPTO_free
    - functionName:    EC_POINT_point2mem
      functionSourceFile: '/src/opensc/openpace/src/misc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 298
      functionLinenumberEnd: 319
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          79
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - BUF_MEM_create
        - EC_KEY_get0_group
        - EC_KEY_get_conv_form
        - EC_POINT_point2oct
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'misc.c:305,30'
          Dst:             EC_KEY_get0_group
        - Src:             'misc.c:306,13'
          Dst:             EC_KEY_get_conv_form
        - Src:             'misc.c:305,11'
          Dst:             EC_POINT_point2oct
        - Src:             'misc.c:310,11'
          Dst:             BUF_MEM_create
        - Src:             'misc.c:314,38'
          Dst:             EC_KEY_get0_group
        - Src:             'misc.c:315,13'
          Dst:             EC_KEY_get_conv_form
        - Src:             'misc.c:314,19'
          Dst:             EC_POINT_point2oct
    - functionName:    BUF_MEM_create
      functionSourceFile: '/src/opensc/openpace/src/misc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 231
      functionLinenumberEnd: 245
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          55
      EdgeCount:       13
      CyclomaticComplexity: 5
      functionsReached:
        - BUF_MEM_free
        - BUF_MEM_grow
        - BUF_MEM_new
      functionUses:    19
      BranchProfiles:  []
      Callsites:
        - Src:             'misc.c:232,20'
          Dst:             BUF_MEM_new
        - Src:             'misc.c:239,10'
          Dst:             BUF_MEM_grow
        - Src:             'misc.c:240,9'
          Dst:             BUF_MEM_free
    - functionName:    BN_bn2buf
      functionSourceFile: '/src/opensc/openpace/src/misc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 294
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          54
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - BN_bn2bin
        - BN_num_bits
        - BUF_MEM_create
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'misc.c:287,26'
          Dst:             BN_num_bits
        - Src:             'misc.c:287,11'
          Dst:             BUF_MEM_create
        - Src:             'misc.c:291,19'
          Dst:             BN_bn2bin
    - functionName:    BUF_MEM_dup
      functionSourceFile: '/src/opensc/openpace/src/misc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 263
      functionLinenumberEnd: 277
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          64
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - BUF_MEM_create
        - ERR_print_errors_fp
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'misc.c:269,11'
          Dst:             BUF_MEM_create
        - Src:             'misc.c:270,5'
          Dst:             fprintf
        - Src:             'misc.c:270,5'
          Dst:             ERR_print_errors_fp
    - functionName:    BUF_MEM_create_init
      functionSourceFile: '/src/opensc/openpace/src/misc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 249
      functionLinenumberEnd: 259
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - BUF_MEM_create
      functionUses:    27
      BranchProfiles:  []
      Callsites:
        - Src:             'misc.c:252,11'
          Dst:             BUF_MEM_create
    - functionName:    EC_KEY_OpenSSL_Point
      functionSourceFile: '/src/opensc/openpace/src/misc.c'
      linkageType:     InternalLinkage
      functionLinenumber: 121
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    PACE_STEP3D_verify_authentication_token
      functionSourceFile: '/src/opensc/openpace/src/pace.c'
      linkageType:     InternalLinkage
      functionLinenumber: 203
      functionLinenumberEnd: 212
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          69
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - fprintf
        - verify_authentication_token
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace.c:205,9'
          Dst:             fprintf
        - Src:             'pace.c:205,9'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:209,12'
          Dst:             verify_authentication_token
    - functionName:    PACE_STEP3D_compute_authentication_token
      functionSourceFile: '/src/opensc/openpace/src/pace.c'
      linkageType:     InternalLinkage
      functionLinenumber: 190
      functionLinenumberEnd: 199
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          62
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - fprintf
        - get_authentication_token
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace.c:192,9'
          Dst:             fprintf
        - Src:             'pace.c:192,9'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:196,12'
          Dst:             get_authentication_token
    - functionName:    PACE_STEP3C_derive_keys
      functionSourceFile: '/src/opensc/openpace/src/pace.c'
      linkageType:     InternalLinkage
      functionLinenumber: 179
      functionLinenumberEnd: 186
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          51
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - KA_CTX_derive_keys
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace.c:181,9'
          Dst:             fprintf
        - Src:             'pace.c:181,9'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:185,12'
          Dst:             KA_CTX_derive_keys
    - functionName:    PACE_STEP3B_compute_shared_secret
      functionSourceFile: '/src/opensc/openpace/src/pace.c'
      linkageType:     InternalLinkage
      functionLinenumber: 150
      functionLinenumberEnd: 174
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          154
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - ERR_print_errors_fp
        - KA_CTX_compute_key
        - fprintf
        - memcmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace.c:153,5'
          Dst:             fprintf
        - Src:             'pace.c:153,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:161,20'
          Dst:             memcmp
        - Src:             'pace.c:163,9'
          Dst:             fprintf
        - Src:             'pace.c:163,9'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:168,5'
          Dst:             KA_CTX_compute_key
        - Src:             'pace.c:168,5'
          Dst:             fprintf
        - Src:             'pace.c:168,5'
          Dst:             ERR_print_errors_fp
    - functionName:    PACE_STEP3B_generate_ephemeral_key
      functionSourceFile: '/src/opensc/openpace/src/pace.c'
      linkageType:     InternalLinkage
      functionLinenumber: 135
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          85
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - BUF_MEM_create_init
        - ERR_print_errors_fp
        - KA_CTX_generate_key
        - __errno_location
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace.c:136,5'
          Dst:             fprintf
        - Src:             'pace.c:136,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:136,5'
          Dst:             __errno_location
        - Src:             'pace.c:138,36'
          Dst:             KA_CTX_generate_key
        - Src:             'pace.c:144,12'
          Dst:             BUF_MEM_create_init
    - functionName:    PACE_STEP3A_map_generator
      functionSourceFile: '/src/opensc/openpace/src/pace.c'
      linkageType:     InternalLinkage
      functionLinenumber: 124
      functionLinenumberEnd: 131
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          75
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace.c:126,9'
          Dst:             fprintf
        - Src:             'pace.c:126,9'
          Dst:             ERR_print_errors_fp
    - functionName:    PACE_STEP3A_generate_mapping_data
      functionSourceFile: '/src/opensc/openpace/src/pace.c'
      linkageType:     InternalLinkage
      functionLinenumber: 116
      functionLinenumberEnd: 120
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          69
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace.c:117,5'
          Dst:             fprintf
        - Src:             'pace.c:117,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:117,5'
          Dst:             __errno_location
    - functionName:    PACE_STEP2_dec_nonce
      functionSourceFile: '/src/opensc/openpace/src/pace.c'
      linkageType:     InternalLinkage
      functionLinenumber: 92
      functionLinenumberEnd: 111
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          133
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - BUF_MEM_clear_free
        - ERR_print_errors_fp
        - cipher_no_pad
        - fprintf
        - kdf_pi
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace.c:96,5'
          Dst:             fprintf
        - Src:             'pace.c:96,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:99,11'
          Dst:             kdf_pi
        - Src:             'pace.c:100,5'
          Dst:             fprintf
        - Src:             'pace.c:100,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:102,5'
          Dst:             BUF_MEM_clear_free
        - Src:             'pace.c:103,28'
          Dst:             cipher_no_pad
        - Src:             'pace.c:104,5'
          Dst:             fprintf
        - Src:             'pace.c:104,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:109,5'
          Dst:             BUF_MEM_clear_free
    - functionName:    PACE_STEP1_enc_nonce
      functionSourceFile: '/src/opensc/openpace/src/pace.c'
      linkageType:     InternalLinkage
      functionLinenumber: 66
      functionLinenumberEnd: 86
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          144
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - BUF_MEM_clear_free
        - ERR_print_errors_fp
        - EVP_CIPHER_block_size
        - cipher_no_pad
        - fprintf
        - kdf_pi
        - randb
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'pace.c:70,5'
          Dst:             fprintf
        - Src:             'pace.c:70,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:74,11'
          Dst:             kdf_pi
        - Src:             'pace.c:75,5'
          Dst:             fprintf
        - Src:             'pace.c:75,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:77,5'
          Dst:             BUF_MEM_clear_free
        - Src:             'pace.c:78,34'
          Dst:             EVP_CIPHER_block_size
        - Src:             'pace.c:78,28'
          Dst:             randb
        - Src:             'pace.c:79,5'
          Dst:             fprintf
        - Src:             'pace.c:79,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace.c:81,17'
          Dst:             cipher_no_pad
        - Src:             'pace.c:84,5'
          Dst:             BUF_MEM_clear_free
    - functionName:    encoded_mrz
      functionSourceFile: '/src/opensc/openpace/src/pace_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 176
      functionLinenumberEnd: 211
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          127
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - BUF_MEM_create
        - BUF_MEM_free
        - ERR_print_errors_fp
        - EVP_sha1
        - OPENSSL_cleanse
        - fprintf
        - hash
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_lib.c:180,5'
          Dst:             fprintf
        - Src:             'pace_lib.c:180,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_lib.c:183,5'
          Dst:             fprintf
        - Src:             'pace_lib.c:183,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_lib.c:193,11'
          Dst:             BUF_MEM_create
        - Src:             'pace_lib.c:203,16'
          Dst:             EVP_sha1
        - Src:             'pace_lib.c:203,11'
          Dst:             hash
        - Src:             'pace_lib.c:207,9'
          Dst:             OPENSSL_cleanse
        - Src:             'pace_lib.c:208,9'
          Dst:             BUF_MEM_free
    - functionName:    PACE_CTX_set_protocol
      functionSourceFile: '/src/opensc/openpace/src/pace_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 256
      functionLinenumberEnd: 307
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         52
      ICount:          266
      EdgeCount:       72
      CyclomaticComplexity: 22
      functionsReached:
        - ERR_print_errors_fp
        - KA_CTX_set_protocol
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_lib.c:258,9'
          Dst:             fprintf
        - Src:             'pace_lib.c:258,9'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_lib.c:261,10'
          Dst:             KA_CTX_set_protocol
        - Src:             'pace_lib.c:283,13'
          Dst:             fprintf
        - Src:             'pace_lib.c:283,13'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_lib.c:294,13'
          Dst:             fprintf
        - Src:             'pace_lib.c:294,13'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_lib.c:301,9'
          Dst:             fprintf
        - Src:             'pace_lib.c:301,9'
          Dst:             ERR_print_errors_fp
    - functionName:    PACE_CTX_new
      functionSourceFile: '/src/opensc/openpace/src/pace_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 230
      functionLinenumberEnd: 252
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         18
      ICount:          96
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - CRYPTO_free
        - CRYPTO_zalloc
        - ERR_print_errors_fp
        - EVP_PKEY_free
        - EVP_PKEY_new
        - KA_CTX_clear_free
        - KA_CTX_new
        - fprintf
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_lib.c:231,21'
          Dst:             CRYPTO_zalloc
        - Src:             'pace_lib.c:232,5'
          Dst:             fprintf
        - Src:             'pace_lib.c:232,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_lib.c:234,19'
          Dst:             KA_CTX_new
        - Src:             'pace_lib.c:235,23'
          Dst:             EVP_PKEY_new
        - Src:             'pace_lib.c:246,13'
          Dst:             EVP_PKEY_free
        - Src:             'pace_lib.c:247,9'
          Dst:             KA_CTX_clear_free
        - Src:             'pace_lib.c:248,9'
          Dst:             CRYPTO_free
    - functionName:    PACE_CTX_clear_free
      functionSourceFile: '/src/opensc/openpace/src/pace_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 216
      functionLinenumberEnd: 226
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          65
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - BUF_MEM_clear_free
        - BUF_MEM_free
        - CRYPTO_free
        - EVP_PKEY_free
        - KA_CTX_clear_free
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_lib.c:218,9'
          Dst:             BUF_MEM_clear_free
        - Src:             'pace_lib.c:219,9'
          Dst:             KA_CTX_clear_free
        - Src:             'pace_lib.c:221,13'
          Dst:             EVP_PKEY_free
        - Src:             'pace_lib.c:223,13'
          Dst:             BUF_MEM_free
        - Src:             'pace_lib.c:224,9'
          Dst:             CRYPTO_free
    - functionName:    encoded_secret
      functionSourceFile: '/src/opensc/openpace/src/pace_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 172
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          126
      EdgeCount:       22
      CyclomaticComplexity: 4
      functionsReached:
        - BUF_MEM_create_init
        - ERR_print_errors_fp
        - __errno_location
        - encoded_mrz
        - fprintf
        - is_char_str
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pace_lib.c:151,5'
          Branch Sides:    []
      Callsites:
        - Src:             'pace_lib.c:149,5'
          Dst:             fprintf
        - Src:             'pace_lib.c:149,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_lib.c:149,5'
          Dst:             __errno_location
        - Src:             'pace_lib.c:155,18'
          Dst:             is_char_str
        - Src:             'pace_lib.c:159,19'
          Dst:             BUF_MEM_create_init
        - Src:             'pace_lib.c:163,19'
          Dst:             encoded_mrz
        - Src:             'pace_lib.c:167,13'
          Dst:             fprintf
        - Src:             'pace_lib.c:167,13'
          Dst:             ERR_print_errors_fp
    - functionName:    PACE_SEC_new
      functionSourceFile: '/src/opensc/openpace/src/pace_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 112
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          110
      EdgeCount:       22
      CyclomaticComplexity: 4
      functionsReached:
        - BUF_MEM_create_init
        - CRYPTO_zalloc
        - ERR_print_errors_fp
        - PACE_SEC_clear_free
        - encoded_secret
        - fprintf
      functionUses:    1
      BranchProfiles:
        - Branch String:   'pace_lib.c:116,5'
          Branch Sides:    []
      Callsites:
        - Src:             'pace_lib.c:113,21'
          Dst:             CRYPTO_zalloc
        - Src:             'pace_lib.c:114,5'
          Dst:             fprintf
        - Src:             'pace_lib.c:114,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_lib.c:126,13'
          Dst:             fprintf
        - Src:             'pace_lib.c:126,13'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_lib.c:130,16'
          Dst:             BUF_MEM_create_init
        - Src:             'pace_lib.c:131,20'
          Dst:             encoded_secret
        - Src:             'pace_lib.c:138,5'
          Dst:             PACE_SEC_clear_free
    - functionName:    PACE_SEC_clear_free
      functionSourceFile: '/src/opensc/openpace/src/pace_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 96
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          79
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - BUF_MEM_free
        - CRYPTO_free
        - OPENSSL_cleanse
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_lib.c:99,13'
          Dst:             OPENSSL_cleanse
        - Src:             'pace_lib.c:100,13'
          Dst:             BUF_MEM_free
        - Src:             'pace_lib.c:103,13'
          Dst:             OPENSSL_cleanse
        - Src:             'pace_lib.c:104,13'
          Dst:             BUF_MEM_free
        - Src:             'pace_lib.c:106,9'
          Dst:             CRYPTO_free
    - functionName:    ecdh_im_compute_key
      functionSourceFile: '/src/opensc/openpace/src/pace_mappings.c'
      linkageType:     InternalLinkage
      functionLinenumber: 352
      functionLinenumberEnd: 491
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         113
      ICount:          705
      EdgeCount:       163
      CyclomaticComplexity: 52
      functionsReached:
        - BN_CTX_end
        - BN_CTX_get
        - BN_CTX_start
        - BN_bin2bn
        - BN_cmp
        - BN_copy
        - BN_div
        - BN_free
        - BN_mod_add
        - BN_mod_exp
        - BN_mod_inverse
        - BN_mod_mul
        - BN_mod_sqr
        - BN_mod_sub
        - BN_mul
        - BN_nnmod
        - BN_set_word
        - BN_sub
        - BN_value_one
        - BUF_MEM_free
        - EC_GROUP_get_curve_GFp
        - EC_KEY_dup
        - EC_KEY_free
        - EC_KEY_get0_group
        - EC_POINT_clear_free
        - EC_POINT_new
        - EC_POINT_set_affine_coordinates
        - ERR_print_errors_fp
        - EVP_PKEY_get1_EC_KEY
        - EVP_PKEY_set1_EC_KEY
        - cipher_no_pad
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_mappings.c:363,5'
          Dst:             BN_CTX_start
        - Src:             'pace_mappings.c:365,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:365,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:367,18'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'pace_mappings.c:372,9'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:373,9'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:374,9'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:375,9'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:376,9'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:377,9'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:378,11'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:379,13'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:380,12'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:381,11'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:382,19'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:383,11'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:384,12'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:385,14'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:390,13'
          Dst:             cipher_no_pad
        - Src:             'pace_mappings.c:395,33'
          Dst:             EC_KEY_get0_group
        - Src:             'pace_mappings.c:395,10'
          Dst:             EC_GROUP_get_curve_GFp
        - Src:             'pace_mappings.c:399,14'
          Dst:             BN_set_word
        - Src:             'pace_mappings.c:400,14'
          Dst:             BN_set_word
        - Src:             'pace_mappings.c:401,14'
          Dst:             BN_set_word
        - Src:             'pace_mappings.c:402,14'
          Dst:             BN_set_word
        - Src:             'pace_mappings.c:403,14'
          Dst:             BN_set_word
        - Src:             'pace_mappings.c:407,5'
          Dst:             BN_cmp
        - Src:             'pace_mappings.c:407,5'
          Dst:             BN_nnmod
        - Src:             'pace_mappings.c:407,5'
          Dst:             BN_cmp
        - Src:             'pace_mappings.c:407,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:407,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:416,9'
          Dst:             BN_bin2bn
        - Src:             'pace_mappings.c:421,14'
          Dst:             BN_mod_mul
        - Src:             'pace_mappings.c:422,14'
          Dst:             BN_mod_exp
        - Src:             'pace_mappings.c:423,14'
          Dst:             BN_mod_sub
        - Src:             'pace_mappings.c:424,14'
          Dst:             BN_mod_mul
        - Src:             'pace_mappings.c:427,14'
          Dst:             BN_mod_inverse
        - Src:             'pace_mappings.c:428,14'
          Dst:             BN_mod_mul
        - Src:             'pace_mappings.c:431,14'
          Dst:             BN_mod_sqr
        - Src:             'pace_mappings.c:432,14'
          Dst:             BN_mod_sub
        - Src:             'pace_mappings.c:433,14'
          Dst:             BN_mod_exp
        - Src:             'pace_mappings.c:434,14'
          Dst:             BN_mod_inverse
        - Src:             'pace_mappings.c:435,14'
          Dst:             BN_mod_mul
        - Src:             'pace_mappings.c:436,14'
          Dst:             BN_mod_sub
        - Src:             'pace_mappings.c:439,14'
          Dst:             BN_mul
        - Src:             'pace_mappings.c:440,31'
          Dst:             BN_value_one
        - Src:             'pace_mappings.c:440,14'
          Dst:             BN_sub
        - Src:             'pace_mappings.c:443,14'
          Dst:             BN_div
        - Src:             'pace_mappings.c:444,14'
          Dst:             BN_mod_exp
        - Src:             'pace_mappings.c:445,14'
          Dst:             BN_copy
        - Src:             'pace_mappings.c:448,14'
          Dst:             BN_mod_sqr
        - Src:             'pace_mappings.c:449,14'
          Dst:             BN_mod_inverse
        - Src:             'pace_mappings.c:450,14'
          Dst:             BN_mod_mul
        - Src:             'pace_mappings.c:451,14'
          Dst:             BN_mod_add
        - Src:             'pace_mappings.c:452,14'
          Dst:             BN_copy
        - Src:             'pace_mappings.c:455,14'
          Dst:             BN_mod_mul
        - Src:             'pace_mappings.c:456,14'
          Dst:             BN_mod_add
        - Src:             'pace_mappings.c:457,14'
          Dst:             BN_copy
        - Src:             'pace_mappings.c:462,21'
          Dst:             EC_KEY_dup
        - Src:             'pace_mappings.c:465,5'
          Dst:             EVP_PKEY_set1_EC_KEY
        - Src:             'pace_mappings.c:468,22'
          Dst:             EC_KEY_get0_group
        - Src:             'pace_mappings.c:468,9'
          Dst:             EC_POINT_new
        - Src:             'pace_mappings.c:471,42'
          Dst:             EC_KEY_get0_group
        - Src:             'pace_mappings.c:471,10'
          Dst:             EC_POINT_set_affine_coordinates
        - Src:             'pace_mappings.c:479,9'
          Dst:             BUF_MEM_free
        - Src:             'pace_mappings.c:481,9'
          Dst:             BN_free
        - Src:             'pace_mappings.c:482,5'
          Dst:             BN_CTX_end
        - Src:             'pace_mappings.c:484,9'
          Dst:             EC_POINT_clear_free
        - Src:             'pace_mappings.c:487,9'
          Dst:             EC_KEY_free
        - Src:             'pace_mappings.c:489,9'
          Dst:             EC_KEY_free
    - functionName:    BN_nnmod
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_mod_mul
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_mod_sub
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_mod_sqr
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_mul
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_copy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    BN_mod_add
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_dup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_POINT_set_affine_coordinates
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ecdh_im_generate_key
      functionSourceFile: '/src/opensc/openpace/src/pace_mappings.c'
      linkageType:     InternalLinkage
      functionLinenumber: 343
      functionLinenumberEnd: 347
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - EVP_CIPHER_key_length
        - __errno_location
        - fprintf
        - randb
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_mappings.c:344,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:344,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:344,5'
          Dst:             __errno_location
        - Src:             'pace_mappings.c:346,18'
          Dst:             EVP_CIPHER_key_length
        - Src:             'pace_mappings.c:346,12'
          Dst:             randb
    - functionName:    ecdh_gm_compute_key
      functionSourceFile: '/src/opensc/openpace/src/pace_mappings.c'
      linkageType:     InternalLinkage
      functionLinenumber: 247
      functionLinenumberEnd: 338
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         68
      ICount:          388
      EdgeCount:       94
      CyclomaticComplexity: 28
      functionsReached:
        - BN_CTX_end
        - BN_CTX_get
        - BN_CTX_start
        - BN_bin2bn
        - BN_clear_free
        - BN_value_one
        - BUF_MEM_free
        - EC_GROUP_check
        - EC_GROUP_clear_free
        - EC_GROUP_dup
        - EC_GROUP_get_cofactor
        - EC_GROUP_get_order
        - EC_GROUP_set_generator
        - EC_KEY_OpenSSL_Point
        - EC_KEY_dup
        - EC_KEY_free
        - EC_KEY_get0_group
        - EC_KEY_get_method
        - EC_KEY_set_group
        - EC_KEY_set_method
        - EC_POINT_clear_free
        - EC_POINT_mul
        - EC_POINT_new
        - EC_POINT_oct2point
        - ERR_print_errors_fp
        - EVP_PKEY_get1_EC_KEY
        - EVP_PKEY_set1_EC_KEY
        - ecdh_compute_key
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_mappings.c:260,5'
          Dst:             BN_CTX_start
        - Src:             'pace_mappings.c:262,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:262,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:264,18'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'pace_mappings.c:265,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:265,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:268,26'
          Dst:             EC_KEY_get0_group
        - Src:             'pace_mappings.c:268,13'
          Dst:             EC_GROUP_dup
        - Src:             'pace_mappings.c:269,13'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:270,16'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:271,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:271,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:272,10'
          Dst:             EC_GROUP_get_order
        - Src:             'pace_mappings.c:273,17'
          Dst:             EC_GROUP_get_cofactor
        - Src:             'pace_mappings.c:277,12'
          Dst:             BN_bin2bn
        - Src:             'pace_mappings.c:282,22'
          Dst:             EC_KEY_get_method
        - Src:             'pace_mappings.c:283,40'
          Dst:             EC_KEY_OpenSSL_Point
        - Src:             'pace_mappings.c:283,10'
          Dst:             EC_KEY_set_method
        - Src:             'pace_mappings.c:286,13'
          Dst:             ecdh_compute_key
        - Src:             'pace_mappings.c:287,5'
          Dst:             EC_KEY_set_method
        - Src:             'pace_mappings.c:295,13'
          Dst:             EC_POINT_new
        - Src:             'pace_mappings.c:296,30'
          Dst:             EC_POINT_oct2point
        - Src:             'pace_mappings.c:301,13'
          Dst:             EC_POINT_new
        - Src:             'pace_mappings.c:303,50'
          Dst:             BN_value_one
        - Src:             'pace_mappings.c:303,10'
          Dst:             EC_POINT_mul
        - Src:             'pace_mappings.c:307,21'
          Dst:             EC_KEY_dup
        - Src:             'pace_mappings.c:310,5'
          Dst:             EVP_PKEY_set1_EC_KEY
        - Src:             'pace_mappings.c:313,10'
          Dst:             EC_GROUP_set_generator
        - Src:             'pace_mappings.c:314,17'
          Dst:             EC_GROUP_check
        - Src:             'pace_mappings.c:315,17'
          Dst:             EC_KEY_set_group
        - Src:             'pace_mappings.c:322,9'
          Dst:             EC_POINT_clear_free
        - Src:             'pace_mappings.c:324,9'
          Dst:             EC_POINT_clear_free
        - Src:             'pace_mappings.c:326,9'
          Dst:             BUF_MEM_free
        - Src:             'pace_mappings.c:328,9'
          Dst:             BN_clear_free
        - Src:             'pace_mappings.c:329,5'
          Dst:             BN_CTX_end
        - Src:             'pace_mappings.c:332,9'
          Dst:             EC_KEY_free
        - Src:             'pace_mappings.c:334,9'
          Dst:             EC_KEY_free
        - Src:             'pace_mappings.c:336,9'
          Dst:             EC_GROUP_clear_free
    - functionName:    EC_GROUP_dup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_get_method
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_KEY_set_method
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EC_GROUP_check
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ecdh_gm_generate_key
      functionSourceFile: '/src/opensc/openpace/src/pace_mappings.c'
      linkageType:     InternalLinkage
      functionLinenumber: 238
      functionLinenumberEnd: 242
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - ecdh_generate_key
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_mappings.c:239,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:239,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:239,5'
          Dst:             __errno_location
        - Src:             'pace_mappings.c:241,12'
          Dst:             ecdh_generate_key
    - functionName:    dh_im_compute_key
      functionSourceFile: '/src/opensc/openpace/src/pace_mappings.c'
      linkageType:     InternalLinkage
      functionLinenumber: 160
      functionLinenumberEnd: 233
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         64
      ICount:          361
      EdgeCount:       89
      CyclomaticComplexity: 27
      functionsReached:
        - BN_CTX_end
        - BN_CTX_get
        - BN_CTX_start
        - BN_bin2bn
        - BN_clear_free
        - BN_div
        - BN_dup
        - BN_is_one
        - BN_mod_exp
        - BN_sub_word
        - BUF_MEM_free
        - DH_free
        - DH_get0_pqg
        - DH_get_q
        - DH_set0_pqg
        - DHparams_dup_with_q
        - ERR_print_errors_fp
        - EVP_CIPHER_key_length
        - EVP_PKEY_get1_DH
        - EVP_PKEY_set1_DH
        - cipher_no_pad
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_mappings.c:167,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:167,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:168,31'
          Dst:             EVP_CIPHER_key_length
        - Src:             'pace_mappings.c:172,5'
          Dst:             BN_CTX_start
        - Src:             'pace_mappings.c:174,18'
          Dst:             EVP_PKEY_get1_DH
        - Src:             'pace_mappings.c:179,21'
          Dst:             DHparams_dup_with_q
        - Src:             'pace_mappings.c:182,5'
          Dst:             DH_get0_pqg
        - Src:             'pace_mappings.c:185,13'
          Dst:             cipher_no_pad
        - Src:             'pace_mappings.c:188,12'
          Dst:             BN_bin2bn
        - Src:             'pace_mappings.c:189,9'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:190,9'
          Dst:             DH_get_q
        - Src:             'pace_mappings.c:191,11'
          Dst:             BN_dup
        - Src:             'pace_mappings.c:192,13'
          Dst:             BN_dup
        - Src:             'pace_mappings.c:195,14'
          Dst:             BN_sub_word
        - Src:             'pace_mappings.c:197,14'
          Dst:             BN_div
        - Src:             'pace_mappings.c:199,14'
          Dst:             BN_mod_exp
        - Src:             'pace_mappings.c:203,5'
          Dst:             BN_is_one
        - Src:             'pace_mappings.c:203,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:203,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:205,32'
          Dst:             BN_dup
        - Src:             'pace_mappings.c:205,5'
          Dst:             DH_set0_pqg
        - Src:             'pace_mappings.c:210,10'
          Dst:             EVP_PKEY_set1_DH
        - Src:             'pace_mappings.c:217,9'
          Dst:             BN_clear_free
        - Src:             'pace_mappings.c:219,9'
          Dst:             BN_clear_free
        - Src:             'pace_mappings.c:221,9'
          Dst:             BN_clear_free
        - Src:             'pace_mappings.c:223,9'
          Dst:             BN_clear_free
        - Src:             'pace_mappings.c:225,9'
          Dst:             BUF_MEM_free
        - Src:             'pace_mappings.c:228,9'
          Dst:             DH_free
        - Src:             'pace_mappings.c:230,9'
          Dst:             DH_free
        - Src:             'pace_mappings.c:231,5'
          Dst:             BN_CTX_end
    - functionName:    dh_im_generate_key
      functionSourceFile: '/src/opensc/openpace/src/pace_mappings.c'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 155
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          53
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - EVP_CIPHER_key_length
        - __errno_location
        - fprintf
        - randb
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_mappings.c:152,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:152,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:152,5'
          Dst:             __errno_location
        - Src:             'pace_mappings.c:154,18'
          Dst:             EVP_CIPHER_key_length
        - Src:             'pace_mappings.c:154,12'
          Dst:             randb
    - functionName:    dh_gm_compute_key
      functionSourceFile: '/src/opensc/openpace/src/pace_mappings.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         54
      ICount:          317
      EdgeCount:       75
      CyclomaticComplexity: 23
      functionsReached:
        - BN_CTX_end
        - BN_CTX_get
        - BN_CTX_start
        - BN_bin2bn
        - BN_clear_free
        - BN_dup
        - BN_mod_exp
        - BN_mod_mul
        - BN_new
        - BUF_MEM_free
        - DH_free
        - DH_get0_pqg
        - DH_set0_pqg
        - DHparams_dup
        - ERR_print_errors_fp
        - EVP_PKEY_get1_DH
        - EVP_PKEY_set1_DH
        - OPENSSL_cleanse
        - dh_compute_key
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_mappings.c:80,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:80,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:82,5'
          Dst:             BN_CTX_start
        - Src:             'pace_mappings.c:84,18'
          Dst:             EVP_PKEY_get1_DH
        - Src:             'pace_mappings.c:89,12'
          Dst:             BN_bin2bn
        - Src:             'pace_mappings.c:94,13'
          Dst:             dh_compute_key
        - Src:             'pace_mappings.c:97,12'
          Dst:             BN_bin2bn
        - Src:             'pace_mappings.c:102,21'
          Dst:             DHparams_dup
        - Src:             'pace_mappings.c:106,5'
          Dst:             DH_get0_pqg
        - Src:             'pace_mappings.c:109,12'
          Dst:             BN_CTX_get
        - Src:             'pace_mappings.c:110,13'
          Dst:             BN_new
        - Src:             'pace_mappings.c:113,10'
          Dst:             BN_mod_exp
        - Src:             'pace_mappings.c:115,10'
          Dst:             BN_mod_mul
        - Src:             'pace_mappings.c:118,37'
          Dst:             BN_dup
        - Src:             'pace_mappings.c:118,48'
          Dst:             BN_dup
        - Src:             'pace_mappings.c:118,10'
          Dst:             DH_set0_pqg
        - Src:             'pace_mappings.c:123,10'
          Dst:             EVP_PKEY_set1_DH
        - Src:             'pace_mappings.c:130,9'
          Dst:             OPENSSL_cleanse
        - Src:             'pace_mappings.c:131,9'
          Dst:             BUF_MEM_free
        - Src:             'pace_mappings.c:134,9'
          Dst:             BN_clear_free
        - Src:             'pace_mappings.c:136,9'
          Dst:             BN_clear_free
        - Src:             'pace_mappings.c:139,9'
          Dst:             DH_free
        - Src:             'pace_mappings.c:141,9'
          Dst:             DH_free
        - Src:             'pace_mappings.c:142,5'
          Dst:             BN_CTX_end
        - Src:             'pace_mappings.c:144,9'
          Dst:             BN_clear_free
    - functionName:    dh_gm_generate_key
      functionSourceFile: '/src/opensc/openpace/src/pace_mappings.c'
      linkageType:     InternalLinkage
      functionLinenumber: 64
      functionLinenumberEnd: 68
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          41
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - ERR_print_errors_fp
        - __errno_location
        - dh_generate_key
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'pace_mappings.c:65,5'
          Dst:             fprintf
        - Src:             'pace_mappings.c:65,5'
          Dst:             ERR_print_errors_fp
        - Src:             'pace_mappings.c:65,5'
          Dst:             __errno_location
        - Src:             'pace_mappings.c:67,12'
          Dst:             dh_generate_key
    - functionName:    RI_CTX_set_protocol
      functionSourceFile: '/src/opensc/openpace/src/ri_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 98
      functionLinenumberEnd: 161
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         36
      ICount:          243
      EdgeCount:       47
      CyclomaticComplexity: 13
      functionsReached:
        - ERR_print_errors_fp
        - EVP_sha1
        - EVP_sha224
        - EVP_sha256
        - EVP_sha384
        - EVP_sha512
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ri_lib.c:100,9'
          Dst:             fprintf
        - Src:             'ri_lib.c:100,9'
          Dst:             ERR_print_errors_fp
        - Src:             'ri_lib.c:105,19'
          Dst:             EVP_sha1
        - Src:             'ri_lib.c:110,19'
          Dst:             EVP_sha224
        - Src:             'ri_lib.c:115,19'
          Dst:             EVP_sha256
        - Src:             'ri_lib.c:120,19'
          Dst:             EVP_sha384
        - Src:             'ri_lib.c:125,19'
          Dst:             EVP_sha512
        - Src:             'ri_lib.c:130,19'
          Dst:             EVP_sha1
        - Src:             'ri_lib.c:135,19'
          Dst:             EVP_sha224
        - Src:             'ri_lib.c:140,19'
          Dst:             EVP_sha256
        - Src:             'ri_lib.c:145,19'
          Dst:             EVP_sha384
        - Src:             'ri_lib.c:150,19'
          Dst:             EVP_sha512
        - Src:             'ri_lib.c:155,9'
          Dst:             fprintf
        - Src:             'ri_lib.c:155,9'
          Dst:             ERR_print_errors_fp
    - functionName:    RI_CTX_new
      functionSourceFile: '/src/opensc/openpace/src/ri_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 75
      functionLinenumberEnd: 94
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         15
      ICount:          80
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - CRYPTO_free
        - CRYPTO_zalloc
        - ERR_print_errors_fp
        - EVP_PKEY_free
        - EVP_PKEY_new
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ri_lib.c:78,21'
          Dst:             CRYPTO_zalloc
        - Src:             'ri_lib.c:79,5'
          Dst:             fprintf
        - Src:             'ri_lib.c:79,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ri_lib.c:81,23'
          Dst:             EVP_PKEY_new
        - Src:             'ri_lib.c:82,5'
          Dst:             fprintf
        - Src:             'ri_lib.c:82,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ri_lib.c:89,13'
          Dst:             EVP_PKEY_free
        - Src:             'ri_lib.c:90,9'
          Dst:             CRYPTO_free
    - functionName:    RI_CTX_clear_free
      functionSourceFile: '/src/opensc/openpace/src/ri_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 65
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          40
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - CRYPTO_free
        - EVP_PKEY_free
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'ri_lib.c:68,13'
          Dst:             EVP_PKEY_free
        - Src:             'ri_lib.c:69,9'
          Dst:             CRYPTO_free
    - functionName:    TA_STEP6_verify
      functionSourceFile: '/src/opensc/openpace/src/ta.c'
      linkageType:     InternalLinkage
      functionLinenumber: 212
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          103
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - BUF_MEM_free
        - EAC_verify
        - ERR_print_errors_fp
        - fprintf
        - get_ta_sigdata
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ta.c:216,5'
          Dst:             fprintf
        - Src:             'ta.c:216,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta.c:218,5'
          Dst:             fprintf
        - Src:             'ta.c:218,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta.c:221,12'
          Dst:             get_ta_sigdata
        - Src:             'ta.c:223,9'
          Dst:             EAC_verify
        - Src:             'ta.c:227,9'
          Dst:             BUF_MEM_free
    - functionName:    get_ta_sigdata
      functionSourceFile: '/src/opensc/openpace/src/ta.c'
      linkageType:     InternalLinkage
      functionLinenumber: 104
      functionLinenumberEnd: 135
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          174
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - BUF_MEM_create
        - ERR_print_errors_fp
        - __errno_location
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ta.c:108,5'
          Dst:             fprintf
        - Src:             'ta.c:108,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta.c:108,5'
          Dst:             __errno_location
        - Src:             'ta.c:121,12'
          Dst:             BUF_MEM_create
    - functionName:    TA_STEP5_sign
      functionSourceFile: '/src/opensc/openpace/src/ta.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 205
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          85
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - BUF_MEM_free
        - EAC_sign
        - ERR_print_errors_fp
        - fprintf
        - get_ta_sigdata
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ta.c:194,5'
          Dst:             fprintf
        - Src:             'ta.c:194,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta.c:197,12'
          Dst:             get_ta_sigdata
        - Src:             'ta.c:199,17'
          Dst:             EAC_sign
        - Src:             'ta.c:203,9'
          Dst:             BUF_MEM_free
    - functionName:    TA_STEP4_set_nonce
      functionSourceFile: '/src/opensc/openpace/src/ta.c'
      linkageType:     InternalLinkage
      functionLinenumber: 172
      functionLinenumberEnd: 185
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         16
      ICount:          94
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - BUF_MEM_dup
        - BUF_MEM_free
        - ERR_print_errors_fp
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ta.c:175,5'
          Dst:             fprintf
        - Src:             'ta.c:175,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta.c:178,7'
          Dst:             BUF_MEM_free
        - Src:             'ta.c:180,26'
          Dst:             BUF_MEM_dup
        - Src:             'ta.c:181,5'
          Dst:             fprintf
        - Src:             'ta.c:181,5'
          Dst:             ERR_print_errors_fp
    - functionName:    TA_STEP4_get_nonce
      functionSourceFile: '/src/opensc/openpace/src/ta.c'
      linkageType:     InternalLinkage
      functionLinenumber: 160
      functionLinenumberEnd: 169
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          80
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - BUF_MEM_clear_free
        - BUF_MEM_dup
        - ERR_print_errors_fp
        - __errno_location
        - fprintf
        - randb
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'ta.c:161,5'
          Dst:             fprintf
        - Src:             'ta.c:161,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta.c:161,5'
          Dst:             __errno_location
        - Src:             'ta.c:163,5'
          Dst:             BUF_MEM_clear_free
        - Src:             'ta.c:164,26'
          Dst:             randb
        - Src:             'ta.c:166,5'
          Dst:             fprintf
        - Src:             'ta.c:166,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta.c:166,5'
          Dst:             __errno_location
        - Src:             'ta.c:168,12'
          Dst:             BUF_MEM_dup
    - functionName:    TA_STEP3_generate_ephemeral_key
      functionSourceFile: '/src/opensc/openpace/src/ta.c'
      linkageType:     InternalLinkage
      functionLinenumber: 139
      functionLinenumberEnd: 154
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          95
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - BUF_MEM_free
        - Comp
        - ERR_print_errors_fp
        - KA_CTX_generate_key
        - __errno_location
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ta.c:142,5'
          Dst:             fprintf
        - Src:             'ta.c:142,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta.c:142,5'
          Dst:             __errno_location
        - Src:             'ta.c:145,15'
          Dst:             KA_CTX_generate_key
        - Src:             'ta.c:147,20'
          Dst:             Comp
        - Src:             'ta.c:151,9'
          Dst:             BUF_MEM_free
    - functionName:    TA_STEP2_import_certificate
      functionSourceFile: '/src/opensc/openpace/src/ta.c'
      linkageType:     InternalLinkage
      functionLinenumber: 74
      functionLinenumberEnd: 87
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          62
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - CVC_CERT_free
        - CVC_d2i_CVC_CERT
        - ERR_print_errors_fp
        - TA_CTX_import_certificate
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ta.c:78,5'
          Dst:             fprintf
        - Src:             'ta.c:78,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta.c:80,15'
          Dst:             CVC_d2i_CVC_CERT
        - Src:             'ta.c:81,9'
          Dst:             TA_CTX_import_certificate
        - Src:             'ta.c:85,9'
          Dst:             CVC_CERT_free
    - functionName:    TA_disable_checks
      functionSourceFile: '/src/opensc/openpace/src/ta.c'
      linkageType:     InternalLinkage
      functionLinenumber: 66
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          31
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    TA_CTX_set_parameters
      functionSourceFile: '/src/opensc/openpace/src/ta_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 198
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          171
      EdgeCount:       37
      CyclomaticComplexity: 12
      functionsReached:
        - CVC_pubkey2pkey
        - ERR_print_errors_fp
        - EVP_PKEY_dup
        - EVP_PKEY_free
        - OBJ_obj2nid
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ta_lib.c:169,5'
          Dst:             fprintf
        - Src:             'ta_lib.c:169,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:174,15'
          Dst:             EVP_PKEY_dup
        - Src:             'ta_lib.c:175,9'
          Dst:             fprintf
        - Src:             'ta_lib.c:175,9'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:176,9'
          Dst:             CVC_pubkey2pkey
        - Src:             'ta_lib.c:176,9'
          Dst:             fprintf
        - Src:             'ta_lib.c:176,9'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:180,15'
          Dst:             CVC_pubkey2pkey
        - Src:             'ta_lib.c:181,9'
          Dst:             fprintf
        - Src:             'ta_lib.c:181,9'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:187,11'
          Dst:             OBJ_obj2nid
        - Src:             'ta_lib.c:188,5'
          Dst:             fprintf
        - Src:             'ta_lib.c:188,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:197,9'
          Dst:             EVP_PKEY_free
    - functionName:    TA_CTX_set_trust_anchor
      functionSourceFile: '/src/opensc/openpace/src/ta_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 292
      functionLinenumberEnd: 311
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          88
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - ASN1_dup
        - CVC_CERT_free
        - CVC_d2i_CVC_CERT
        - ERR_print_errors_fp
        - TA_CTX_set_parameters
        - fprintf
        - i2d_CVC_CERT
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ta_lib.c:295,5'
          Dst:             fprintf
        - Src:             'ta_lib.c:295,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:298,9'
          Dst:             CVC_CERT_free
        - Src:             'ta_lib.c:299,25'
          Dst:             ASN1_dup
        - Src:             'ta_lib.c:299,25'
          Dst:             i2d_CVC_CERT
        - Src:             'ta_lib.c:299,25'
          Dst:             CVC_d2i_CVC_CERT
        - Src:             'ta_lib.c:304,9'
          Dst:             CVC_CERT_free
        - Src:             'ta_lib.c:308,10'
          Dst:             TA_CTX_set_parameters
    - functionName:    ASN1_dup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cvc_check_time
      functionSourceFile: '/src/opensc/openpace/src/ta_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 160
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         38
      ICount:          324
      EdgeCount:       54
      CyclomaticComplexity: 18
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - difftime
        - gmtime
        - is_bcd
        - mktime
        - time
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ta_lib.c:105,16'
          Dst:             ASN1_STRING_length
        - Src:             'ta_lib.c:106,24'
          Dst:             ASN1_STRING_get0_data
        - Src:             'ta_lib.c:107,17'
          Dst:             ASN1_STRING_length
        - Src:             'ta_lib.c:106,17'
          Dst:             is_bcd
        - Src:             'ta_lib.c:108,16'
          Dst:             ASN1_STRING_length
        - Src:             'ta_lib.c:109,24'
          Dst:             ASN1_STRING_get0_data
        - Src:             'ta_lib.c:110,17'
          Dst:             ASN1_STRING_length
        - Src:             'ta_lib.c:109,17'
          Dst:             is_bcd
        - Src:             'ta_lib.c:114,5'
          Dst:             time
        - Src:             'ta_lib.c:115,14'
          Dst:             gmtime
        - Src:             'ta_lib.c:126,13'
          Dst:             ASN1_STRING_get0_data
        - Src:             'ta_lib.c:127,13'
          Dst:             ASN1_STRING_get0_data
        - Src:             'ta_lib.c:154,25'
          Dst:             mktime
        - Src:             'ta_lib.c:154,41'
          Dst:             mktime
        - Src:             'ta_lib.c:154,16'
          Dst:             difftime
        - Src:             'ta_lib.c:155,25'
          Dst:             mktime
        - Src:             'ta_lib.c:155,42'
          Dst:             mktime
        - Src:             'ta_lib.c:155,16'
          Dst:             difftime
    - functionName:    gmtime
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mktime
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    difftime
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      double
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    TA_CTX_import_certificate
      functionSourceFile: '/src/opensc/openpace/src/ta_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 286
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         79
      ICount:          480
      EdgeCount:       110
      CyclomaticComplexity: 33
      functionsReached:
        - ASN1_STRING_get0_data
        - ASN1_STRING_length
        - ASN1_dup
        - CVC_CERT_free
        - CVC_d2i_CVC_CERT
        - CVC_get_role
        - CVC_verify_signature
        - ERR_print_errors_fp
        - OBJ_obj2nid
        - TA_CTX_import_certificate
        - TA_CTX_set_parameters
        - TA_CTX_set_trust_anchor
        - cvc_check_time
        - fprintf
        - i2d_CVC_CERT
        - memcmp
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'ta_lib.c:208,5'
          Dst:             fprintf
        - Src:             'ta_lib.c:208,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:215,16'
          Dst:             CVC_get_role
        - Src:             'ta_lib.c:216,9'
          Dst:             cvc_check_time
        - Src:             'ta_lib.c:216,9'
          Dst:             fprintf
        - Src:             'ta_lib.c:216,9'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:227,17'
          Dst:             ASN1_STRING_get0_data
        - Src:             'ta_lib.c:228,17'
          Dst:             ASN1_STRING_length
        - Src:             'ta_lib.c:229,9'
          Dst:             fprintf
        - Src:             'ta_lib.c:229,9'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:233,13'
          Dst:             CVC_get_role
        - Src:             'ta_lib.c:234,13'
          Dst:             TA_CTX_set_trust_anchor
        - Src:             'ta_lib.c:236,13'
          Dst:             TA_CTX_import_certificate
        - Src:             'ta_lib.c:236,13'
          Dst:             fprintf
        - Src:             'ta_lib.c:236,13'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:240,5'
          Dst:             fprintf
        - Src:             'ta_lib.c:240,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:246,5'
          Dst:             ASN1_STRING_length
        - Src:             'ta_lib.c:246,5'
          Dst:             ASN1_STRING_length
        - Src:             'ta_lib.c:246,5'
          Dst:             ASN1_STRING_get0_data
        - Src:             'ta_lib.c:246,5'
          Dst:             ASN1_STRING_get0_data
        - Src:             'ta_lib.c:246,5'
          Dst:             ASN1_STRING_length
        - Src:             'ta_lib.c:246,5'
          Dst:             memcmp
        - Src:             'ta_lib.c:246,5'
          Dst:             fprintf
        - Src:             'ta_lib.c:246,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:256,13'
          Dst:             OBJ_obj2nid
        - Src:             'ta_lib.c:255,9'
          Dst:             CVC_verify_signature
        - Src:             'ta_lib.c:257,5'
          Dst:             fprintf
        - Src:             'ta_lib.c:257,5'
          Dst:             ERR_print_errors_fp
        - Src:             'ta_lib.c:263,9'
          Dst:             CVC_CERT_free
        - Src:             'ta_lib.c:265,25'
          Dst:             ASN1_dup
        - Src:             'ta_lib.c:265,25'
          Dst:             i2d_CVC_CERT
        - Src:             'ta_lib.c:265,25'
          Dst:             CVC_d2i_CVC_CERT
        - Src:             'ta_lib.c:270,9'
          Dst:             CVC_get_role
        - Src:             'ta_lib.c:272,13'
          Dst:             CVC_CERT_free
        - Src:             'ta_lib.c:273,33'
          Dst:             ASN1_dup
        - Src:             'ta_lib.c:273,33'
          Dst:             i2d_CVC_CERT
        - Src:             'ta_lib.c:273,33'
          Dst:             CVC_d2i_CVC_CERT
        - Src:             'ta_lib.c:278,10'
          Dst:             TA_CTX_set_parameters
        - Src:             'ta_lib.c:283,9'
          Dst:             CVC_CERT_free
    - functionName:    TA_CTX_clear_free
      functionSourceFile: '/src/opensc/openpace/src/ta_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 72
      functionLinenumberEnd: 92
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         24
      ICount:          129
      EdgeCount:       31
      CyclomaticComplexity: 9
      functionsReached:
        - BUF_MEM_clear_free
        - BUF_MEM_free
        - CRYPTO_free
        - CVC_CERT_free
        - EVP_PKEY_free
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ta_lib.c:77,9'
          Dst:             BUF_MEM_free
        - Src:             'ta_lib.c:79,9'
          Dst:             EVP_PKEY_free
        - Src:             'ta_lib.c:81,9'
          Dst:             EVP_PKEY_free
        - Src:             'ta_lib.c:83,9'
          Dst:             CVC_CERT_free
        - Src:             'ta_lib.c:85,9'
          Dst:             CVC_CERT_free
        - Src:             'ta_lib.c:87,9'
          Dst:             CVC_CERT_free
        - Src:             'ta_lib.c:88,5'
          Dst:             BUF_MEM_clear_free
        - Src:             'ta_lib.c:90,5'
          Dst:             CRYPTO_free
    - functionName:    TA_CTX_new
      functionSourceFile: '/src/opensc/openpace/src/ta_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 61
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         6
      ICount:          34
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - CRYPTO_zalloc
        - EAC_get_default_cvca_lookup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'ta_lib.c:62,30'
          Dst:             CRYPTO_zalloc
        - Src:             'ta_lib.c:66,29'
          Dst:             EAC_get_default_cvca_lookup
    - functionName:    EAC_remove_all_objects
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 842
      functionLinenumberEnd: 847
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         7
      ICount:          23
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_add_all_objects
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 174
      functionLinenumberEnd: 839
      functionDepth:   0
      returnType:      void
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         640
      ICount:          3033
      EdgeCount:       878
      CyclomaticComplexity: 240
      functionsReached:
        - ERR_print_errors_fp
        - OBJ_create
        - OBJ_txt2nid
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'objects.c:184,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:186,15'
          Dst:             OBJ_create
        - Src:             'objects.c:193,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:195,15'
          Dst:             OBJ_create
        - Src:             'objects.c:200,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:202,15'
          Dst:             OBJ_create
        - Src:             'objects.c:207,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:209,15'
          Dst:             OBJ_create
        - Src:             'objects.c:214,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:216,15'
          Dst:             OBJ_create
        - Src:             'objects.c:221,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:223,15'
          Dst:             OBJ_create
        - Src:             'objects.c:228,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:230,15'
          Dst:             OBJ_create
        - Src:             'objects.c:235,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:237,15'
          Dst:             OBJ_create
        - Src:             'objects.c:242,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:244,15'
          Dst:             OBJ_create
        - Src:             'objects.c:249,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:251,15'
          Dst:             OBJ_create
        - Src:             'objects.c:256,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:258,15'
          Dst:             OBJ_create
        - Src:             'objects.c:263,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:265,15'
          Dst:             OBJ_create
        - Src:             'objects.c:270,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:272,15'
          Dst:             OBJ_create
        - Src:             'objects.c:277,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:279,15'
          Dst:             OBJ_create
        - Src:             'objects.c:284,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:286,15'
          Dst:             OBJ_create
        - Src:             'objects.c:291,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:293,15'
          Dst:             OBJ_create
        - Src:             'objects.c:298,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:300,15'
          Dst:             OBJ_create
        - Src:             'objects.c:307,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:309,15'
          Dst:             OBJ_create
        - Src:             'objects.c:314,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:316,15'
          Dst:             OBJ_create
        - Src:             'objects.c:321,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:323,15'
          Dst:             OBJ_create
        - Src:             'objects.c:328,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:330,15'
          Dst:             OBJ_create
        - Src:             'objects.c:335,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:337,15'
          Dst:             OBJ_create
        - Src:             'objects.c:342,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:344,15'
          Dst:             OBJ_create
        - Src:             'objects.c:349,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:351,15'
          Dst:             OBJ_create
        - Src:             'objects.c:356,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:358,15'
          Dst:             OBJ_create
        - Src:             'objects.c:363,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:365,15'
          Dst:             OBJ_create
        - Src:             'objects.c:370,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:372,15'
          Dst:             OBJ_create
        - Src:             'objects.c:379,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:381,15'
          Dst:             OBJ_create
        - Src:             'objects.c:386,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:388,15'
          Dst:             OBJ_create
        - Src:             'objects.c:393,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:395,15'
          Dst:             OBJ_create
        - Src:             'objects.c:400,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:402,15'
          Dst:             OBJ_create
        - Src:             'objects.c:407,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:409,15'
          Dst:             OBJ_create
        - Src:             'objects.c:414,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:416,15'
          Dst:             OBJ_create
        - Src:             'objects.c:421,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:423,15'
          Dst:             OBJ_create
        - Src:             'objects.c:428,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:430,15'
          Dst:             OBJ_create
        - Src:             'objects.c:435,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:437,15'
          Dst:             OBJ_create
        - Src:             'objects.c:442,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:444,15'
          Dst:             OBJ_create
        - Src:             'objects.c:449,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:451,15'
          Dst:             OBJ_create
        - Src:             'objects.c:456,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:458,15'
          Dst:             OBJ_create
        - Src:             'objects.c:463,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:465,15'
          Dst:             OBJ_create
        - Src:             'objects.c:470,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:472,15'
          Dst:             OBJ_create
        - Src:             'objects.c:477,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:479,15'
          Dst:             OBJ_create
        - Src:             'objects.c:484,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:486,15'
          Dst:             OBJ_create
        - Src:             'objects.c:491,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:493,15'
          Dst:             OBJ_create
        - Src:             'objects.c:498,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:500,15'
          Dst:             OBJ_create
        - Src:             'objects.c:505,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:507,15'
          Dst:             OBJ_create
        - Src:             'objects.c:512,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:514,15'
          Dst:             OBJ_create
        - Src:             'objects.c:521,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:523,15'
          Dst:             OBJ_create
        - Src:             'objects.c:528,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:530,15'
          Dst:             OBJ_create
        - Src:             'objects.c:535,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:537,15'
          Dst:             OBJ_create
        - Src:             'objects.c:542,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:544,15'
          Dst:             OBJ_create
        - Src:             'objects.c:549,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:551,15'
          Dst:             OBJ_create
        - Src:             'objects.c:556,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:558,15'
          Dst:             OBJ_create
        - Src:             'objects.c:563,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:565,15'
          Dst:             OBJ_create
        - Src:             'objects.c:570,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:572,15'
          Dst:             OBJ_create
        - Src:             'objects.c:577,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:579,15'
          Dst:             OBJ_create
        - Src:             'objects.c:584,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:586,15'
          Dst:             OBJ_create
        - Src:             'objects.c:591,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:593,15'
          Dst:             OBJ_create
        - Src:             'objects.c:598,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:600,15'
          Dst:             OBJ_create
        - Src:             'objects.c:605,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:607,15'
          Dst:             OBJ_create
        - Src:             'objects.c:612,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:614,15'
          Dst:             OBJ_create
        - Src:             'objects.c:619,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:621,15'
          Dst:             OBJ_create
        - Src:             'objects.c:630,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:632,15'
          Dst:             OBJ_create
        - Src:             'objects.c:637,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:639,15'
          Dst:             OBJ_create
        - Src:             'objects.c:644,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:646,15'
          Dst:             OBJ_create
        - Src:             'objects.c:651,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:653,15'
          Dst:             OBJ_create
        - Src:             'objects.c:658,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:660,15'
          Dst:             OBJ_create
        - Src:             'objects.c:667,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:669,15'
          Dst:             OBJ_create
        - Src:             'objects.c:674,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:676,15'
          Dst:             OBJ_create
        - Src:             'objects.c:681,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:683,15'
          Dst:             OBJ_create
        - Src:             'objects.c:690,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:692,15'
          Dst:             OBJ_create
        - Src:             'objects.c:697,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:699,15'
          Dst:             OBJ_create
        - Src:             'objects.c:704,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:706,15'
          Dst:             OBJ_create
        - Src:             'objects.c:711,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:713,15'
          Dst:             OBJ_create
        - Src:             'objects.c:718,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:720,15'
          Dst:             OBJ_create
        - Src:             'objects.c:727,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:729,15'
          Dst:             OBJ_create
        - Src:             'objects.c:736,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:738,15'
          Dst:             OBJ_create
        - Src:             'objects.c:743,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:745,15'
          Dst:             OBJ_create
        - Src:             'objects.c:750,11'
          Dst:             OBJ_txt2nid
        - Src:             'objects.c:752,15'
          Dst:             OBJ_create
        - Src:             'objects.c:835,9'
          Dst:             fprintf
        - Src:             'objects.c:835,9'
          Dst:             ERR_print_errors_fp
    - functionName:    OBJ_txt2nid
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    80
      BranchProfiles:  []
      Callsites:       []
    - functionName:    OBJ_create
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    79
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_OBJ_sn2nid
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 82
      functionLinenumberEnd: 83
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OBJ_sn2nid
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'objects.c:83,12'
          Dst:             OBJ_sn2nid
    - functionName:    OBJ_sn2nid
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_OBJ_ln2nid
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 78
      functionLinenumberEnd: 79
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OBJ_ln2nid
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'objects.c:79,12'
          Dst:             OBJ_ln2nid
    - functionName:    OBJ_ln2nid
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_OBJ_txt2nid
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 74
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OBJ_txt2nid
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'objects.c:75,12'
          Dst:             OBJ_txt2nid
    - functionName:    EAC_OBJ_txt2obj
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 70
      functionLinenumberEnd: 71
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OBJ_txt2obj
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'objects.c:71,12'
          Dst:             OBJ_txt2obj
    - functionName:    EAC_OBJ_obj2nid
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 66
      functionLinenumberEnd: 67
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OBJ_obj2nid
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'objects.c:67,12'
          Dst:             OBJ_obj2nid
    - functionName:    EAC_OBJ_nid2sn
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 62
      functionLinenumberEnd: 63
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OBJ_nid2sn
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'objects.c:63,12'
          Dst:             OBJ_nid2sn
    - functionName:    EAC_OBJ_nid2ln
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 58
      functionLinenumberEnd: 59
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OBJ_nid2ln
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'objects.c:59,12'
          Dst:             OBJ_nid2ln
    - functionName:    OBJ_nid2ln
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_OBJ_nid2obj
      functionSourceFile: '/src/opensc/openpace/src/objects.c'
      linkageType:     InternalLinkage
      functionLinenumber: 54
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - OBJ_nid2obj
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'objects.c:55,12'
          Dst:             OBJ_nid2obj
    - functionName:    EVP_PKEY_dup
      functionSourceFile: '/src/opensc/openpace/src/ssl_compat.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 263
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         41
      ICount:          213
      EdgeCount:       52
      CyclomaticComplexity: 13
      functionsReached:
        - DH_free
        - DHparams_dup_with_q
        - EC_KEY_dup
        - EC_KEY_free
        - EVP_PKEY_base_id
        - EVP_PKEY_free
        - EVP_PKEY_get1_DH
        - EVP_PKEY_get1_EC_KEY
        - EVP_PKEY_get1_RSA
        - EVP_PKEY_new
        - EVP_PKEY_set1_DH
        - EVP_PKEY_set1_EC_KEY
        - EVP_PKEY_set1_RSA
        - RSAPrivateKey_dup
        - RSA_free
      functionUses:    3
      BranchProfiles:
        - Branch String:   'ssl_compat.c:202,5'
          Branch Sides:    []
      Callsites:
        - Src:             'ssl_compat.c:197,11'
          Dst:             EVP_PKEY_new
        - Src:             'ssl_compat.c:202,13'
          Dst:             EVP_PKEY_base_id
        - Src:             'ssl_compat.c:205,21'
          Dst:             EVP_PKEY_get1_DH
        - Src:             'ssl_compat.c:209,22'
          Dst:             DHparams_dup_with_q
        - Src:             'ssl_compat.c:213,13'
          Dst:             EVP_PKEY_set1_DH
        - Src:             'ssl_compat.c:214,13'
          Dst:             DH_free
        - Src:             'ssl_compat.c:215,13'
          Dst:             DH_free
        - Src:             'ssl_compat.c:219,21'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'ssl_compat.c:223,22'
          Dst:             EC_KEY_dup
        - Src:             'ssl_compat.c:227,13'
          Dst:             EVP_PKEY_set1_EC_KEY
        - Src:             'ssl_compat.c:228,13'
          Dst:             EC_KEY_free
        - Src:             'ssl_compat.c:229,13'
          Dst:             EC_KEY_free
        - Src:             'ssl_compat.c:233,22'
          Dst:             EVP_PKEY_get1_RSA
        - Src:             'ssl_compat.c:237,23'
          Dst:             RSAPrivateKey_dup
        - Src:             'ssl_compat.c:241,13'
          Dst:             EVP_PKEY_set1_RSA
        - Src:             'ssl_compat.c:242,13'
          Dst:             RSA_free
        - Src:             'ssl_compat.c:243,13'
          Dst:             RSA_free
        - Src:             'ssl_compat.c:254,9'
          Dst:             DH_free
        - Src:             'ssl_compat.c:256,9'
          Dst:             EC_KEY_free
        - Src:             'ssl_compat.c:258,9'
          Dst:             RSA_free
        - Src:             'ssl_compat.c:260,9'
          Dst:             EVP_PKEY_free
    - functionName:    RSAPrivateKey_dup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    CA_CTX_set_protocol
      functionSourceFile: '/src/opensc/openpace/src/ca_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 93
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          51
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - KA_CTX_set_protocol
        - fprintf
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'ca_lib.c:83,9'
          Dst:             fprintf
        - Src:             'ca_lib.c:83,9'
          Dst:             ERR_print_errors_fp
        - Src:             'ca_lib.c:87,10'
          Dst:             KA_CTX_set_protocol
    - functionName:    CA_CTX_clear_free
      functionSourceFile: '/src/opensc/openpace/src/ca_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 72
      functionLinenumberEnd: 77
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          30
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - CRYPTO_free
        - KA_CTX_clear_free
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'ca_lib.c:74,9'
          Dst:             KA_CTX_clear_free
        - Src:             'ca_lib.c:75,9'
          Dst:             CRYPTO_free
    - functionName:    CA_CTX_new
      functionSourceFile: '/src/opensc/openpace/src/ca_lib.c'
      linkageType:     InternalLinkage
      functionLinenumber: 55
      functionLinenumberEnd: 68
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         8
      ICount:          50
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - CRYPTO_free
        - CRYPTO_zalloc
        - EAC_get_default_csca_lookup
        - KA_CTX_new
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'ca_lib.c:56,19'
          Dst:             CRYPTO_zalloc
        - Src:             'ca_lib.c:60,19'
          Dst:             KA_CTX_new
        - Src:             'ca_lib.c:62,13'
          Dst:             CRYPTO_free
        - Src:             'ca_lib.c:65,29'
          Dst:             EAC_get_default_csca_lookup
    - functionName:    EAC_CTX_get_csca_lookup
      functionSourceFile: '/src/opensc/openpace/src/x509_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 106
      functionLinenumberEnd: 114
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         11
      ICount:          58
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'x509_lookup.c:109,5'
          Dst:             fprintf
        - Src:             'x509_lookup.c:109,5'
          Dst:             ERR_print_errors_fp
    - functionName:    EAC_CTX_set_csca_lookup
      functionSourceFile: '/src/opensc/openpace/src/x509_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 94
      functionLinenumberEnd: 102
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - ERR_print_errors_fp
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'x509_lookup.c:97,5'
          Dst:             fprintf
        - Src:             'x509_lookup.c:97,5'
          Dst:             ERR_print_errors_fp
    - functionName:    X509_default_lookup
      functionSourceFile: '/src/opensc/openpace/src/x509_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 85
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          59
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - ERR_print_errors_fp
        - X509_STORE_free
        - X509_STORE_load_locations
        - X509_STORE_new
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'x509_lookup.c:75,16'
          Dst:             X509_STORE_new
        - Src:             'x509_lookup.c:76,5'
          Dst:             fprintf
        - Src:             'x509_lookup.c:76,5'
          Dst:             ERR_print_errors_fp
        - Src:             'x509_lookup.c:78,10'
          Dst:             X509_STORE_load_locations
        - Src:             'x509_lookup.c:79,13'
          Dst:             fprintf
        - Src:             'x509_lookup.c:79,13'
          Dst:             ERR_print_errors_fp
        - Src:             'x509_lookup.c:80,13'
          Dst:             X509_STORE_free
    - functionName:    X509_STORE_new
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_STORE_load_locations
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    X509_STORE_free
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_get_default_csca_lookup
      functionSourceFile: '/src/opensc/openpace/src/x509_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 89
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          4
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    EAC_set_x509_default_dir
      functionSourceFile: '/src/opensc/openpace/src/x509_lookup.c'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 68
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          27
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'x509_lookup.c:65,9'
          Dst:             strncpy
    - functionName:    ecdh_compute_key
      functionSourceFile: '/src/opensc/openpace/src/eac_ecdh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 151
      functionLinenumberEnd: 199
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          184
      EdgeCount:       42
      CyclomaticComplexity: 13
      functionsReached:
        - BUF_MEM_create
        - BUF_MEM_free
        - ECDH_compute_key
        - EC_KEY_free
        - EC_KEY_get0_group
        - EC_KEY_get_conv_form
        - EC_POINT_free
        - EC_POINT_new
        - EC_POINT_oct2point
        - EC_POINT_point2oct
        - ERR_print_errors_fp
        - EVP_PKEY_get1_EC_KEY
        - fprintf
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ecdh.c:157,5'
          Dst:             fprintf
        - Src:             'eac_ecdh.c:157,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ecdh.c:159,12'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'eac_ecdh.c:164,13'
          Dst:             EC_KEY_get0_group
        - Src:             'eac_ecdh.c:167,11'
          Dst:             EC_POINT_new
        - Src:             'eac_ecdh.c:170,9'
          Dst:             EC_POINT_oct2point
        - Src:             'eac_ecdh.c:175,57'
          Dst:             EC_KEY_get_conv_form
        - Src:             'eac_ecdh.c:175,26'
          Dst:             EC_POINT_point2oct
        - Src:             'eac_ecdh.c:175,11'
          Dst:             BUF_MEM_create
        - Src:             'eac_ecdh.c:181,19'
          Dst:             ECDH_compute_key
        - Src:             'eac_ecdh.c:185,5'
          Dst:             EC_POINT_free
        - Src:             'eac_ecdh.c:186,5'
          Dst:             EC_KEY_free
        - Src:             'eac_ecdh.c:192,9'
          Dst:             BUF_MEM_free
        - Src:             'eac_ecdh.c:194,9'
          Dst:             EC_POINT_free
        - Src:             'eac_ecdh.c:196,9'
          Dst:             EC_KEY_free
    - functionName:    ECDH_compute_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    ecdh_generate_key
      functionSourceFile: '/src/opensc/openpace/src/eac_ecdh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 125
      functionLinenumberEnd: 146
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          73
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - EC_KEY_free
        - EC_KEY_generate_key
        - EC_KEY_get0_public_key
        - EC_POINT_point2mem
        - ERR_print_errors_fp
        - EVP_PKEY_get1_EC_KEY
        - fprintf
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'eac_ecdh.c:129,5'
          Dst:             fprintf
        - Src:             'eac_ecdh.c:129,5'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ecdh.c:131,10'
          Dst:             EVP_PKEY_get1_EC_KEY
        - Src:             'eac_ecdh.c:135,10'
          Dst:             EC_KEY_generate_key
        - Src:             'eac_ecdh.c:141,42'
          Dst:             EC_KEY_get0_public_key
        - Src:             'eac_ecdh.c:141,11'
          Dst:             EC_POINT_point2mem
        - Src:             'eac_ecdh.c:145,9'
          Dst:             EC_KEY_free
    - functionName:    EC_KEY_generate_key
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    init_ecdh
      functionSourceFile: '/src/opensc/openpace/src/eac_ecdh.c'
      linkageType:     InternalLinkage
      functionLinenumber: 60
      functionLinenumberEnd: 121
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          141
      EdgeCount:       27
      CyclomaticComplexity: 4
      functionsReached:
        - EC_KEY_free
        - EC_KEY_new_by_curve_name
        - ERR_print_errors_fp
        - fprintf
      functionUses:    1
      BranchProfiles:
        - Branch String:   'eac_ecdh.c:69,5'
          Branch Sides:    []
      Callsites:
        - Src:             'eac_ecdh.c:65,9'
          Dst:             fprintf
        - Src:             'eac_ecdh.c:65,9'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ecdh.c:72,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:75,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:78,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:81,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:85,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:88,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:91,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:94,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:97,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:100,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:103,19'
          Dst:             EC_KEY_new_by_curve_name
        - Src:             'eac_ecdh.c:106,13'
          Dst:             fprintf
        - Src:             'eac_ecdh.c:106,13'
          Dst:             ERR_print_errors_fp
        - Src:             'eac_ecdh.c:113,9'
          Dst:             EC_KEY_free
    - functionName:    EC_KEY_new_by_curve_name
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
...
