Coverage Report

Created: 2023-09-24 16:03

Click here for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
build/library/psa_crypto_driver_wrappers.c
   0.00% (0/49)
   0.00% (0/896)
   0.00% (0/339)
   0.00% (0/200)
build/library/ssl_debug_helpers_generated.c
  33.33% (2/6)
  36.20% (59/163)
  24.49% (24/98)
  32.22% (29/90)
include/mbedtls/cipher.h
  26.67% (4/15)
  18.49% (22/119)
  47.27% (26/55)
  33.33% (4/12)
include/mbedtls/error.h
 100.00% (1/1)
  45.45% (5/11)
 100.00% (1/1)
- (0/0)
include/mbedtls/pem.h
   0.00% (0/1)
   0.00% (0/4)
   0.00% (0/1)
- (0/0)
include/mbedtls/pk.h
 100.00% (3/3)
  80.95% (17/21)
  81.82% (9/11)
  50.00% (6/12)
include/mbedtls/psa_util.h
   0.00% (0/5)
   0.00% (0/189)
   0.00% (0/5)
- (0/0)
include/mbedtls/ssl.h
   6.67% (1/15)
   6.67% (3/45)
  12.50% (2/16)
- (0/0)
include/mbedtls/ssl_ciphersuites.h
  33.33% (3/9)
  30.69% (31/101)
  43.14% (22/51)
  44.29% (31/70)
include/mbedtls/x509.h
   0.00% (0/1)
   0.00% (0/6)
   0.00% (0/1)
- (0/0)
include/mbedtls/x509_crt.h
   0.00% (0/1)
   0.00% (0/3)
   0.00% (0/1)
- (0/0)
include/psa/crypto_compat.h
   0.00% (0/1)
   0.00% (0/3)
   0.00% (0/1)
- (0/0)
include/psa/crypto_extra.h
   0.00% (0/13)
   0.00% (0/95)
   0.00% (0/40)
   0.00% (0/28)
include/psa/crypto_struct.h
   0.00% (0/20)
   0.00% (0/103)
   0.00% (0/57)
   0.00% (0/8)
include/psa/crypto_values.h
   0.00% (0/3)
   0.00% (0/11)
   0.00% (0/3)
- (0/0)
library/aes.c
  23.81% (5/21)
   9.69% (82/846)
   9.58% (82/856)
  10.62% (34/320)
library/aesni.c
  75.00% (6/8)
  78.35% (199/254)
  68.75% (22/32)
  75.00% (12/16)
library/alignment.h
 100.00% (6/6)
 100.00% (24/24)
 100.00% (6/6)
- (0/0)
library/aria.c
   0.00% (0/14)
   0.00% (0/417)
   0.00% (0/515)
   0.00% (0/142)
library/asn1parse.c
  68.42% (13/19)
  80.48% (235/292)
  79.91% (187/234)
  79.51% (97/122)
library/asn1write.c
   0.00% (0/20)
   0.00% (0/294)
   0.00% (0/360)
   0.00% (0/140)
library/base64.c
  33.33% (1/3)
  38.85% (61/157)
  48.44% (62/128)
  45.24% (38/84)
library/bignum.c
  70.69% (41/58)
  54.21% (805/1485)
  53.57% (1202/2244)
  39.80% (367/922)
library/bignum_core.c
  58.06% (18/31)
  56.97% (233/409)
  57.96% (182/314)
  50.00% (69/138)
library/bignum_core.h
   0.00% (0/1)
   0.00% (0/3)
   0.00% (0/1)
- (0/0)
library/bignum_mod.c
   0.00% (0/15)
   0.00% (0/232)
   0.00% (0/164)
   0.00% (0/102)
library/bignum_mod_raw.c
   0.00% (0/15)
   0.00% (0/122)
   0.00% (0/59)
   0.00% (0/34)
library/camellia.c
   0.00% (0/10)
   0.00% (0/399)
   0.00% (0/352)
   0.00% (0/176)
