OpenCoverage

OpenSSL Test Coverage

Function Tree

Page:<>1
eLOC - Effective Lines of Code: 3806
...10
eLOC - Effective Lines of Code: 48
...20
eLOC - Effective Lines of Code: 22
...23
eLOC - Effective Lines of Code: 19
24
eLOC - Effective Lines of Code: 18
25
eLOC - Effective Lines of Code: 17
26
eLOC - Effective Lines of Code: 16
2728
eLOC - Effective Lines of Code: 14
29
eLOC - Effective Lines of Code: 14
30
eLOC - Effective Lines of Code: 13
31
eLOC - Effective Lines of Code: 12
...40
eLOC - Effective Lines of Code: 7
...50
eLOC - Effective Lines of Code: 3
...100
eLOC - Effective Lines of Code: 1
...103
eLOC - Effective Lines of Code: 1
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
drbg_delete_thread_state
Name: drbg_delete_thread_state
Prototype: void drbg_delete_thread_state(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/rand/drbg_lib.c
Lines: 928-939
100.000% (1/1)
151
custom_exts_copy_flags
Name: custom_exts_copy_flags
Prototype: int custom_exts_copy_flags(custom_ext_methods *dst, const custom_ext_methods *src)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_cust.c
Lines: 250-267
 71.429% (5/7)
153
curve448_point_valid
Name: curve448_point_valid
Prototype: c448_bool_t curve448_point_valid(const curve448_point_t p)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/curve448.c
Lines: 200-218
  0.000% (0/1)
151
crypto_cleanup_all_ex_data_int
Name: crypto_cleanup_all_ex_data_int
Prototype: void crypto_cleanup_all_ex_data_int(void)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ex_data.c
Lines: 93-106
100.000% (4/4)
152
construct_stateful_ticket
Name: construct_stateful_ticket
Prototype: static int construct_stateful_ticket(SSL *s, WPACKET *pkt, uint32_t age_add, unsigned char *tick_nonce)
Coverage:  44.444% (4/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_srvr.c
Lines: 3988-4005
 44.444% (4/9)
153
check_purpose_timestamp_sign
Name: check_purpose_timestamp_sign
Prototype: static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x, int ca)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509v3/v3_purp.c
Lines: 720-753
  0.000% (0/22)
156
check_issued
Name: check_issued
Prototype: static int check_issued(X509_STORE_CTX *ctx, X509 *x, X509 *issuer)
Coverage:  85.000% (17/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_vfy.c
Lines: 328-350
 85.000% (17/20)
156
check_delta_base
Name: check_delta_base
Prototype: static int check_delta_base(X509_CRL *delta, X509_CRL *base)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_vfy.c
Lines: 1090-1113
  0.000% (0/22)
158
asn1_print_integer
Name: asn1_print_integer
Prototype: static int asn1_print_integer(BIO *out, const ASN1_INTEGER *str)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_prn.c
Lines: 393-404
 71.429% (5/7)
153
asn1_get_enc_ptr
Name: asn1_get_enc_ptr
Prototype: static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage:  72.727% (8/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_utl.c
Lines: 104-113
 72.727% (8/11)
153
aesni_ccm_init_key
Name: aesni_ccm_init_key
Prototype: static int aesni_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_aes.c
Lines: 424-444
  0.000% (0/14)
154
add_niels_to_pt
Name: add_niels_to_pt
Prototype: static void add_niels_to_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: 124-143
100.000% (4/4)
152
X509v3_get_ext_by_critical
Name: X509v3_get_ext_by_critical
Prototype: int X509v3_get_ext_by_critical(const struct stack_st_X509_EXTENSION *sk, int crit, int lastpos)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_v3.c
Lines: 58-76
  0.000% (0/19)
155
X509v3_get_ext_by_OBJ
Name: X509v3_get_ext_by_OBJ
Prototype: int X509v3_get_ext_by_OBJ(const struct stack_st_X509_EXTENSION *sk, const ASN1_OBJECT *obj, int lastpos)
Coverage:  84.615% (11/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_v3.c
Lines: 38-56
 84.615% (11/13)
155
X509at_get_attr_by_OBJ
Name: X509at_get_attr_by_OBJ
Prototype: int X509at_get_attr_by_OBJ(const struct stack_st_X509_ATTRIBUTE *sk, const ASN1_OBJECT *obj, int lastpos)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_att.c
Lines: 35-53
100.000% (13/13)
155
X509_signature_dump
Name: X509_signature_dump
Prototype: int X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent)
Coverage:  57.895% (11/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/t_x509.c
Lines: 278-299
 57.895% (11/19)
157
X509_check_issued
Name: X509_check_issued
Prototype: int X509_check_issued(X509 *issuer, X509 *subject)
Coverage: 100.000% (23/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509v3/v3_purp.c
Lines: 773-794
100.000% (23/23)
157
X509_check_email
Name: X509_check_email
Prototype: int X509_check_email(X509 *x, const char *chk, size_t chklen, unsigned int flags)
Coverage:  46.667% (7/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509v3/v3_utl.c
Lines: 918-935
 46.667% (7/15)
155
X509_VERIFY_PARAM_new
Name: X509_VERIFY_PARAM_new
Prototype: X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_vpm.c
Lines: 82-96
 50.000% (2/4)
152
X509_NAME_get0_der
Name: X509_NAME_get0_der
Prototype: int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder, size_t *pderlen)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x_name.c
Lines: 540-551
  0.000% (0/10)
154
X509_NAME_ENTRY_create_by_NID
Name: X509_NAME_ENTRY_create_by_NID
Prototype: X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, int type, const unsigned char *bytes, int len)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509name.c
Lines: 261-277
 50.000% (2/4)
152
X509_LOOKUP_free
Name: X509_LOOKUP_free
Prototype: void X509_LOOKUP_free(X509_LOOKUP *ctx)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_lu.c
Lines: 35-42
 66.667% (6/9)
153
X509_CRL_add0_revoked
Name: X509_CRL_add0_revoked
Prototype: int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x_crl.c
Lines: 309-322
  0.000% (0/9)
153
X509V3_get_section
Name: X509V3_get_section
Prototype: struct stack_st_CONF_VALUE *X509V3_get_section(X509V3_CTX *ctx, const char *section)
Coverage:  45.455% (5/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509v3/v3_conf.c
Lines: 381-391
 45.455% (5/11)
153
X509V3_add_value_int
Name: X509V3_add_value_int
Prototype: int X509V3_add_value_int(const char *name, const ASN1_INTEGER *aint, struct stack_st_CONF_VALUE **extlist)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509v3/v3_utl.c
Lines: 222-235
 71.429% (5/7)
153
WPACKET_init_static_len
Name: WPACKET_init_static_len
Prototype: int WPACKET_init_static_len(WPACKET *pkt, unsigned char *buf, size_t len, size_t lenbytes)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/packet.c
Lines: 118-132
 50.000% (5/10)
152
UI_get0_result
Name: UI_get0_result
Prototype: const char *UI_get0_result(UI *ui, int i)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ui/ui_lib.c
Lines: 432-443
  0.000% (0/7)
153
UI_ctrl
Name: UI_ctrl
Prototype: int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f) (void))
Coverage:  35.714% (5/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ui/ui_lib.c
Lines: 549-572
 35.714% (5/14)
156
TS_RESP_CTX_new
Name: TS_RESP_CTX_new
Prototype: TS_RESP_CTX *TS_RESP_CTX_new(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ts/ts_rsp_sign.c
Lines: 120-136
  0.000% (0/4)
152
TS_RESP_CTX_add_failure_info
Name: TS_RESP_CTX_add_failure_info
Prototype: int TS_RESP_CTX_add_failure_info(TS_RESP_CTX *ctx, int failure)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ts/ts_rsp_sign.c
Lines: 344-356
  0.000% (0/10)
154
SSL_use_certificate_ASN1
Name: SSL_use_certificate_ASN1
Prototype: int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_rsa.c
Lines: 84-98
  0.000% (0/4)
152
SSL_use_certificate
Name: SSL_use_certificate
Prototype: int SSL_use_certificate(SSL *ssl, X509 *x)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_rsa.c
Lines: 27-41
 42.857% (3/7)
153
SSL_get_current_cipher
Name: SSL_get_current_cipher
Prototype: const SSL_CIPHER *SSL_get_current_cipher(const SSL *s)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3837-3842
100.000% (6/6)
152
SSL_get_client_ciphers
Name: SSL_get_client_ciphers
Prototype: struct stack_st_SSL_CIPHER *SSL_get_client_ciphers(const SSL *s)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 2437-2442
  0.000% (0/8)
152
SSL_get_client_CA_list
Name: SSL_get_client_CA_list
Prototype: struct stack_st_X509_NAME *SSL_get_client_CA_list(const SSL *s)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 522-527
  0.000% (0/8)
152
SSL_CTX_use_certificate_ASN1
Name: SSL_CTX_use_certificate_ASN1
Prototype: int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_rsa.c
Lines: 417-431
  0.000% (0/4)
152
SSL_CTX_use_certificate
Name: SSL_CTX_use_certificate
Prototype: int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_rsa.c
Lines: 301-314
 42.857% (3/7)
153
SSL_CTX_flush_sessions
Name: SSL_CTX_flush_sessions
Prototype: void SSL_CTX_flush_sessions(SSL_CTX *s, long t)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_sess.c
Lines: 1106-1122
 50.000% (2/4)
152
SHA1
Name: SHA1
Prototype: unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/sha/sha1_one.c
Lines: 15-28
 42.857% (3/7)
153
RSA_padding_add_PKCS1_type_1
Name: RSA_padding_add_PKCS1_type_1
Prototype: int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, const unsigned char *from, int flen)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/rsa/rsa_pk1.c
Lines: 18-42
 50.000% (2/4)
152
RIPEMD160
Name: RIPEMD160
Prototype: unsigned char *RIPEMD160(const unsigned char *d, size_t n, unsigned char *md)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ripemd/rmd_one.c
Lines: 15-28
  0.000% (0/7)
153
PEM_dek_info
Name: PEM_dek_info
Prototype: void PEM_dek_info(char *buf, const char *type, int len, char *str)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pem_lib.c
Lines: 83-103
  0.000% (0/13)
155
OSSL_STORE_SEARCH_by_issuer_serial
Name: OSSL_STORE_SEARCH_by_issuer_serial
Prototype: OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_issuer_serial(X509_NAME *name, const ASN1_INTEGER *serial)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/store/store_lib.c
Lines: 497-512
  0.000% (0/4)
152
OSSL_STORE_SEARCH_by_alias
Name: OSSL_STORE_SEARCH_by_alias
Prototype: OSSL_STORE_SEARCH *OSSL_STORE_SEARCH_by_alias(const char *alias)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/store/store_lib.c
Lines: 544-558
  0.000% (0/4)
152
OSSL_STORE_INFO_get1_NAME
Name: OSSL_STORE_INFO_get1_NAME
Prototype: char *OSSL_STORE_INFO_get1_NAME(const OSSL_STORE_INFO *info)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/store/store_lib.c
Lines: 329-342
  0.000% (0/7)
153
OPENSSL_gmtime
Name: OPENSSL_gmtime
Prototype: struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/o_time.c
Lines: 14-57
 50.000% (2/4)
152
NETSCAPE_SPKI_get_pubkey
Name: NETSCAPE_SPKI_get_pubkey
Prototype: EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509spki.c
Lines: 21-26
  0.000% (0/6)
152
MDC2
Name: MDC2
Prototype: unsigned char *MDC2(const unsigned char *d, size_t n, unsigned char *md)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/mdc2/mdc2_one.c
Lines: 14-27
  0.000% (0/7)
153
MD5
Name: MD5
Prototype: unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/md5/md5_one.c
Lines: 19-47
  0.000% (0/7)
153
MD4
Name: MD4
Prototype: unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/md4/md4_one.c
Lines: 19-47
  0.000% (0/7)
153
EVP_PKEY_set1_engine
Name: EVP_PKEY_set1_engine
Prototype: int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e)
Coverage:  70.000% (7/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/p_lib.c
Lines: 380-396
 70.000% (7/10)
154
EVP_PKEY_get0_siphash
Name: EVP_PKEY_get0_siphash
Prototype: const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/p_lib.c
Lines: 438-449
 50.000% (2/4)
152
EVP_PKEY_get0_poly1305
Name: EVP_PKEY_get0_poly1305
Prototype: const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/p_lib.c
Lines: 424-434
  0.000% (0/4)
152
EVP_PKEY_get0_hmac
Name: EVP_PKEY_get0_hmac
Prototype: const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/p_lib.c
Lines: 411-421
  0.000% (0/4)
152
EVP_MD_CTX_reset
Name: EVP_MD_CTX_reset
Prototype: int EVP_MD_CTX_reset(EVP_MD_CTX *ctx)
Coverage:  78.261% (18/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/digest.c
Lines: 19-47
 78.261% (18/23)
155
EVP_CIPHER_CTX_reset
Name: EVP_CIPHER_CTX_reset
Prototype: int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *c)
Coverage:  88.235% (15/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/evp_enc.c
Lines: 21-38
 88.235% (15/17)
155
ERR_set_error_data
Name: ERR_set_error_data
Prototype: void ERR_set_error_data(char *data, int flags)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/err/err.c
Lines: 750-764
 42.857% (3/7)
153
ERR_clear_last_mark
Name: ERR_clear_last_mark
Prototype: int ERR_clear_last_mark(void)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/err/err.c
Lines: 840-859
  0.000% (0/14)
154
ENGINE_get_pkey_meth
Name: ENGINE_get_pkey_meth
Prototype: const EVP_PKEY_METHOD *ENGINE_get_pkey_meth(ENGINE *e, int nid)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/engine/tb_pkmeth.c
Lines: 70-80
 83.333% (5/6)
152
ENGINE_get_pkey_asn1_meth
Name: ENGINE_get_pkey_asn1_meth
Prototype: const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/engine/tb_asnmth.c
Lines: 83-93
  0.000% (0/6)
152
EC_POINT_set_affine_coordinates
Name: EC_POINT_set_affine_coordinates
Prototype: int EC_POINT_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/ec_lib.c
Lines: 706-727
 53.846% (7/13)
155
EC_POINT_mul
Name: EC_POINT_mul
Prototype: int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/ec_lib.c
Lines: 951-965
100.000% (1/1)
151
EC_KEY_generate_key
Name: EC_KEY_generate_key
Prototype: int EC_KEY_generate_key(EC_KEY *eckey)
Coverage:  44.444% (4/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/ec_key.c
Lines: 181-191
 44.444% (4/9)
153
EC_KEY_METHOD_new
Name: EC_KEY_METHOD_new
Prototype: EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/ec_kmeth.c
Lines: 155-165
  0.000% (0/7)
153
DSO_global_lookup
Name: DSO_global_lookup
Prototype: void *DSO_global_lookup(const char *name)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/dso/dso_lib.c
Lines: 340-350
  0.000% (0/7)
153
DES_ecb3_encrypt
Name: DES_ecb3_encrypt
Prototype: void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, int enc)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/des/ecb3_enc.c
Lines: 12-33
100.000% (5/5)
152
CRYPTO_strdup
Name: CRYPTO_strdup
Prototype: char *CRYPTO_strdup(const char *str, const char* file, int line)
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/o_str.c
Lines: 27-37
 57.143% (4/7)
153
CRYPTO_secure_clear_free
Name: CRYPTO_secure_clear_free
Prototype: void CRYPTO_secure_clear_free(void *ptr, size_t num, const char *file, int line)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/mem_sec.c
Lines: 170-195
100.000% (7/7)
153
CRYPTO_ocb128_new
Name: CRYPTO_ocb128_new
Prototype: OCB128_CONTEXT *CRYPTO_ocb128_new(void *keyenc, void *keydec, block128_f encrypt, block128_f decrypt, ocb128_f stream)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/modes/ocb128.c
Lines: 130-146
  0.000% (0/7)
153
CRYPTO_nistcts128_encrypt_block
Name: CRYPTO_nistcts128_encrypt_block
Prototype: size_t CRYPTO_nistcts128_encrypt_block(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/modes/cts128.c
Lines: 56-85
 80.000% (8/10)
154
CRYPTO_cts128_encrypt_block
Name: CRYPTO_cts128_encrypt_block
Prototype: size_t CRYPTO_cts128_encrypt_block(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/modes/cts128.c
Lines: 27-54
 80.000% (8/10)
154
CMS_digest_verify
Name: CMS_digest_verify
Prototype: int CMS_digest_verify(CMS_ContentInfo *cms, BIO *dcont, BIO *out, unsigned int flags)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/cms/cms_smime.c
Lines: 133-154
  0.000% (0/15)
155
CMS_data
Name: CMS_data
Prototype: int CMS_data(CMS_ContentInfo *cms, BIO *out, unsigned int flags)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/cms/cms_smime.c
Lines: 102-116
 42.857% (3/7)
153
CMAC_resume
Name: CMAC_resume
Prototype: int CMAC_resume(CMAC_CTX *ctx)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/cmac/cmac.c
Lines: 214-226
  0.000% (0/4)
152
BN_print
Name: BN_print
Prototype: int BN_print(BIO *bp, const BIGNUM *a)
Coverage:  69.231% (18/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_print.c
Lines: 304-327
 69.231% (18/26)
158
BN_GF2m_mod_sqrt_arr
Name: BN_GF2m_mod_sqrt_arr
Prototype: int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a, const int p[], BN_CTX *ctx)
Coverage:  45.455% (5/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_gf2m.c
Lines: 924-950
 45.455% (5/11)
155
ASYNC_WAIT_CTX_set_wait_fd
Name: ASYNC_WAIT_CTX_set_wait_fd
Prototype: int ASYNC_WAIT_CTX_set_wait_fd(ASYNC_WAIT_CTX *ctx, const void *key, int fd, void *custom_data, void (*cleanup)(ASYNC_WAIT_CTX *, const void *, int, void *))
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async_wait.c
Lines: 43-64
 50.000% (2/4)
152
ASN1_item_d2i_fp
Name: ASN1_item_d2i_fp
Prototype: void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_d2i_fp.c
Lines: 76-89
  0.000% (0/4)
152
ASN1_d2i_fp
Name: ASN1_d2i_fp
Prototype: void *ASN1_d2i_fp(void *(*xnew) (void), d2i_of_void *d2i, FILE *in, void **x)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_d2i_fp.c
Lines: 21-34
  0.000% (0/4)
152
ASN1_UTCTIME_cmp_time_t
Name: ASN1_UTCTIME_cmp_time_t
Prototype: int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_utctm.c
Lines: 72-91
  0.000% (0/20)
156
ASN1_TYPE_set1
Name: ASN1_TYPE_set1
Prototype: int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value)
Coverage:  56.250% (9/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_type.c
Lines: 37-56
 56.250% (9/16)
155
x509_set1_time
Name: x509_set1_time
Prototype: int x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_set.c
Lines: 64-76
  0.000% (0/7)
143
x509_ext_d2i_SCT_LIST
Name: x509_ext_d2i_SCT_LIST
Prototype: static struct stack_st_SCT *x509_ext_d2i_SCT_LIST(struct stack_st_SCT **a, const unsigned char **pp, long len)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ct/ct_x509v3.c
Lines: 49-61
 50.000% (2/4)
142
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
witness
Name: witness
Prototype: static int witness(BIGNUM *w, const BIGNUM *a, const BIGNUM *a1, const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont)
Coverage:  72.727% (16/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_prime.c
Lines: 245-270
 72.727% (16/22)
148
tree_evaluate
Name: tree_evaluate
Prototype: static int tree_evaluate(X509_POLICY_TREE *tree)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509v3/pcy_tree.c
Lines: 577-599
  0.000% (0/15)
145
tls_parse_stoc_cookie
Name: tls_parse_stoc_cookie
Prototype: int tls_parse_stoc_cookie(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_clnt.c
Lines: 1886-1900
 83.333% (5/6)
142
tls_parse_ctos_session_ticket
Name: tls_parse_ctos_session_ticket
Prototype: int tls_parse_ctos_session_ticket(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage:  33.333% (2/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_srvr.c
Lines: 269-282
 33.333% (2/6)
142
tls_construct_stoc_ems
Name: tls_construct_stoc_ems
Prototype: EXT_RETURN tls_construct_stoc_ems(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_srvr.c
Lines: 1626-1640
 66.667% (6/9)
143
tls_construct_ctos_etm
Name: tls_construct_ctos_etm
Prototype: EXT_RETURN tls_construct_ctos_etm(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_clnt.c
Lines: 453-467
 66.667% (6/9)
143
timestamp_print
Name: timestamp_print
Prototype: static void timestamp_print(uint64_t timestamp, BIO *out)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ct/ct_prn.c
Lines: 29-48
 71.429% (5/7)
143
test_cipher_nids
Name: test_cipher_nids
Prototype: static int test_cipher_nids(const int **nids)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/engine/eng_openssl.c
Lines: 260-277
  0.000% (0/10)
144
ssl_set_version_bound
Name: ssl_set_version_bound
Prototype: int ssl_set_version_bound(int method_version, int version, int *bound)
Coverage:  66.667% (16/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 1622-1665
 66.667% (16/24)
147
ssl_security_cert_sig
Name: ssl_security_cert_sig
Prototype: static int ssl_security_cert_sig(SSL *s, SSL_CTX *ctx, X509 *x, int op)
Coverage:  69.231% (9/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 2403-2419
 69.231% (9/13)
145
ssl_next_proto_validate
Name: ssl_next_proto_validate
Prototype: static int ssl_next_proto_validate(SSL *s, PACKET *pkt)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_clnt.c
Lines: 1538-1552
 66.667% (6/9)
143
ssl_check_for_safari
Name: ssl_check_for_safari
Prototype: static void ssl_check_for_safari(SSL *s, const CLIENTHELLO_MSG *hello)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_srvr.c
Lines: 1305-1351
  0.000% (0/15)
143
ssl_cert_set1_chain
Name: ssl_cert_set1_chain
Prototype: int ssl_cert_set1_chain(SSL *s, SSL_CTX *ctx, struct stack_st_X509 *chain)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 273-286
  0.000% (0/10)
144
ssl3_release_write_buffer
Name: ssl3_release_write_buffer
Prototype: int ssl3_release_write_buffer(SSL *s)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_buffer.c
Lines: 154-169
100.000% (4/4)
142
ssl3_get_cipher_by_id
Name: ssl3_get_cipher_by_id
Prototype: const SSL_CIPHER *ssl3_get_cipher_by_id(uint32_t id)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4038-4051
100.000% (7/7)
143
sm2_do_verify
Name: sm2_do_verify
Prototype: int sm2_do_verify(const EC_KEY *key, const EVP_MD *digest, const ECDSA_SIG *sig, const uint8_t *id, const size_t id_len, const uint8_t *msg, size_t msg_len)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/sm2/sm2_sign.c
Lines: 386-407
 60.000% (3/5)
143
Page:<>1
eLOC - Effective Lines of Code: 3806
...10
eLOC - Effective Lines of Code: 48
...20
eLOC - Effective Lines of Code: 22
...23
eLOC - Effective Lines of Code: 19
24
eLOC - Effective Lines of Code: 18
25
eLOC - Effective Lines of Code: 17
26
eLOC - Effective Lines of Code: 16
2728
eLOC - Effective Lines of Code: 14
29
eLOC - Effective Lines of Code: 14
30
eLOC - Effective Lines of Code: 13
31
eLOC - Effective Lines of Code: 12
...40
eLOC - Effective Lines of Code: 7
...50
eLOC - Effective Lines of Code: 3
...100
eLOC - Effective Lines of Code: 1
...103
eLOC - Effective Lines of Code: 1

Generated by Squish Coco 4.2.2