OpenCoverage

LibreSSL Portable Test Coverage

Function Tree

Page:<>1
eLOC - Effective Lines of Code: 1
...10
eLOC - Effective Lines of Code: 1
...20
eLOC - Effective Lines of Code: 2
...30
eLOC - Effective Lines of Code: 6
...40
eLOC - Effective Lines of Code: 13
...43
eLOC - Effective Lines of Code: 17
44
eLOC - Effective Lines of Code: 18
45
eLOC - Effective Lines of Code: 19
46
eLOC - Effective Lines of Code: 21
4748
eLOC - Effective Lines of Code: 25
49
eLOC - Effective Lines of Code: 28
50
eLOC - Effective Lines of Code: 31
51
eLOC - Effective Lines of Code: 34
...60
eLOC - Effective Lines of Code: 287
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
_CONF_get_section
Name: _CONF_get_section
Prototype: CONF_VALUE * _CONF_get_section(const CONF *conf, const char *section)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/conf/conf_api.c
Lines: 80-91
 50.000% (3/6)
232
add_client_CA
Name: add_client_CA
Prototype: static int add_client_CA(struct stack_st_X509_NAME **sk, X509 *x)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_cert.c
Lines: 510-528
  0.000% (0/15)
235
asn1_item_clear
Name: asn1_item_clear
Prototype: static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage:  23.810% (5/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_new.c
Lines: 211-242
 23.810% (5/21)
239
clear_comments
Name: clear_comments
Prototype: static void clear_comments(CONF *conf, char *p)
Coverage:  50.000% (13/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/conf/conf_def.c
Lines: 415-451
 50.000% (13/26)
2310
hex_to_string
Name: hex_to_string
Prototype: char * hex_to_string(const unsigned char *buffer, long len)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_utl.c
Lines: 404-426
  0.000% (0/12)
234
i2d_ASN1_OBJECT
Name: i2d_ASN1_OBJECT
Prototype: int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_object.c
Lines: 69-89
  0.000% (0/9)
233
i2d_ASN1_bytes
Name: i2d_ASN1_bytes
Prototype: int i2d_ASN1_bytes(ASN1_STRING *a, unsigned char **pp, int tag, int xclass)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_bytes.c
Lines: 132-159
  0.000% (0/16)
235
idea_encrypt
Name: idea_encrypt
Prototype: void idea_encrypt(unsigned long *d, IDEA_KEY_SCHEDULE *key)
Coverage:  56.204% (77/137)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/idea/i_cbc.c
Lines: 136-168
 56.204% (77/137)
2335
nbiof_read
Name: nbiof_read
Prototype: static int nbiof_read(BIO *b, char *out, int outl)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bf_nbio.c
Lines: 129-158
  0.000% (0/17)
236
newpass_bag
Name: newpass_bag
Prototype: static int newpass_bag(PKCS12_SAFEBAG *bag, const char *oldpass, const char *newpass)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_npas.c
Lines: 208-228
  0.000% (0/13)
235
pkcs7_copy_existing_digest
Name: pkcs7_copy_existing_digest
Prototype: static int pkcs7_copy_existing_digest(PKCS7 *p7, PKCS7_SIGNER_INFO *si)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 227-255
  0.000% (0/16)
236
setup_dp
Name: setup_dp
Prototype: static void setup_dp(X509 *x, DIST_POINT *dp)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_purp.c
Lines: 389-417
  0.000% (0/25)
238
ssl3_setup_write_buffer
Name: ssl3_setup_write_buffer
Prototype: int ssl3_setup_write_buffer(SSL *s)
Coverage:  73.333% (11/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_both.c
Lines: 720-751
 73.333% (11/15)
236
ssl_check_clienthello_tlsext_early
Name: ssl_check_clienthello_tlsext_early
Prototype: int ssl_check_clienthello_tlsext_early(SSL *s)
Coverage:  55.556% (10/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_lib.c
Lines: 664-696
 55.556% (10/18)
237
ssl_get_ciphers_by_id
Name: ssl_get_ciphers_by_id
Prototype: struct stack_st_SSL_CIPHER * ssl_get_ciphers_by_id(SSL *s)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 1270-1282
 41.667% (5/12)
234
ssl_get_server_send_pkey
Name: ssl_get_server_send_pkey
Prototype: CERT_PKEY * ssl_get_server_send_pkey(const SSL *s)
Coverage:  35.714% (5/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 2144-2171
 35.714% (5/14)
235
ssl_verify_alarm_type
Name: ssl_verify_alarm_type
Prototype: int ssl_verify_alarm_type(long type)
Coverage:  0.000% (0/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_both.c
Lines: 609-667
  0.000% (0/41)
2331
strip_start
Name: strip_start
Prototype: static char * strip_start(char *name)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn_mime.c
Lines: 795-813
  0.000% (0/13)
235
tls1_final_finish_mac
Name: tls1_final_finish_mac
Prototype: int tls1_final_finish_mac(SSL *s, const char *str, int str_len, unsigned char *out)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_enc.c
Lines: 968-986
 40.000% (4/10)
234
tlsext_build
Name: tlsext_build
Prototype: static int tlsext_build(SSL *s, CBB *cbb, int is_serverhello)
Coverage:  60.000% (15/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1341-1377
 60.000% (15/25)
239
ASN1_template_new
Name: ASN1_template_new
Prototype: int ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_new.c
Lines: 244-285
 85.714% (12/14)
246
BIO_new_mem_buf
Name: BIO_new_mem_buf
Prototype: BIO * BIO_new_mem_buf(const void *buf, int len)
Coverage:  55.556% (5/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_mem.c
Lines: 96-118
 55.556% (5/9)
243
BIO_snprintf
Name: BIO_snprintf
Prototype: int BIO_snprintf(char *buf, size_t n, const char *format, ...)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/b_print.c
Lines: 84-97
  0.000% (0/6)
242
BN_BLINDING_convert_ex
Name: BN_BLINDING_convert_ex
Prototype: int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
Coverage:  42.857% (9/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_blind.c
Lines: 230-257
 42.857% (9/21)
247
BN_MONT_CTX_copy
Name: BN_MONT_CTX_copy
Prototype: BN_MONT_CTX * BN_MONT_CTX_copy(BN_MONT_CTX *to, BN_MONT_CTX *from)
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_mont.c
Lines: 490-506
 38.462% (5/13)
245
BN_add_word
Name: BN_add_word
Prototype: int BN_add_word(BIGNUM *a, unsigned long w)
Coverage:  50.000% (15/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_word.c
Lines: 141-176
 50.000% (15/30)
248
BN_lshift1
Name: BN_lshift1
Prototype: int BN_lshift1(BIGNUM *r, const BIGNUM *a)
Coverage:  82.609% (19/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_shift.c
Lines: 64-96
 82.609% (19/23)
246
BN_mod_lshift_quick
Name: BN_mod_lshift_quick
Prototype: int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m)
Coverage:  68.750% (22/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_mod.c
Lines: 265-308
 68.750% (22/32)
2411
CAST_decrypt
Name: CAST_decrypt
Prototype: void CAST_decrypt(unsigned int *data, const CAST_KEY *key)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cast/c_enc.c
Lines: 96-127
100.000% (4/4)
242
CAST_encrypt
Name: CAST_encrypt
Prototype: void CAST_encrypt(unsigned int *data, const CAST_KEY *key)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cast/c_enc.c
Lines: 63-94
100.000% (4/4)
242
CRYPTO_get_dynlock_value
Name: CRYPTO_get_dynlock_value
Prototype: struct CRYPTO_dynlock_value * CRYPTO_get_dynlock_value(int i)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cryptlib.c
Lines: 322-342
  0.000% (0/15)
245
DSO_ctrl
Name: DSO_ctrl
Prototype: long DSO_ctrl(DSO *dso, int cmd, long larg, void *parg)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dso/dso_lib.c
Lines: 292-319
  0.000% (0/17)
247
ERR_pop_to_mark
Name: ERR_pop_to_mark
Prototype: int ERR_pop_to_mark(void)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/err/err.c
Lines: 1167-1186
  0.000% (0/17)
245
EVP_PKEY2PKCS8
Name: EVP_PKEY2PKCS8
Prototype: PKCS8_PRIV_KEY_INFO * EVP_PKEY2PKCS8(EVP_PKEY *pkey)
Coverage:  40.000% (6/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/evp_pkey.c
Lines: 110-139
 40.000% (6/15)
246
OBJ_NAME_remove
Name: OBJ_NAME_remove
Prototype: int OBJ_NAME_remove(const char *name, int type)
Coverage:  33.333% (4/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/o_names.c
Lines: 207-235
 33.333% (4/12)
244
OBJ_obj2nid
Name: OBJ_obj2nid
Prototype: int OBJ_obj2nid(const ASN1_OBJECT *a)
Coverage:  62.500% (10/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_dat.c
Lines: 453-475
 62.500% (10/16)
246
OPENSSL_showfatal
Name: OPENSSL_showfatal
Prototype: static void OPENSSL_showfatal(const char *fmta, ...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cryptlib.c
Lines: 663-671
  0.000% (0/1)
241
PKCS12_item_decrypt_d2i
Name: PKCS12_item_decrypt_d2i
Prototype: void * PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, const char *pass, int passlen, const ASN1_OCTET_STRING *oct, int zbuf)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_decr.c
Lines: 122-144
  0.000% (0/10)
244
PKCS12_setup_mac
Name: PKCS12_setup_mac
Prototype: int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, const EVP_MD *md_type)
Coverage:  0.000% (0/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_mutl.c
Lines: 169-204
  0.000% (0/26)
249
PKCS7_add_certificate
Name: PKCS7_add_certificate
Prototype: int PKCS7_add_certificate(PKCS7 *p7, X509 *x509)
Coverage:  50.000% (8/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 293-324
 50.000% (8/16)
247
PKCS7_add_crl
Name: PKCS7_add_crl
Prototype: int PKCS7_add_crl(PKCS7 *p7, X509_CRL *crl)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 326-358
  0.000% (0/16)
247
RSA_padding_check_X931
Name: RSA_padding_check_X931
Prototype: int RSA_padding_check_X931(unsigned char *to, int tlen, const unsigned char *from, int flen, int num)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_x931.c
Lines: 104-145
  0.000% (0/29)
248
STREEBOG512_Update
Name: STREEBOG512_Update
Prototype: int STREEBOG512_Update(STREEBOG_CTX *c, const void *_data, size_t len)
Coverage: 100.000% (16/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/streebog.c
Lines: 1374-1412
100.000% (16/16)
246
TS_CONF_set_policies
Name: TS_CONF_set_policies
Prototype: int TS_CONF_set_policies(CONF *conf, const char *section, TS_RESP_CTX *ctx)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_conf.c
Lines: 358-389
  0.000% (0/18)
246
X509_NAME_ENTRY_set_data
Name: X509_NAME_ENTRY_set_data
Prototype: int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, const unsigned char *bytes, int len)
Coverage:  22.222% (6/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509name.c
Lines: 368-391
 22.222% (6/27)
247
X509_VERIFY_PARAM_new
Name: X509_VERIFY_PARAM_new
Prototype: X509_VERIFY_PARAM * X509_VERIFY_PARAM_new(void)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vpm.c
Lines: 202-218
 42.857% (3/7)
243
aesni_gcm_init_key
Name: aesni_gcm_init_key
Prototype: static int aesni_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 279-312
  0.000% (0/22)
246
cbs_get_asn1
Name: cbs_get_asn1
Prototype: static int cbs_get_asn1(CBS *cbs, CBS *out, unsigned int tag_value, int skip_header)
Coverage:  64.286% (9/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbs.c
Lines: 336-356
 64.286% (9/14)
244
copy_issuer
Name: copy_issuer
Prototype: static int copy_issuer(X509V3_CTX *ctx, GENERAL_NAMES *gens)
Coverage:  0.000% (0/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_alt.c
Lines: 310-347
  0.000% (0/26)
248
def_add_index
Name: def_add_index
Prototype: static int def_add_index(EX_CLASS_ITEM *item, long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
Coverage:  63.636% (7/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ex_data.c
Lines: 343-372
 63.636% (7/11)
245
dtls1_preprocess_fragment
Name: dtls1_preprocess_fragment
Prototype: static int dtls1_preprocess_fragment(SSL *s, struct hm_header_st *msg_hdr, int max)
Coverage:  37.500% (6/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_both.c
Lines: 460-507
 37.500% (6/16)
246
ecdh_check
Name: ecdh_check
Prototype: ECDH_DATA * ecdh_check(EC_KEY *key)
Coverage:  45.455% (5/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ecdh/ech_lib.c
Lines: 185-208
 45.455% (5/11)
244
ecdsa_check
Name: ecdsa_check
Prototype: ECDSA_DATA * ecdsa_check(EC_KEY *key)
Coverage:  63.636% (7/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ecdsa/ecs_lib.c
Lines: 172-195
 63.636% (7/11)
244
engine_list_remove
Name: engine_list_remove
Prototype: static int engine_list_remove(ENGINE *e)
Coverage:  91.667% (22/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/eng_list.c
Lines: 151-180
 91.667% (22/24)
248
getrn
Name: getrn
Prototype: static LHASH_NODE **getrn(_LHASH *lh, const void *data, unsigned long *rhash)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/lhash/lhash.c
Lines: 394-424
100.000% (13/13)
245
gf2m_Mdouble
Name: gf2m_Mdouble
Prototype: static int gf2m_Mdouble(const EC_GROUP *group, BIGNUM *x, BIGNUM *z, BN_CTX *ctx)
Coverage:  0.000% (0/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec2_mult.c
Lines: 87-118
  0.000% (0/26)
2410
i2r_ocsp_crlid
Name: i2r_ocsp_crlid
Prototype: static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind)
Coverage:  0.000% (0/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_ocsp.c
Lines: 215-247
  0.000% (0/38)
2414
lh_delete
Name: lh_delete
Prototype: void * lh_delete(_LHASH *lh, const void *data)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/lhash/lhash.c
Lines: 218-245
 80.000% (8/10)
243
long_i2c
Name: long_i2c
Prototype: static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it)
Coverage:  69.231% (18/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_long.c
Lines: 121-165
 69.231% (18/26)
248
parse_pk12
Name: parse_pk12
Prototype: static int parse_pk12(PKCS12 *p12, const char *pass, int passlen, EVP_PKEY **pkey, struct stack_st_X509 *ocerts)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_kiss.c
Lines: 171-204
  0.000% (0/20)
247
pkey_ec_ctrl
Name: pkey_ec_ctrl
Prototype: static int pkey_ec_ctrl(EVP_PKEY_CTX * ctx, int type, int p1, void *p2)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_pmeth.c
Lines: 203-243
  0.000% (0/27)
2410
poly1305_update
Name: poly1305_update
Prototype: static inline void poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes)
Coverage: 100.000% (22/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/poly1305/poly1305-donna.c
Lines: 176-212
100.000% (22/22)
248
remove_session_lock
Name: remove_session_lock
Prototype: static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_sess.c
Lines: 677-703
  0.000% (0/22)
247
setup_idp
Name: setup_idp
Prototype: static void setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_crl.c
Lines: 365-402
  0.000% (0/25)
249
ssl_cipher_list_to_bytes
Name: ssl_cipher_list_to_bytes
Prototype: int ssl_cipher_list_to_bytes(SSL *s, struct stack_st_SSL_CIPHER *ciphers, CBB *cbb)
Coverage:  64.516% (20/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 1413-1448
 64.516% (20/31)
249
ssl_update_cache
Name: ssl_update_cache
Prototype: void ssl_update_cache(SSL *s, int mode)
Coverage:  25.000% (7/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 2259-2289
 25.000% (7/28)
246
tls_get_peer_cert_issuer
Name: tls_get_peer_cert_issuer
Prototype: static int tls_get_peer_cert_issuer(struct tls *ctx, char **issuer)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_conninfo.c
Lines: 73-87
 40.000% (4/10)
244
tls_get_peer_cert_subject
Name: tls_get_peer_cert_subject
Prototype: static int tls_get_peer_cert_subject(struct tls *ctx, char **subject)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_conninfo.c
Lines: 89-103
 40.000% (4/10)
244
tls_keypair_pubkey_hash
Name: tls_keypair_pubkey_hash
Prototype: static int tls_keypair_pubkey_hash(struct tls_keypair *keypair, struct tls_error *error)
Coverage:  50.000% (6/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_keypair.c
Lines: 32-57
 50.000% (6/12)
246
tls_set_cbs
Name: tls_set_cbs
Prototype: int tls_set_cbs(struct tls *ctx, tls_read_cb read_cb, tls_write_cb write_cb, void *cb_arg)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_bio_cb.c
Lines: 114-143
 50.000% (5/10)
244
tls_set_ssl_errorx
Name: tls_set_ssl_errorx
Prototype: int tls_set_ssl_errorx(struct tls *ctx, const char *fmt, ...)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 200-215
  0.000% (0/4)
242
tree_add_unmatched
Name: tree_add_unmatched
Prototype: static int tree_add_unmatched(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache, const ASN1_OBJECT *id, X509_POLICY_NODE *node, X509_POLICY_TREE *tree)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/pcy_tree.c
Lines: 339-363
  0.000% (0/10)
244
tree_calculate_authority_set
Name: tree_calculate_authority_set
Prototype: static int tree_calculate_authority_set(X509_POLICY_TREE *tree, struct stack_st_X509_POLICY_NODE **pnodes)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/pcy_tree.c
Lines: 499-541
  0.000% (0/25)
248
ASN1_time_tm_cmp
Name: ASN1_time_tm_cmp
Prototype: int ASN1_time_tm_cmp(struct tm *tm1, struct tm *tm2)
Coverage:  56.757% (21/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_time_tm.c
Lines: 32-60
 56.757% (21/37)
2513
BN_X931_generate_prime_ex
Name: BN_X931_generate_prime_ex
Prototype: int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1, BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_x931p.c
Lines: 252-281
  0.000% (0/23)
259
BN_lshift
Name: BN_lshift
Prototype: int BN_lshift(BIGNUM *r, const BIGNUM *a, int n)
Coverage:  86.364% (19/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_shift.c
Lines: 134-169
 86.364% (19/22)
258
BN_mod_mul_reciprocal
Name: BN_mod_mul_reciprocal
Prototype: int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y, BN_RECP_CTX *recp, BN_CTX *ctx)
Coverage:  57.895% (11/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_recp.c
Lines: 110-139
 57.895% (11/19)
257
BN_rshift1
Name: BN_rshift1
Prototype: int BN_rshift1(BIGNUM *r, const BIGNUM *a)
Coverage:  81.818% (18/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_shift.c
Lines: 98-132
 81.818% (18/22)
256
DSA_verify
Name: DSA_verify
Prototype: int DSA_verify(int type, const unsigned char *dgst, int dgst_len, const unsigned char *sigbuf, int siglen, DSA *dsa)
Coverage:  46.154% (6/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_asn1.c
Lines: 456-480
 46.154% (6/13)
255
ECDSA_verify
Name: ECDSA_verify
Prototype: int ECDSA_verify(int type, const unsigned char *dgst, int dgst_len, const unsigned char *sigbuf, int sig_len, EC_KEY *eckey)
Coverage:  61.538% (8/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ecdsa/ecs_vrf.c
Lines: 88-113
 61.538% (8/13)
255
ENGINE_new
Name: ENGINE_new
Prototype: ENGINE * ENGINE_new(void)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/eng_lib.c
Lines: 68-86
 42.857% (3/7)
253
ERR_lib_error_string
Name: ERR_lib_error_string
Prototype: const char * ERR_lib_error_string(unsigned long e)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/err/err.c
Lines: 975-989
  0.000% (0/6)
252
EVP_PKEY_meth_copy
Name: EVP_PKEY_meth_copy
Prototype: void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, const EVP_PKEY_METHOD *src)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/pmeth_lib.c
Lines: 268-307
  0.000% (0/1)
251
OBJ_find_sigid_algs
Name: OBJ_find_sigid_algs
Prototype: int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid)
Coverage:  52.632% (10/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_xref.c
Lines: 127-153
 52.632% (10/19)
257
OCSP_response_create
Name: OCSP_response_create
Prototype: OCSP_RESPONSE * OCSP_response_create(int status, OCSP_BASICRESP *bs)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ocsp/ocsp_srv.c
Lines: 116-139
  0.000% (0/20)
258
OPENSSL_uni2asc
Name: OPENSSL_uni2asc
Prototype: char * OPENSSL_uni2asc(const unsigned char *uni, int unilen)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_utl.c
Lines: 102-125
  0.000% (0/15)
255
TS_check_signing_certs
Name: TS_check_signing_certs
Prototype: static int TS_check_signing_certs(PKCS7_SIGNER_INFO *si, struct stack_st_X509 *chain)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_verify.c
Lines: 269-303
  0.000% (0/20)
258
TS_get_status_text
Name: TS_get_status_text
Prototype: static char * TS_get_status_text(struct stack_st_ASN1_UTF8STRING *text)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_verify.c
Lines: 553-580
  0.000% (0/13)
255
TS_verify_cert
Name: TS_verify_cert
Prototype: static int TS_verify_cert(X509_STORE *store, struct stack_st_X509 *untrusted, X509 *signer, struct stack_st_X509 **chain)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_verify.c
Lines: 232-267
  0.000% (0/12)
255
X509_find_by_issuer_and_serial
Name: X509_find_by_issuer_and_serial
Prototype: X509 * X509_find_by_issuer_and_serial(struct stack_st_X509 *sk, X509_NAME *name, ASN1_INTEGER *serial)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_cmp.c
Lines: 290-311
 40.000% (4/10)
254
a2i_IPADDRESS
Name: a2i_IPADDRESS
Prototype: ASN1_OCTET_STRING * a2i_IPADDRESS(const char *ipasc)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_utl.c
Lines: 1062-1084
  0.000% (0/10)
254
aead_aes_gcm_init
Name: aead_aes_gcm_init
Prototype: static int aead_aes_gcm_init(EVP_AEAD_CTX *ctx, const unsigned char *key, size_t key_len, size_t tag_len)
Coverage:  57.895% (11/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1377-1418
 57.895% (11/19)
256
aes_xts_ctrl
Name: aes_xts_ctrl
Prototype: static int aes_xts_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1066-1100
  0.000% (0/17)
257
d2i_ASN1_BOOLEAN
Name: d2i_ASN1_BOOLEAN
Prototype: int d2i_ASN1_BOOLEAN(int *a, const unsigned char **pp, long length)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_bool.c
Lines: 81-115
  0.000% (0/14)
256
d2i_PUBKEY
Name: d2i_PUBKEY
Prototype: EVP_PKEY * d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp, long length)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_pubkey.c
Lines: 246-263
  0.000% (0/10)
254
dgram_read
Name: dgram_read
Prototype: static int dgram_read(BIO *b, char *out, int outl)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_dgram.c
Lines: 248-285
  0.000% (0/15)
255
ec_GF2m_simple_group_set_curve
Name: ec_GF2m_simple_group_set_curve
Prototype: int ec_GF2m_simple_group_set_curve(EC_GROUP * group, const BIGNUM * p, const BIGNUM * a, const BIGNUM * b, BN_CTX * ctx)
Coverage:  62.500% (20/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec2_smpl.c
Lines: 200-233
 62.500% (20/32)
2510
gcm_init_4bit
Name: gcm_init_4bit
Prototype: static void gcm_init_4bit(u128 Htable[16], u64 H[2])
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/gcm128.c
Lines: 255-324
 53.846% (7/13)
254
get_attribute
Name: get_attribute
Prototype: static ASN1_TYPE * get_attribute(struct stack_st_X509_ATTRIBUTE *sk, int nid)
Coverage:  76.471% (13/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1116-1136
 76.471% (13/17)
255
i2s_ASN1_ENUMERATED
Name: i2s_ASN1_ENUMERATED
Prototype: char * i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *method, const ASN1_ENUMERATED *a)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_utl.c
Lines: 152-165
  0.000% (0/9)
253
Page:<>1
eLOC - Effective Lines of Code: 1
...10
eLOC - Effective Lines of Code: 1
...20
eLOC - Effective Lines of Code: 2
...30
eLOC - Effective Lines of Code: 6
...40
eLOC - Effective Lines of Code: 13
...43
eLOC - Effective Lines of Code: 17
44
eLOC - Effective Lines of Code: 18
45
eLOC - Effective Lines of Code: 19
46
eLOC - Effective Lines of Code: 21
4748
eLOC - Effective Lines of Code: 25
49
eLOC - Effective Lines of Code: 28
50
eLOC - Effective Lines of Code: 31
51
eLOC - Effective Lines of Code: 34
...60
eLOC - Effective Lines of Code: 287

Generated by Squish Coco 4.2.2