Coverage Report

Created: 2023-12-13 20:04

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/873)
   0.00% (0/340)
   0.00% (0/200)
build/library/ssl_debug_helpers_generated.c
  16.67% (1/6)
  21.12% (34/161)
   5.10% (5/98)
   2.22% (2/90)
include/mbedtls/cipher.h
  26.67% (4/15)
  19.42% (20/103)
  47.27% (26/55)
  33.33% (4/12)
include/mbedtls/error.h
 100.00% (1/1)
  50.00% (5/10)
 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
  66.67% (2/3)
  66.67% (6/9)
  80.00% (4/5)
- (0/0)
include/mbedtls/psa_util.h
   0.00% (0/6)
   0.00% (0/204)
   0.00% (0/22)
   0.00% (0/18)
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)
  31.19% (34/109)
  43.14% (22/51)
  44.29% (31/70)
include/mbedtls/x509.h
   0.00% (0/1)
   0.00% (0/5)
   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/94)
   0.00% (0/40)
   0.00% (0/28)
include/psa/crypto_struct.h
   0.00% (0/20)
   0.00% (0/105)
   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
  33.33% (7/21)
  17.29% (158/914)
  17.32% (168/970)
  15.38% (48/312)
library/aesni.c
  87.50% (7/8)
  83.92% (214/255)
  84.38% (27/32)
  87.50% (14/16)
library/aria.c
  80.00% (12/15)
  56.67% (242/427)
  45.66% (205/449)
  25.34% (37/146)
library/asn1parse.c
  61.11% (11/18)
  76.89% (203/264)
  78.85% (179/227)
  78.33% (94/120)
library/asn1write.c
   0.00% (0/20)
   0.00% (0/292)
   0.00% (0/359)
   0.00% (0/140)
library/base64.c
  33.33% (1/3)
  39.47% (60/152)
  48.44% (62/128)
  45.24% (38/84)
library/bignum.c
  71.43% (45/63)
  59.17% (987/1668)
  56.61% (1396/2466)
  42.65% (435/1020)
library/camellia.c
  70.00% (7/10)
  49.28% (205/416)
  51.87% (208/401)
  47.62% (80/168)
library/ccm.c
   0.00% (0/19)
   0.00% (0/383)
   0.00% (0/318)
   0.00% (0/174)
library/chacha20.c
   0.00% (0/10)
   0.00% (0/182)
   0.00% (0/149)
   0.00% (0/38)
library/chachapoly.c
   0.00% (0/13)
   0.00% (0/233)
   0.00% (0/279)
   0.00% (0/80)
library/cipher.c
  53.33% (16/30)
  34.91% (288/825)
  47.59% (346/727)
  30.62% (109/356)
library/cipher_wrap.c
  32.31% (21/65)
  27.80% (87/313)
  25.00% (37/148)
  10.00% (4/40)
library/cmac.c
   0.00% (0/14)
   0.00% (0/499)
   0.00% (0/345)
   0.00% (0/198)
library/constant_time.c
  69.57% (16/23)
  60.90% (162/266)
  64.04% (130/203)
  47.06% (32/68)
library/ctr_drbg.c
  47.37% (9/19)
  47.81% (186/389)
  48.45% (188/388)
  32.56% (56/172)
library/debug.c
  66.67% (8/12)
  36.99% (91/246)
  35.85% (57/159)
  23.64% (26/110)
library/des.c
   0.00% (0/21)
   0.00% (0/441)
   0.00% (0/328)
   0.00% (0/166)
library/dhm.c
  30.00% (6/20)
  15.46% (60/388)
  10.59% (56/529)
   9.79% (19/194)
library/ecdh.c
  79.17% (19/24)
  64.33% (193/300)
  65.14% (185/284)
  37.50% (33/88)
library/ecdsa.c
  29.41% (5/17)
  16.78% (51/304)
  12.50% (60/480)
   5.07% (7/138)
library/ecp.c
  64.10% (50/78)
  52.09% (748/1436)
  49.45% (1254/2536)
  35.25% (301/854)