library/ccm.c
   0.00% (0/19)
   0.00% (0/372)
   0.00% (0/305)
   0.00% (0/166)
library/chacha20.c
   0.00% (0/10)
   0.00% (0/156)
   0.00% (0/150)
   0.00% (0/34)
library/chachapoly.c
   0.00% (0/13)
   0.00% (0/217)
   0.00% (0/175)
   0.00% (0/80)
library/cipher.c
  40.00% (12/30)
  16.09% (126/783)
  16.72% (97/580)
  11.94% (43/360)
library/cipher_wrap.c
  10.77% (7/65)
   9.42% (31/329)
  10.14% (15/148)
   5.00% (2/40)
library/cmac.c
   0.00% (0/13)
   0.00% (0/482)
   0.00% (0/341)
   0.00% (0/196)
library/common.h
  33.33% (1/3)
  66.67% (12/18)
  53.85% (7/13)
  50.00% (4/8)
library/constant_time.c
  41.67% (10/24)
  29.86% (83/278)
  17.31% (36/208)
  12.86% (9/70)
library/ctr_drbg.c
  47.37% (9/19)
  46.87% (187/399)
  47.03% (182/387)
  30.59% (52/170)
library/debug.c
  66.67% (8/12)
  36.56% (83/227)
  35.85% (57/159)
  23.64% (26/110)
library/des.c
   0.00% (0/21)
   0.00% (0/432)
   0.00% (0/346)
   0.00% (0/158)
library/dhm.c
  30.00% (6/20)
  15.61% (59/378)
   9.15% (40/437)
   9.79% (19/194)
library/ecdh.c
  79.17% (19/24)
  59.64% (167/280)
  55.23% (95/172)
  38.30% (36/94)
library/ecdsa.c
  29.41% (5/17)
  14.98% (40/267)
   7.10% (24/338)
   5.07% (7/138)
library/ecp.c
  63.75% (51/80)
  52.72% (746/1415)
  50.28% (1157/2301)
  35.91% (321/894)
library/ecp_curves.c
  45.45% (10/22)
  37.62% (152/404)
  35.34% (506/1432)
  31.13% (99/318)
library/entropy.c
  25.00% (3/12)
  12.50% (34/272)
   5.85% (11/188)
   2.17% (2/92)
library/entropy_poll.c
   0.00% (0/2)
   0.00% (0/34)
   0.00% (0/19)
   0.00% (0/8)
library/gcm.c
  92.86% (13/14)
  34.66% (200/577)
  40.32% (177/439)
  23.89% (54/226)
library/hash_info.c
  20.00% (1/5)
  17.39% (8/46)
  14.71% (5/34)
  11.54% (3/26)
library/hmac_drbg.c
   0.00% (0/16)
   0.00% (0/305)
   0.00% (0/281)
   0.00% (0/156)
library/md.c
  54.55% (12/22)
  33.79% (197/583)
  44.50% (170/382)
  42.95% (128/298)
library/md5.c
  66.67% (6/9)
  69.83% (169/242)
  82.06% (430/524)
  25.00% (11/44)
library/nist_kw.c
   0.00% (0/8)
   0.00% (0/363)
   0.00% (0/322)
   0.00% (0/162)
library/oid.c
  57.14% (4/7)
  47.62% (40/84)
  34.94% (29/83)
  35.71% (15/42)
library/pem.c
  33.33% (3/9)
  16.41% (54/329)
  15.50% (42/271)
  11.25% (18/160)
library/pk.c
  45.00% (9/20)
  27.82% (74/266)
  30.84% (70/227)
  27.69% (36/130)
library/pk_wrap.c
  29.41% (10/34)
  20.48% (68/332)
  18.06% (41/227)
  14.17% (17/120)
library/pkcs12.c
   0.00% (0/6)
   0.00% (0/238)
   0.00% (0/188)
   0.00% (0/120)
library/pkcs5.c
   0.00% (0/6)
   0.00% (0/192)
   0.00% (0/155)
   0.00% (0/82)
