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
  75.00% (6/8)
  54.90% (140/255)
  59.38% (19/32)
  62.50% (10/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
  61.90% (39/63)
  47.36% (790/1668)
  40.79% (1006/2466)
  31.96% (326/1020)
library/camellia.c
  70.00% (7/10)
  46.88% (195/416)
  44.64% (179/401)
  32.74% (55/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
  36.67% (11/30)
  25.45% (210/825)
  34.80% (253/727)
  25.00% (89/356)
library/cipher_wrap.c
  23.08% (15/65)
  19.81% (62/313)
  18.24% (27/148)
   7.50% (3/40)
library/cmac.c
   0.00% (0/14)
   0.00% (0/499)
   0.00% (0/345)
   0.00% (0/198)
library/constant_time.c
  60.87% (14/23)
  48.87% (130/266)
  54.68% (111/203)
  42.65% (29/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)
  33.74% (83/246)
  34.59% (55/159)
  20.91% (23/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
  45.83% (11/24)
  34.67% (104/300)
  26.41% (75/284)
  19.32% (17/88)
library/ecdsa.c
   0.00% (0/17)
   0.00% (0/304)
   0.00% (0/480)
   0.00% (0/138)
library/ecp.c
  28.21% (22/78)
  17.62% (253/1436)
  14.24% (361/2536)
  11.48% (98/854)
library/ecp_curves.c
  45.45% (10/22)
  42.17% (167/396)
  37.86% (571/1508)
  32.56% (112/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
   0.00% (0/14)
   0.00% (0/589)
   0.00% (0/539)
   0.00% (0/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
  23.53% (8/34)
  15.56% (49/315)
  14.98% (34/227)
  11.67% (14/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)
  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
  34.21% (13/38)
  20.76% (274/1320)
  17.39% (304/1748)
  12.62% (102/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.64% (233/304)
  91.49% (688/752)
  33.33% (18/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)
  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
  77.65% (66/85)
  58.71% (1824/3107)
  57.91% (1366/2359)
  48.65% (504/1036)
library/ssl_tls.c
  40.36% (67/166)
  34.31% (1318/3841)
  30.45% (803/2637)
  25.21% (299/1186)
library/ssl_tls12_client.c
  93.55% (29/31)
  63.53% (1129/1777)
  63.99% (867/1355)
  55.66% (285/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)
  45.61% (265/581)
  45.75% (323/706)
  41.97% (162/386)
library/x509_crt.c
  30.91% (17/55)
  39.38% (662/1681)
  28.26% (533/1886)
  28.53% (275/964)
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)
  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
  29.99% (517/1724)
  24.63% (10438/42376)
  22.38% (10287/45958)
  17.76% (3256/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