library/ecp_curves.c
  45.45% (10/22)
  42.17% (167/396)
  37.80% (570/1508)
  31.98% (110/344)
library/entropy.c
  25.00% (3/12)
  13.23% (34/257)
   5.91% (11/186)
   2.17% (2/92)
library/entropy_poll.c
   0.00% (0/2)
   0.00% (0/34)
   0.00% (0/18)
   0.00% (0/8)
library/gcm.c
  92.86% (13/14)
  40.24% (237/589)
  51.95% (280/539)
  27.97% (66/236)
library/hmac_drbg.c
   0.00% (0/16)
   0.00% (0/284)
   0.00% (0/279)
   0.00% (0/156)
library/md.c
  63.64% (14/22)
  35.79% (199/556)
  42.97% (165/384)
  44.33% (133/300)
library/md5.c
   0.00% (0/9)
   0.00% (0/236)
   0.00% (0/444)
   0.00% (0/44)
library/nist_kw.c
   0.00% (0/8)
   0.00% (0/382)
   0.00% (0/317)
   0.00% (0/162)
library/oid.c
  57.14% (4/7)
  47.25% (43/91)
  34.94% (29/83)
  35.71% (15/42)
library/pem.c
  33.33% (3/9)
  16.67% (48/288)
  15.50% (42/271)
  11.25% (18/160)
library/pk.c
  35.00% (7/20)
  20.78% (53/255)
  23.05% (68/295)
  19.64% (22/112)
library/pk_wrap.c
  29.41% (10/34)
  20.95% (66/315)
  18.94% (43/227)
  14.17% (17/120)
library/pkcs12.c
   0.00% (0/5)
   0.00% (0/211)
   0.00% (0/184)
   0.00% (0/118)
library/pkcs5.c
   0.00% (0/4)
   0.00% (0/195)
   0.00% (0/180)
   0.00% (0/100)
library/pkparse.c
  36.84% (7/19)
  15.83% (135/853)
  17.51% (142/811)
  14.42% (60/416)
library/pkwrite.c
   0.00% (0/9)
   0.00% (0/266)
   0.00% (0/387)
   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)
  62.50% (5/8)
  85.71% (6/7)
 100.00% (2/2)
library/poly1305.c
   0.00% (0/10)
   0.00% (0/249)
   0.00% (0/148)
   0.00% (0/36)
library/psa_crypto.c
   0.00% (0/138)
   0.00% (0/3722)
   0.00% (0/5796)
   0.00% (0/2358)
library/psa_crypto_aead.c
   0.00% (0/12)
   0.00% (0/477)
   0.00% (0/359)
   0.00% (0/150)
library/psa_crypto_cipher.c
   0.00% (0/11)
   0.00% (0/384)
   0.00% (0/315)
   0.00% (0/160)
library/psa_crypto_client.c
   0.00% (0/3)
   0.00% (0/33)
   0.00% (0/23)
   0.00% (0/10)
library/psa_crypto_core.h
   0.00% (0/7)
   0.00% (0/28)
   0.00% (0/10)
   0.00% (0/2)
library/psa_crypto_ecp.c
   0.00% (0/7)
   0.00% (0/278)
   0.00% (0/280)
   0.00% (0/106)
library/psa_crypto_hash.c
   0.00% (0/7)
   0.00% (0/330)
   0.00% (0/247)
   0.00% (0/146)
library/psa_crypto_mac.c
   0.00% (0/15)
   0.00% (0/293)
   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/473)
   0.00% (0/332)
   0.00% (0/130)
library/psa_crypto_slot_management.c
   0.00% (0/14)
   0.00% (0/262)
   0.00% (0/227)
   0.00% (0/104)
library/psa_crypto_slot_management.h
   0.00% (0/3)
   0.00% (0/16)
   0.00% (0/16)
   0.00% (0/6)
library/psa_crypto_storage.c
   0.00% (0/12)
   0.00% (0/184)
   0.00% (0/196)
   0.00% (0/62)