library/pkparse.c
  36.84% (7/19)
  16.45% (141/857)
  16.76% (126/752)
  14.42% (60/416)
library/pkwrite.c
   0.00% (0/9)
   0.00% (0/262)
   0.00% (0/341)
   0.00% (0/140)
library/platform.c
  33.33% (1/3)
  36.36% (4/11)
  33.33% (1/3)
- (0/0)
library/platform_util.c
  50.00% (1/2)
  66.67% (6/9)
  85.71% (6/7)
  50.00% (1/2)
library/poly1305.c
   0.00% (0/10)
   0.00% (0/236)
   0.00% (0/168)
   0.00% (0/36)
library/psa_crypto.c
   0.00% (0/141)
   0.00% (0/3764)
   0.00% (0/5930)
   0.00% (0/2376)
library/psa_crypto_aead.c
   0.00% (0/12)
   0.00% (0/446)
   0.00% (0/286)
   0.00% (0/120)
library/psa_crypto_cipher.c
   0.00% (0/11)
   0.00% (0/394)
   0.00% (0/315)
   0.00% (0/160)
library/psa_crypto_client.c
   0.00% (0/3)
   0.00% (0/34)
   0.00% (0/23)
   0.00% (0/10)
library/psa_crypto_core.h
   0.00% (0/7)
   0.00% (0/29)
   0.00% (0/10)
   0.00% (0/2)
library/psa_crypto_ecp.c
   0.00% (0/8)
   0.00% (0/340)
   0.00% (0/329)
   0.00% (0/124)
library/psa_crypto_hash.c
   0.00% (0/6)
   0.00% (0/295)
   0.00% (0/231)
   0.00% (0/130)
library/psa_crypto_mac.c
   0.00% (0/15)
   0.00% (0/300)
   0.00% (0/509)
   0.00% (0/170)
library/psa_crypto_random_impl.h
   0.00% (0/3)
   0.00% (0/30)
   0.00% (0/4)
- (0/0)
library/psa_crypto_rsa.c
   0.00% (0/14)
   0.00% (0/457)
   0.00% (0/332)
   0.00% (0/130)
library/psa_crypto_slot_management.c
   0.00% (0/14)
   0.00% (0/261)
   0.00% (0/227)
   0.00% (0/104)
library/psa_crypto_slot_management.h
   0.00% (0/3)
   0.00% (0/17)
   0.00% (0/16)
   0.00% (0/6)
library/psa_crypto_storage.c
   0.00% (0/12)
   0.00% (0/198)
   0.00% (0/240)
   0.00% (0/62)
library/psa_its_file.c
   0.00% (0/6)
   0.00% (0/139)
   0.00% (0/117)
   0.00% (0/46)
library/ripemd160.c
   0.00% (0/9)
   0.00% (0/306)
   0.00% (0/1409)
   0.00% (0/44)
library/rsa.c
  32.50% (13/40)
  22.90% (297/1297)
  17.46% (270/1546)
  14.37% (121/842)
library/rsa_alt_helpers.c
   0.00% (0/5)
   0.00% (0/234)
   0.00% (0/429)
   0.00% (0/214)
library/sha1.c
  66.67% (6/9)
  68.23% (204/299)
  88.78% (696/784)
  20.37% (11/54)
library/sha256.c
  66.67% (8/12)
  60.43% (168/278)
  81.55% (420/515)
  40.70% (35/86)
library/sha512.c
  66.67% (8/12)
  62.01% (173/279)
  76.67% (299/390)
  43.02% (37/86)
library/ssl_ciphersuites.c
  54.55% (6/11)
  52.54% (62/118)
  55.88% (38/68)
  48.61% (35/72)
library/ssl_client.c
 100.00% (8/8)
  80.05% (325/406)
  68.30% (278/407)
  46.48% (66/142)
library/ssl_misc.h
  65.38% (17/26)
  39.76% (132/332)
  64.82% (129/199)
  52.34% (67/128)
