OpenCoverage

OpenSSL Test Coverage

Function Tree

Page:<>12
Condition %: 100.000% (10/10)
3
Condition %: 100.000% (1/1)
4
Condition %: 100.000% (1/1)
5
Condition %: 100.000% (1/1)
...10
Condition %: 100.000% (1/1)
...20
Condition %: 100.000% (1/1)
...30
Condition %:  75.000% (9/12)
...100
Condition %:  0.000% (0/30)
...103
Condition %:  0.000% (0/1)
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
xname_hash
Name: xname_hash
Prototype: static unsigned long xname_hash(const X509_NAME *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 601-604
100.000% (1/1)
11
x509_init_sig_info
Name: x509_init_sig_info
Prototype: void x509_init_sig_info(X509 *x)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_set.c
Lines: 234-237
100.000% (1/1)
11
x448_int
Name: x448_int
Prototype: c448_error_t x448_int(uint8_t out[56], const uint8_t base[56], const uint8_t scalar[56])
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/curve448.c
Lines: 379-456
100.000% (10/10)
544
x448_derive_public_key
Name: x448_derive_public_key
Prototype: void x448_derive_public_key(uint8_t out[56], const uint8_t scalar[56])
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/curve448.c
Lines: 472-496
100.000% (4/4)
142
x25519_sc_reduce
Name: x25519_sc_reduce
Prototype: static void x25519_sc_reduce(uint8_t *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve25519.c
Lines: 4511-4842
100.000% (1/1)
3091
write_ledword
Name: write_ledword
Prototype: static void write_ledword(unsigned char **out, unsigned int dw)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 402-410
100.000% (1/1)
61
write_lebn
Name: write_lebn
Prototype: static void write_lebn(unsigned char **out, const BIGNUM *bn, int len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 412-416
100.000% (1/1)
21
write_bio
Name: write_bio
Prototype: static int write_bio(const void *data, size_t len, void *bp)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/b_dump.c
Lines: 110-113
100.000% (1/1)
11
widemul
Name: widemul
Prototype: static inline uint64_t widemul(uint32_t a, uint32_t b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/arch_32/arch_intrinsics.h
Lines: 22-25
100.000% (1/1)
11
version_cmp
Name: version_cmp
Prototype: static int version_cmp(const SSL *s, int a, int b)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 1389-1398
100.000% (13/13)
63
verify_cb_crl
Name: verify_cb_crl
Prototype: static int verify_cb_crl(X509_STORE_CTX *ctx, int err)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_vfy.c
Lines: 172-176
100.000% (1/1)
21
verify_cb_cert
Name: verify_cb_cert
Prototype: static int verify_cb_cert(X509_STORE_CTX *ctx, X509 *x, int depth, int err)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_vfy.c
Lines: 156-163
100.000% (6/6)
92
value_free_hash
Name: value_free_hash
Prototype: static void value_free_hash(const CONF_VALUE *a, struct lhash_st_CONF_VALUE *conf)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/conf/conf_api.c
Lines: 160-164
100.000% (4/4)
42
v2i_GENERAL_NAME
Name: v2i_GENERAL_NAME
Prototype: GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509v3/v3_alt.c
Lines: 403-407
100.000% (1/1)
51
update512
Name: update512
Prototype: static int update512(EVP_MD_CTX *ctx, const void *data, size_t count)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_sha1.c
Lines: 213-216
100.000% (1/1)
11
update384
Name: update384
Prototype: static int update384(EVP_MD_CTX *ctx, const void *data, size_t count)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_sha1.c
Lines: 197-200
100.000% (1/1)
11
update256
Name: update256
Prototype: static int update256(EVP_MD_CTX *ctx, const void *data, size_t count)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_sha1.c
Lines: 134-137
100.000% (1/1)
11
update224
Name: update224
Prototype: static int update224(EVP_MD_CTX *ctx, const void *data, size_t count)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_sha1.c
Lines: 119-122
100.000% (1/1)
11
update
Name: update
Prototype: static int update(EVP_MD_CTX *ctx, const void *data, size_t count)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/sm3/m_sm3.c
Lines: 23-26
100.000% (1/1)
11
update
Name: update
Prototype: static int update(EVP_MD_CTX *ctx, const void *data, size_t datalen)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_sigver.c
Lines: 18-22
100.000% (1/1)
21
uint64_print
Name: uint64_print
Prototype: static int uint64_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_int64.c
Lines: 114-120
100.000% (4/4)
32
uint64_i2c
Name: uint64_i2c
Prototype: static int uint64_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_int64.c
Lines: 49-71
100.000% (11/11)
123
uint64_free
Name: uint64_free
Prototype: static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_int64.c
Lines: 38-42
100.000% (1/1)
61
uint64_clear
Name: uint64_clear
Prototype: static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_int64.c
Lines: 44-47
100.000% (1/1)
11
uint32_print
Name: uint32_print
Prototype: static int uint32_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_int64.c
Lines: 223-229
100.000% (4/4)
32
uint32_i2c
Name: uint32_i2c
Prototype: static int uint32_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_int64.c
Lines: 144-166
100.000% (11/11)
123
uint32_free
Name: uint32_free
Prototype: static void uint32_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_int64.c
Lines: 133-137
100.000% (1/1)
61
uint32_clear
Name: uint32_clear
Prototype: static void uint32_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_int64.c
Lines: 139-142
100.000% (1/1)
11
ui_write
Name: ui_write
Prototype: static int ui_write(UI *ui, UI_STRING *uis)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ui/ui_util.c
Lines: 132-135
100.000% (1/1)
11
ui_open
Name: ui_open
Prototype: static int ui_open(UI *ui)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ui/ui_util.c
Lines: 98-101
100.000% (1/1)
11
ui_method_data_index_init_ossl_
Name: ui_method_data_index_init_ossl_
Prototype: static void ui_method_data_index_init_ossl_(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ui/ui_util.c
Lines: 89-89
100.000% (1/1)
11
ui_method_data_index_init
Name: ui_method_data_index_init
Prototype: static int ui_method_data_index_init(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ui/ui_util.c
Lines: 89-96
100.000% (1/1)
101
ui_free_method_data
Name: ui_free_method_data
Prototype: static void ui_free_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ui/ui_util.c
Lines: 81-85
100.000% (1/1)
11
ui_close
Name: ui_close
Prototype: static int ui_close(UI *ui)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ui/ui_util.c
Lines: 136-139
100.000% (1/1)
11
twos_complement
Name: twos_complement
Prototype: static void twos_complement(unsigned char *dst, const unsigned char *src, size_t len, unsigned char pad)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 76-89
100.000% (4/4)
62
ts_status_map_print
Name: ts_status_map_print
Prototype: static int ts_status_map_print(BIO *bio, const struct status_map_st *a, const ASN1_BIT_STRING *v)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ts/ts_rsp_print.c
Lines: 102-116
100.000% (10/10)
74
ts_resp_cb
Name: ts_resp_cb
Prototype: static int ts_resp_cb(int op, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ts/ts_asn1.c
Lines: 159-172
100.000% (13/13)
135
trust_compat
Name: trust_compat
Prototype: static int trust_compat(X509_TRUST *trust, X509 *x, int flags)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_trs.c
Lines: 240-248
100.000% (6/6)
42
trust_1oidany
Name: trust_1oidany
Prototype: static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_trs.c
Lines: 217-227
100.000% (1/1)
21
trim_ws
Name: trim_ws
Prototype: static void trim_ws(CONF *conf, char *start)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/conf/conf_def.c
Lines: 785-796
100.000% (9/9)
83
trans_cb
Name: trans_cb
Prototype: static int trans_cb(int a, int b, BN_GENCB *gcb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/pmeth_gn.c
Lines: 131-137
100.000% (1/1)
41
tlsv1_server_method
Name: tlsv1_server_method
Prototype: const SSL_METHOD *tlsv1_server_method(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/methods.c
Lines: 70-70
100.000% (1/1)
11
tlsv1_client_method
Name: tlsv1_client_method
Prototype: const SSL_METHOD *tlsv1_client_method(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/methods.c
Lines: 103-103
100.000% (1/1)
11
tlsv1_3_server_method
Name: tlsv1_3_server_method
Prototype: const SSL_METHOD *tlsv1_3_server_method(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/methods.c
Lines: 53-53
100.000% (1/1)
11
tlsv1_3_client_method
Name: tlsv1_3_client_method
Prototype: const SSL_METHOD *tlsv1_3_client_method(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/methods.c
Lines: 86-86
100.000% (1/1)
11
tlsv1_2_server_method
Name: tlsv1_2_server_method
Prototype: const SSL_METHOD *tlsv1_2_server_method(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/methods.c
Lines: 58-58
100.000% (1/1)
11
tlsv1_2_client_method
Name: tlsv1_2_client_method
Prototype: const SSL_METHOD *tlsv1_2_client_method(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/methods.c
Lines: 91-91
100.000% (1/1)
11
tlsv1_1_server_method
Name: tlsv1_1_server_method
Prototype: const SSL_METHOD *tlsv1_1_server_method(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/methods.c
Lines: 64-64
100.000% (1/1)
11
tlsv1_1_client_method
Name: tlsv1_1_client_method
Prototype: const SSL_METHOD *tlsv1_1_client_method(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/methods.c
Lines: 97-97
100.000% (1/1)
11
tls_use_ticket
Name: tls_use_ticket
Prototype: int tls_use_ticket(SSL *s)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 1161-1166
100.000% (4/4)
72
tls_parse_stoc_supported_versions
Name: tls_parse_stoc_supported_versions
Prototype: int tls_parse_stoc_supported_versions(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_clnt.c
Lines: 1750-1782
100.000% (12/12)
324
tls_parse_stoc_ems
Name: tls_parse_stoc_ems
Prototype: int tls_parse_stoc_ems(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_clnt.c
Lines: 1740-1748
100.000% (4/4)
42
tls_parse_extension
Name: tls_parse_extension
Prototype: int tls_parse_extension(SSL *s, TLSEXT_INDEX idx, int context, RAW_EXTENSION *exts, X509 *x, size_t chainidx)
Coverage: 100.000% (18/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions.c
Lines: 680-721
100.000% (18/18)
256
tls_parse_ctos_sig_algs_cert
Name: tls_parse_ctos_sig_algs_cert
Prototype: int tls_parse_ctos_sig_algs_cert(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_srvr.c
Lines: 284-303
100.000% (11/11)
233
tls_parse_ctos_sig_algs
Name: tls_parse_ctos_sig_algs
Prototype: int tls_parse_ctos_sig_algs(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_srvr.c
Lines: 305-324
100.000% (11/11)
233
tls_parse_ctos_psk_kex_modes
Name: tls_parse_ctos_psk_kex_modes
Prototype: int tls_parse_ctos_psk_kex_modes(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (17/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_srvr.c
Lines: 580-604
100.000% (17/17)
205
tls_parse_ctos_post_handshake_auth
Name: tls_parse_ctos_post_handshake_auth
Prototype: int tls_parse_ctos_post_handshake_auth(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_srvr.c
Lines: 1287-1299
100.000% (4/4)
122
tls_parse_ctos_etm
Name: tls_parse_ctos_etm
Prototype: int tls_parse_ctos_etm(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_srvr.c
Lines: 567-574
100.000% (4/4)
32
tls_parse_ctos_ems
Name: tls_parse_ctos_ems
Prototype: int tls_parse_ctos_ems(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_srvr.c
Lines: 982-995
100.000% (4/4)
122
tls_parse_ctos_early_data
Name: tls_parse_ctos_early_data
Prototype: int tls_parse_ctos_early_data(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_srvr.c
Lines: 998-1014
100.000% (7/7)
213
tls_parse_certificate_authorities
Name: tls_parse_certificate_authorities
Prototype: static int tls_parse_certificate_authorities(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions.c
Lines: 1229-1241
100.000% (7/7)
133
tls_parse_all_extensions
Name: tls_parse_all_extensions
Prototype: int tls_parse_all_extensions(SSL *s, int context, RAW_EXTENSION *exts, X509 *x, size_t chainidx, int fin)
Coverage: 100.000% (20/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions.c
Lines: 730-763
100.000% (20/20)
176
tls1_sha512_final_raw
Name: tls1_sha512_final_raw
Prototype: static void tls1_sha512_final_raw(void *ctx, unsigned char *md_out)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_cbc.c
Lines: 74-82
100.000% (4/4)
42
tls1_sha256_final_raw
Name: tls1_sha256_final_raw
Prototype: static void tls1_sha256_final_raw(void *ctx, unsigned char *md_out)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_cbc.c
Lines: 64-72
100.000% (4/4)
42
tls1_sha1_final_raw
Name: tls1_sha1_final_raw
Prototype: static void tls1_sha1_final_raw(void *ctx, unsigned char *md_out)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_cbc.c
Lines: 54-62
100.000% (1/1)
61
tls1_set_cert_validity
Name: tls1_set_cert_validity
Prototype: void tls1_set_cert_validity(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 2319-2330
100.000% (1/1)
1171
tls1_nid2group_id
Name: tls1_nid2group_id
Prototype: static uint16_t tls1_nid2group_id(int nid)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 199-207
100.000% (7/7)
53
tls1_lookup_sigalg
Name: tls1_lookup_sigalg
Prototype: static const SIGALG_LOOKUP *tls1_lookup_sigalg(uint16_t sigalg)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 794-805
100.000% (7/7)
113
tls1_lookup_md
Name: tls1_lookup_md
Prototype: int tls1_lookup_md(const SIGALG_LOOKUP *lu, const EVP_MD **pmd)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 807-823
100.000% (14/14)
195
tls1_in_list
Name: tls1_in_list
Prototype: static int tls1_in_list(uint16_t id, const uint16_t *list, size_t listlen)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 264-271
100.000% (6/6)
53
tls1_get_peer_groups
Name: tls1_get_peer_groups
Prototype: static inline void tls1_get_peer_groups(SSL *s, const uint16_t **pgroups, size_t *pgroupslen)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_locl.h
Lines: 2227-2232
100.000% (1/1)
21
tls1_generate_key_block
Name: tls1_generate_key_block
Prototype: static int tls1_generate_key_block(SSL *s, unsigned char *km, size_t num)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_enc.c
Lines: 66-79
100.000% (1/1)
161
tls1_free
Name: tls1_free
Prototype: void tls1_free(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 112-116
100.000% (1/1)
21
tls1_default_timeout
Name: tls1_default_timeout
Prototype: long tls1_default_timeout(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 93-100
100.000% (1/1)
11
tls13_generate_master_secret
Name: tls13_generate_master_secret
Prototype: int tls13_generate_master_secret(SSL *s, unsigned char *out, unsigned char *prev, size_t prevlen, size_t *secret_size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/tls13_enc.c
Lines: 229-238
100.000% (1/1)
71
tls13_generate_handshake_secret
Name: tls13_generate_handshake_secret
Prototype: int tls13_generate_handshake_secret(SSL *s, const unsigned char *insecret, size_t insecretlen)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/tls13_enc.c
Lines: 215-222
100.000% (1/1)
31
tls13_derive_key
Name: tls13_derive_key
Prototype: int tls13_derive_key(SSL *s, const EVP_MD *md, const unsigned char *secret, unsigned char *key, size_t keylen)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/tls13_enc.c
Lines: 88-95
100.000% (1/1)
61
tls13_derive_iv
Name: tls13_derive_iv
Prototype: int tls13_derive_iv(SSL *s, const EVP_MD *md, const unsigned char *secret, unsigned char *iv, size_t ivlen)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/tls13_enc.c
Lines: 101-108
100.000% (1/1)
61
tls13_derive_finishedkey
Name: tls13_derive_finishedkey
Prototype: int tls13_derive_finishedkey(SSL *s, const EVP_MD *md, const unsigned char *secret, unsigned char *fin, size_t finlen)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/tls13_enc.c
Lines: 110-118
100.000% (1/1)
61
tls13_alert_code
Name: tls13_alert_code
Prototype: int tls13_alert_code(int code)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/tls13_enc.c
Lines: 706-713
100.000% (6/6)
32
table_select
Name: table_select
Prototype: static void table_select(ge_precomp *t, int pos, signed char b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve25519.c
Lines: 4114-4132
100.000% (1/1)
161
table_cmp_BSEARCH_CMP_FN
Name: table_cmp_BSEARCH_CMP_FN
Prototype: static int table_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_vpm.c
Lines: 540-540
100.000% (1/1)
11
table_cmp
Name: table_cmp
Prototype: static int table_cmp(const ASN1_STRING_TABLE *a, const ASN1_STRING_TABLE *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_strnid.c
Lines: 120-123
100.000% (1/1)
11
sub_pniels_from_pt
Name: sub_pniels_from_pt
Prototype: static void sub_pniels_from_pt(curve448_point_t p, const pniels_t pn, int before_double)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/curve448.c
Lines: 176-184
100.000% (1/1)
41
sub_niels_from_pt
Name: sub_niels_from_pt
Prototype: static void sub_niels_from_pt(curve448_point_t d, const niels_t e, int before_double)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/curve448.c
Lines: 145-164
100.000% (4/4)
152
strip_ends
Name: strip_ends
Prototype: static char *strip_ends(char *name)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/asn_mime.c
Lines: 744-747
100.000% (1/1)
11
str_free
Name: str_free
Prototype: static void str_free(char *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_vpm.c
Lines: 31-34
100.000% (1/1)
11
str_copy
Name: str_copy
Prototype: static char *str_copy(const char *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_vpm.c
Lines: 26-29
100.000% (1/1)
11
store_u32_be
Name: store_u32_be
Prototype: static inline void store_u32_be(uint32_t v, uint8_t *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/sm4/sm4.c
Lines: 101-107
100.000% (1/1)
41
store48
Name: store48
Prototype: static inline void store48(uint8_t *dst, uint64_t w)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/blake2_impl.h
Lines: 110-119
100.000% (1/1)
71
statem_flush
Name: statem_flush
Prototype: int statem_flush(SSL *s)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem.c
Lines: 898-907
100.000% (4/4)
92
statem_do_write
Name: statem_do_write
Prototype: static int statem_do_write(SSL *s)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem.c
Lines: 696-709
100.000% (9/9)
73
ssl_x509_store_ctx_init_ossl_
Name: ssl_x509_store_ctx_init_ossl_
Prototype: static void ssl_x509_store_ctx_init_ossl_(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 34-34
100.000% (1/1)
11
ssl_x509_store_ctx_init
Name: ssl_x509_store_ctx_init
Prototype: static int ssl_x509_store_ctx_init(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 34-40
100.000% (1/1)
171
ssl_sort_cipher_list
Name: ssl_sort_cipher_list
Prototype: void ssl_sort_cipher_list(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3211-3218
100.000% (1/1)
51
ssl_session_sinit
Name: ssl_session_sinit
Prototype: static void ssl_session_sinit(ASN1_OCTET_STRING **dest, ASN1_OCTET_STRING *os, char *data)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_asn1.c
Lines: 95-102
100.000% (4/4)
92
ssl_session_oinit
Name: ssl_session_oinit
Prototype: static void ssl_session_oinit(ASN1_OCTET_STRING **dest, ASN1_OCTET_STRING *os, unsigned char *data, size_t len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_asn1.c
Lines: 85-92
100.000% (1/1)
41
ssl_session_hash
Name: ssl_session_hash
Prototype: static unsigned long ssl_session_hash(const SSL_SESSION *a)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 2835-2853
100.000% (4/4)
132
ssl_security
Name: ssl_security
Prototype: int ssl_security(const SSL *s, int op, int bits, int nid, void *other)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 992-995
100.000% (1/1)
51
ssl_prf_md
Name: ssl_prf_md
Prototype: const EVP_MD *ssl_prf_md(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 597-600
100.000% (1/1)
11
Page:<>12
Condition %: 100.000% (10/10)
3
Condition %: 100.000% (1/1)
4
Condition %: 100.000% (1/1)
5
Condition %: 100.000% (1/1)
...10
Condition %: 100.000% (1/1)
...20
Condition %: 100.000% (1/1)
...30
Condition %:  75.000% (9/12)
...100
Condition %:  0.000% (0/30)
...103
Condition %:  0.000% (0/1)

Generated by Squish Coco 4.2.2