library/psa_its_file.c
   0.00% (0/6)
   0.00% (0/123)
   0.00% (0/115)
   0.00% (0/46)
library/ripemd160.c
   0.00% (0/9)
   0.00% (0/297)
   0.00% (0/1329)
   0.00% (0/44)
library/rsa.c
  34.21% (13/38)
  20.76% (274/1320)
  17.39% (304/1748)
  12.50% (101/808)
library/rsa_alt_helpers.c
   0.00% (0/5)
   0.00% (0/261)
   0.00% (0/429)
   0.00% (0/214)
library/sha1.c
  77.78% (7/9)
  76.32% (232/304)
  91.36% (687/752)
  31.48% (17/54)
library/sha256.c
  80.00% (8/10)
  63.81% (171/268)
  85.58% (469/548)
  43.42% (33/76)
library/sha512.c
  80.00% (8/10)
  69.20% (191/276)
  83.01% (386/465)
  46.05% (35/76)
library/ssl_ciphersuites.c
  63.64% (7/11)
  63.41% (78/123)
  62.32% (43/69)
  62.16% (46/74)
library/ssl_client.c
 100.00% (8/8)
  80.78% (332/411)
  71.16% (264/371)
  46.38% (64/138)
library/ssl_misc.h
  62.50% (15/24)
  34.21% (104/304)
  61.88% (112/181)
  47.37% (54/114)
library/ssl_msg.c
  78.82% (67/85)
  61.60% (1914/3107)
  59.69% (1408/2359)
  50.19% (520/1036)
library/ssl_tls.c
  40.36% (67/166)
  34.73% (1334/3841)
  30.72% (810/2637)
  25.89% (307/1186)
library/ssl_tls12_client.c
  96.77% (30/31)
  68.04% (1209/1777)
  67.53% (915/1355)
  59.38% (304/512)
library/ssl_tls12_server.c
   0.00% (0/37)
   0.00% (0/2137)
   0.00% (0/1626)
   0.00% (0/674)
library/timing.c
  75.00% (3/4)
  84.62% (33/39)
  77.78% (14/18)
  70.00% (7/10)
library/x509.c
  56.52% (13/23)
  51.81% (301/581)
  53.12% (375/706)
  46.63% (180/386)
library/x509_crt.c
  30.91% (17/55)
  39.14% (658/1681)
  28.10% (530/1886)
  28.11% (271/964)
programs/fuzz/common.c
 100.00% (7/7)
  89.47% (51/57)
  88.89% (24/27)
  78.57% (11/14)
programs/fuzz/fuzz_dtlsclient.c
 100.00% (1/1)
  77.63% (59/76)
  58.82% (20/34)
  44.44% (8/18)
tests/src/asn1_helpers.c
   0.00% (0/1)
   0.00% (0/33)
   0.00% (0/56)
   0.00% (0/30)
tests/src/drivers/platform_builtin_keys.c
   0.00% (0/1)
   0.00% (0/16)
   0.00% (0/10)
   0.00% (0/4)
tests/src/helpers.c
   0.00% (0/16)
   0.00% (0/184)
   0.00% (0/122)
   0.00% (0/60)
tests/src/psa_crypto_helpers.c
   0.00% (0/5)
   0.00% (0/52)
   0.00% (0/55)
   0.00% (0/26)
tests/src/psa_exercise_key.c
   0.00% (0/18)
   0.00% (0/721)
   0.00% (0/1841)
   0.00% (0/650)
tests/src/random.c
   0.00% (0/4)
   0.00% (0/69)
   0.00% (0/37)
   0.00% (0/24)
Totals
  34.57% (596/1724)
  28.24% (11969/42376)
  26.84% (12336/45958)
  20.57% (3773/18338)

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/psa/crypto_builtin_composites.h
include/psa/crypto_builtin_primitives.h
include/psa/crypto_sizes.h
library/aesni.h
library/bn_mul.h
library/common.h
library/entropy_poll.h
library/psa_crypto_its.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