Coverage Report

Created: 2023-12-14 16:41

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)
  15.75% (144/914)
  16.49% (160/970)
  13.46% (42/312)
library/aesni.c
  87.50% (7/8)
  83.92% (214/255)
  84.38% (27/32)
  87.50% (14/16)
library/aria.c
   0.00% (0/15)
   0.00% (0/427)
   0.00% (0/449)
   0.00% (0/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)
  58.93% (983/1668)
  56.53% (1394/2466)
  42.45% (433/1020)
library/camellia.c
   0.00% (0/10)
   0.00% (0/416)
   0.00% (0/401)
   0.00% (0/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.30% (283/825)
  45.94% (334/727)
  26.69% (95/356)
library/cipher_wrap.c
  13.85% (9/65)
  11.82% (37/313)
  11.49% (17/148)
   5.00% (2/40)
library/cmac.c
   0.00% (0/14)
   0.00% (0/499)
   0.00% (0/345)
   0.00% (0/198)
library/constant_time.c
  43.48% (10/23)
  35.71% (95/266)
  24.63% (50/203)
  14.71% (10/68)
library/ctr_drbg.c
  47.37% (9/19)
  47.81% (186/389)
  48.20% (187/388)
  31.98% (55/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
   0.00% (0/17)
   0.00% (0/304)
   0.00% (0/480)
   0.00% (0/138)
library/ecp.c
  62.82% (49/78)
  51.81% (744/1436)
  49.17% (1247/2536)
  35.36% (302/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)
  39.56% (233/589)
  51.02% (275/539)
  24.58% (58/236)
library/hmac_drbg.c
   0.00% (0/16)
   0.00% (0/284)
   0.00% (0/279)
   0.00% (0/156)
library/md.c
  54.55% (12/22)
  31.83% (177/556)
  38.28% (147/384)
  38.67% (116/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
  30.00% (6/20)
  16.86% (43/255)
  15.93% (47/295)
  17.86% (20/112)
library/pk_wrap.c
  20.59% (7/34)
  13.33% (42/315)
  13.66% (31/227)
  10.83% (13/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.59% (133/853)
  17.26% (140/811)
  14.18% (59/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)
  50.00% (1/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
  28.95% (11/38)
  17.80% (235/1320)
  14.36% (251/1748)
  10.52% (85/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
  66.67% (6/9)
  70.39% (214/304)
  89.36% (672/752)
  24.07% (13/54)
library/sha256.c
  80.00% (8/10)
  63.43% (170/268)
  85.40% (468/548)
  42.11% (32/76)
library/sha512.c
  70.00% (7/10)
  64.86% (179/276)
  80.00% (372/465)
  42.11% (32/76)
library/ssl_ciphersuites.c
  63.64% (7/11)
  62.60% (77/123)
  60.87% (42/69)
  60.81% (45/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)
  55.52% (1725/3107)
  55.40% (1307/2359)
  45.85% (475/1036)
library/ssl_tls.c
  38.55% (64/166)
  33.43% (1284/3841)
  30.03% (792/2637)
  25.21% (299/1186)
library/ssl_tls12_client.c
  93.55% (29/31)
  65.45% (1163/1777)
  65.46% (887/1355)
  56.64% (290/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
  52.17% (12/23)
  44.58% (259/581)
  45.04% (318/706)
  40.16% (155/386)
library/x509_crt.c
  30.91% (17/55)
  39.14% (658/1681)
  28.15% (531/1886)
  28.32% (273/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
  31.21% (538/1724)
  25.64% (10867/42376)
  24.78% (11388/45958)
  18.84% (3455/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