library/ssl_msg.c
  77.53% (69/89)
  54.21% (1674/3088)
  53.53% (1334/2492)
  44.04% (473/1074)
library/ssl_tls.c
  38.89% (70/180)
  31.14% (1260/4046)
  26.44% (788/2980)
  20.63% (281/1362)
library/ssl_tls12_client.c
  93.55% (29/31)
  64.55% (1076/1667)
  62.09% (904/1456)
  55.49% (293/528)
library/ssl_tls12_server.c
   0.00% (0/39)
   0.00% (0/2088)
   0.00% (0/1763)
   0.00% (0/692)
library/timing.c
  75.00% (3/4)
  77.50% (31/40)
  77.78% (14/18)
  70.00% (7/10)
library/x509.c
  52.17% (12/23)
  45.33% (291/642)
  45.83% (324/707)
  41.97% (162/386)
library/x509_crt.c
  32.73% (18/55)
  35.74% (585/1637)
  26.45% (496/1875)
  25.79% (246/954)
programs/fuzz/common.c
 100.00% (7/7)
  89.47% (51/57)
  88.89% (24/27)
  71.43% (10/14)
programs/fuzz/fuzz_dtlsclient.c
 100.00% (1/1)
  74.68% (59/79)
  58.82% (20/34)
  44.44% (8/18)
tests/src/asn1_helpers.c
   0.00% (0/1)
   0.00% (0/33)
   0.00% (0/57)
   0.00% (0/30)
tests/src/bignum_helpers.c
   0.00% (0/4)
   0.00% (0/76)
   0.00% (0/63)
   0.00% (0/30)
tests/src/drivers/platform_builtin_keys.c
   0.00% (0/1)
   0.00% (0/14)
   0.00% (0/10)
   0.00% (0/4)
tests/src/helpers.c
   0.00% (0/15)
   0.00% (0/188)
   0.00% (0/118)
   0.00% (0/58)
tests/src/psa_crypto_helpers.c
   0.00% (0/5)
   0.00% (0/61)
   0.00% (0/55)
   0.00% (0/26)
tests/src/psa_exercise_key.c
   0.00% (0/18)
   0.00% (0/683)
   0.00% (0/1849)
   0.00% (0/650)
tests/src/random.c
   0.00% (0/4)
   0.00% (0/70)
   0.00% (0/37)
   0.00% (0/24)
Totals
  32.02% (587/1833)
  25.16% (10845/43101)
  24.37% (11185/45905)
  18.55% (3502/18874)

Files which contain no functions. (These files contain code pulled into other files by the preprocessor.)

include/mbedtls/aes.h
include/mbedtls/aria.h
include/mbedtls/asn1.h
include/mbedtls/asn1write.h
include/mbedtls/base64.h
include/mbedtls/bignum.h
include/mbedtls/camellia.h
include/mbedtls/ccm.h
include/mbedtls/chacha20.h
include/mbedtls/chachapoly.h
include/mbedtls/cmac.h
include/mbedtls/ctr_drbg.h
include/mbedtls/debug.h
include/mbedtls/des.h
include/mbedtls/dhm.h
include/mbedtls/ecp.h
include/mbedtls/entropy.h
include/mbedtls/gcm.h
include/mbedtls/hmac_drbg.h
include/mbedtls/md.h
include/mbedtls/oid.h
include/mbedtls/pkcs12.h
include/mbedtls/pkcs5.h
include/mbedtls/platform.h
include/mbedtls/platform_util.h
include/mbedtls/private_access.h
include/mbedtls/rsa.h
include/mbedtls/sha256.h
include/mbedtls/sha512.h
include/psa/crypto_builtin_composites.h
include/psa/crypto_builtin_primitives.h
include/psa/crypto_sizes.h
library/aesni.h
library/bn_mul.h
library/entropy_poll.h
library/psa_crypto_storage.h
tests/include/test/macros.h
tests/include/test/psa_exercise_key.h
tests/include/test/psa_helpers.h
Generated by llvm-cov -- llvm version 15.0.0git