OpenCoverage

LibreSSL Portable Test Coverage

Functions

Page:<>1
Condition %:  0.000% (0/1)
...10
Condition %:  0.000% (0/68)
...20
Condition %:  0.000% (0/30)
...30
Condition %:  0.000% (0/1)
...34
Condition %:  0.000% (0/1)
35
Condition %:  24.490% (12/49)
36
Condition %:  33.333% (2/6)
37
Condition %:  37.500% (6/16)
3839
Condition %:  42.857% (3/7)
40
Condition %:  47.368% (9/19)
41
Condition %:  50.000% (2/4)
42
Condition %:  50.000% (2/4)
...50
Condition %: 100.000% (1/1)
...60
Condition %: 100.000% (4/4)
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
X509_print_ex
Name: X509_print_ex
Prototype: int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag)
Coverage:  41.045% (55/134)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/t_x509.c
Lines: 110-247
 41.045% (55/134)
12345
d2i_SSL_SESSION
Name: d2i_SSL_SESSION
Prototype: SSL_SESSION * d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length)
Coverage:  41.096% (60/146)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_asn1.c
Lines: 243-431
 41.096% (60/146)
18748
ssl3_add_cert
Name: ssl3_add_cert
Prototype: static int ssl3_add_cert(CBB *cbb, X509 *x)
Coverage:  41.176% (7/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_both.c
Lines: 354-378
 41.176% (7/17)
207
ssl3_get_client_kex_ecdhe_ecx
Name: ssl3_get_client_kex_ecdhe_ecx
Prototype: static int ssl3_get_client_kex_ecdhe_ecx(SSL *s, CBS *cbs)
Coverage:  41.176% (7/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_srvr.c
Lines: 1934-1966
 41.176% (7/17)
317
ssl3_send_server_certificate
Name: ssl3_send_server_certificate
Prototype: int ssl3_send_server_certificate(SSL *s)
Coverage:  41.176% (7/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_srvr.c
Lines: 2484-2520
 41.176% (7/17)
207
ssl3_send_server_kex_dhe
Name: ssl3_send_server_kex_dhe
Prototype: static int ssl3_send_server_kex_dhe(SSL *s, CBB *cbb)
Coverage:  41.176% (21/51)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_srvr.c
Lines: 1273-1347
 41.176% (21/51)
6718
BN_mod_sqrt
Name: BN_mod_sqrt
Prototype: BIGNUM * BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
Coverage:  41.275% (123/298)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_sqrt.c
Lines: 62-410
 41.275% (123/298)
22283
EC_GROUP_set_seed
Name: EC_GROUP_set_seed
Prototype: size_t EC_GROUP_set_seed(EC_GROUP * group, const unsigned char *p, size_t len)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 358-375
 41.667% (5/12)
174
EC_KEY_generate_key
Name: EC_KEY_generate_key
Prototype: int EC_KEY_generate_key(EC_KEY * eckey)
Coverage:  41.667% (20/48)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_key.c
Lines: 209-264
 41.667% (20/48)
8615
dsa_pub_encode
Name: dsa_pub_encode
Prototype: static int dsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey)
Coverage:  41.667% (10/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_ameth.c
Lines: 129-176
 41.667% (10/24)
417
dtls1_new
Name: dtls1_new
Prototype: int dtls1_new(SSL *s)
Coverage:  41.667% (10/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_lib.c
Lines: 88-133
 41.667% (10/24)
356
ec_wNAF_precompute_mult
Name: ec_wNAF_precompute_mult
Prototype: int ec_wNAF_precompute_mult(EC_GROUP * group, BN_CTX * ctx)
Coverage:  41.667% (45/108)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_mult.c
Lines: 724-875
 41.667% (45/108)
14530
getentropy_getrandom
Name: getentropy_getrandom
Prototype: static int getentropy_getrandom(void *buf, size_t len)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/getentropy_linux.c
Lines: 197-212
 41.667% (5/12)
304
ssl3_send_client_kex_rsa
Name: ssl3_send_client_kex_rsa
Prototype: static int ssl3_send_client_kex_rsa(SSL *s, SESS_CERT *sess_cert, CBB *cbb)
Coverage:  41.667% (10/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_clnt.c
Lines: 1924-1980
 41.667% (10/24)
528
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
tlsext_sni_clienthello_parse
Name: tlsext_sni_clienthello_parse
Prototype: int tlsext_sni_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  41.860% (18/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 607-663
 41.860% (18/43)
3914
ec_GFp_simple_set_Jprojective_coordinates_GFp
Name: ec_GFp_simple_set_Jprojective_coordinates_GFp
Prototype: int ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP * group, EC_POINT * point, const BIGNUM * x, const BIGNUM * y, const BIGNUM * z, BN_CTX * ctx)
Coverage:  41.935% (26/62)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ecp_smpl.c
Lines: 415-465
 41.935% (26/62)
4718
ssl3_get_server_kex_dhe
Name: ssl3_get_server_kex_dhe
Prototype: static int ssl3_get_server_kex_dhe(SSL *s, EVP_PKEY **pkey, CBS *cbs)
Coverage:  41.935% (13/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_clnt.c
Lines: 1191-1260
 41.935% (13/31)
7712
EC_GROUP_check
Name: EC_GROUP_check
Prototype: int EC_GROUP_check(const EC_GROUP * group, BN_CTX * ctx)
Coverage:  42.105% (16/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_check.c
Lines: 59-115
 42.105% (16/38)
6714
bio_nwrite0
Name: bio_nwrite0
Prototype: static ssize_t bio_nwrite0(BIO *bio, char **buf)
Coverage:  42.105% (8/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_bio.c
Lines: 408-454
 42.105% (8/19)
407
check_purpose_ssl_client
Name: check_purpose_ssl_client
Prototype: static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x, int ca)
Coverage:  42.105% (8/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_purp.c
Lines: 650-664
 42.105% (8/19)
95
check_purpose_ssl_server
Name: check_purpose_ssl_server
Prototype: static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x, int ca)
Coverage:  42.105% (8/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_purp.c
Lines: 666-681
 42.105% (8/19)
95
ssl3_get_server_kex_ecdhe_ecp
Name: ssl3_get_server_kex_ecdhe_ecp
Prototype: static int ssl3_get_server_kex_ecdhe_ecp(SSL *s, SESS_CERT *sc, int nid, CBS *public)
Coverage:  42.105% (8/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_clnt.c
Lines: 1262-1318
 42.105% (8/19)
647
c2i_ASN1_OBJECT
Name: c2i_ASN1_OBJECT
Prototype: ASN1_OBJECT * c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, long len)
Coverage:  42.222% (19/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_object.c
Lines: 278-347
 42.222% (19/45)
8910
chacha_encrypt_bytes
Name: chacha_encrypt_bytes
Prototype: static void chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
Coverage:  42.308% (11/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/chacha_private.h
Lines: 88-222
 42.308% (11/26)
10010
tls_configure_ssl
Name: tls_configure_ssl
Prototype: int tls_configure_ssl(struct tls *ctx, SSL_CTX *ssl_ctx)
Coverage:  42.308% (11/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 403-452
 42.308% (11/26)
8210
ssl_check_serverhello_tlsext
Name: ssl_check_serverhello_tlsext
Prototype: int ssl_check_serverhello_tlsext(SSL *s)
Coverage:  42.424% (14/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_lib.c
Lines: 759-812
 42.424% (14/33)
4210
OBJ_add_object
Name: OBJ_add_object
Prototype: int OBJ_add_object(const ASN1_OBJECT *obj)
Coverage:  42.500% (17/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_dat.c
Lines: 292-338
 42.500% (17/40)
6416
ssl3_send_server_hello
Name: ssl3_send_server_hello
Prototype: int ssl3_send_server_hello(SSL *s)
Coverage:  42.500% (17/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_srvr.c
Lines: 1168-1245
 42.500% (17/40)
3614
ASN1_INTEGER_to_BN
Name: ASN1_INTEGER_to_BN
Prototype: BIGNUM * ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_int.c
Lines: 451-461
 42.857% (3/7)
83
ASN1_STRING_cmp
Name: ASN1_STRING_cmp
Prototype: int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 442-456
 42.857% (3/7)
83
ASN1_STRING_copy
Name: ASN1_STRING_copy
Prototype: int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 344-354
 42.857% (3/7)
93
ASN1_TYPE_set_octetstring
Name: ASN1_TYPE_set_octetstring
Prototype: int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/evp_asn1.c
Lines: 66-79
 42.857% (3/7)
103
ASN1_item_digest
Name: ASN1_item_digest
Prototype: int ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *asn, unsigned char *md, unsigned int *len)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_digest.c
Lines: 69-87
 42.857% (3/7)
183
ASN1_item_dup
Name: ASN1_item_dup
Prototype: void * ASN1_item_dup(const ASN1_ITEM *it, void *x)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_dup.c
Lines: 98-118
 42.857% (3/7)
343
BIO_new
Name: BIO_new
Prototype: BIO * BIO_new(const BIO_METHOD *method)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bio_lib.c
Lines: 81-96
 42.857% (3/7)
233
BIO_nwrite0
Name: BIO_nwrite0
Prototype: int BIO_nwrite0(BIO *bio, char **buf)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_bio.c
Lines: 852-867
 42.857% (3/7)
83
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
CBS_stow
Name: CBS_stow
Prototype: int CBS_stow(const CBS *cbs, uint8_t **out_ptr, size_t *out_len)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbs.c
Lines: 79-96
 42.857% (3/7)
163
CRYPTO_THREADID_current
Name: CRYPTO_THREADID_current
Prototype: void CRYPTO_THREADID_current(CRYPTO_THREADID *id)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cryptlib.c
Lines: 461-478
 42.857% (3/7)
113
CRYPTO_get_ex_data
Name: CRYPTO_get_ex_data
Prototype: void * CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ex_data.c
Lines: 630-639
 42.857% (3/7)
73
DES_set_key_checked
Name: DES_set_key_checked
Prototype: int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/des/set_key.c
Lines: 324-332
 42.857% (3/7)
63
EC_GROUP_new_curve_GF2m
Name: EC_GROUP_new_curve_GF2m
Prototype: EC_GROUP * EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_cvt.c
Lines: 148-166
 42.857% (3/7)
203
EC_KEY_new_by_curve_name
Name: EC_KEY_new_by_curve_name
Prototype: EC_KEY * EC_KEY_new_by_curve_name(int nid)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_key.c
Lines: 93-105
 42.857% (3/7)
203
EC_POINT_get_Jprojective_coordinates_GFp
Name: EC_POINT_get_Jprojective_coordinates_GFp
Prototype: int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 822-835
 42.857% (3/7)
73
EC_POINT_get_affine_coordinates_GF2m
Name: EC_POINT_get_affine_coordinates_GF2m
Prototype: int EC_POINT_get_affine_coordinates_GF2m(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 886-899
 42.857% (3/7)
73
EC_POINT_get_affine_coordinates_GFp
Name: EC_POINT_get_affine_coordinates_GFp
Prototype: int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 870-883
 42.857% (3/7)
73
EC_POINT_invert
Name: EC_POINT_invert
Prototype: int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 933-945
 42.857% (3/7)
73
EC_POINT_is_at_infinity
Name: EC_POINT_is_at_infinity
Prototype: int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *point)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 948-960
 42.857% (3/7)
73
EC_POINT_is_on_curve
Name: EC_POINT_is_on_curve
Prototype: int EC_POINT_is_on_curve(const EC_GROUP * group, const EC_POINT * point, BN_CTX * ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 963-975
 42.857% (3/7)
73
EC_POINT_make_affine
Name: EC_POINT_make_affine
Prototype: int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 994-1006
 42.857% (3/7)
73
EC_POINT_set_Jprojective_coordinates_GFp
Name: EC_POINT_set_Jprojective_coordinates_GFp
Prototype: int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 806-819
 42.857% (3/7)
73
EC_POINT_set_affine_coordinates_GF2m
Name: EC_POINT_set_affine_coordinates_GF2m
Prototype: int EC_POINT_set_affine_coordinates_GF2m(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 854-867
 42.857% (3/7)
73
EC_POINT_set_affine_coordinates_GFp
Name: EC_POINT_set_affine_coordinates_GFp
Prototype: int EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 838-851
 42.857% (3/7)
73
EC_POINT_set_to_infinity
Name: EC_POINT_set_to_infinity
Prototype: int EC_POINT_set_to_infinity(const EC_GROUP * group, EC_POINT * point)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 791-803
 42.857% (3/7)
73
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
EVP_PKEY_asn1_get0
Name: EVP_PKEY_asn1_get0
Prototype: const EVP_PKEY_ASN1_METHOD * EVP_PKEY_asn1_get0(int idx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/ameth_lib.c
Lines: 153-163
 42.857% (3/7)
113
EVP_PKEY_new_mac_key
Name: EVP_PKEY_new_mac_key
Prototype: EVP_PKEY * EVP_PKEY_new_mac_key(int type, ENGINE *e, const unsigned char *key, int keylen)
Coverage:  42.857% (6/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/pmeth_gn.c
Lines: 203-223
 42.857% (6/14)
266
HKDF
Name: HKDF
Prototype: int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, const uint8_t *secret, size_t secret_len, const uint8_t *salt, size_t salt_len, const uint8_t *info, size_t info_len)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/hkdf/hkdf.c
Lines: 26-42
 42.857% (3/7)
93
NCONF_get_section
Name: NCONF_get_section
Prototype: struct stack_st_CONF_VALUE * NCONF_get_section(const CONF *conf, const char *section)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/conf/conf_lib.c
Lines: 292-306
 42.857% (3/7)
193
OBJ_create
Name: OBJ_create
Prototype: int OBJ_create(const char *oid, const char *sn, const char *ln)
Coverage:  42.857% (6/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_dat.c
Lines: 789-817
 42.857% (6/14)
326
OBJ_sigid_free
Name: OBJ_sigid_free
Prototype: void OBJ_sigid_free(void)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_xref.c
Lines: 226-237
 42.857% (3/7)
143
PKCS7_digest_from_attributes
Name: PKCS7_digest_from_attributes
Prototype: ASN1_OCTET_STRING * PKCS7_digest_from_attributes(struct stack_st_X509_ATTRIBUTE *sk)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1138-1148
 42.857% (3/7)
143
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/libressl/src/crypto/sha/sha1_one.c
Lines: 68-80
 42.857% (3/7)
153
SSL_CIPHER_get_version
Name: SSL_CIPHER_get_version
Prototype: const char * SSL_CIPHER_get_version(const SSL_CIPHER *c)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_ciph.c
Lines: 1617-1626
 42.857% (3/7)
73
SSL_CTX_set_cipher_list
Name: SSL_CTX_set_cipher_list
Prototype: int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 1336-1359
 42.857% (3/7)
113
SSL_CTX_use_PrivateKey
Name: SSL_CTX_use_PrivateKey
Prototype: int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_rsa.c
Lines: 558-570
 42.857% (3/7)
93
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/libressl/src/ssl/ssl_rsa.c
Lines: 345-357
 42.857% (3/7)
93
SSL_SESSION_free
Name: SSL_SESSION_free
Prototype: void SSL_SESSION_free(SSL_SESSION *ss)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_sess.c
Lines: 705-735
 42.857% (3/7)
203
SSL_clear
Name: SSL_clear
Prototype: int SSL_clear(SSL *s)
Coverage:  42.857% (9/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 162-214
 42.857% (9/21)
446
SSL_read
Name: SSL_read
Prototype: int SSL_read(SSL *s, void *buf, int num)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 954-967
 42.857% (3/7)
93
SSL_set_cipher_list
Name: SSL_set_cipher_list
Prototype: int SSL_set_cipher_list(SSL *s, const char *str)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 1362-1377
 42.857% (3/7)
113
SSL_write
Name: SSL_write
Prototype: int SSL_write(SSL *s, const void *buf, int num)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 983-997
 42.857% (3/7)
103
X509V3_EXT_d2i
Name: X509V3_EXT_d2i
Prototype: void * X509V3_EXT_d2i(X509_EXTENSION *ext)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_lib.c
Lines: 199-212
 42.857% (3/7)
213
X509V3_EXT_print
Name: X509V3_EXT_print
Prototype: int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent)
Coverage:  42.857% (15/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_prn.c
Lines: 103-152
 42.857% (15/35)
6012
X509_EXTENSION_create_by_NID
Name: X509_EXTENSION_create_by_NID
Prototype: X509_EXTENSION * X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid, int crit, ASN1_OCTET_STRING *data)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_v3.c
Lines: 193-209
 42.857% (3/7)
183
X509_EXTENSION_set_data
Name: X509_EXTENSION_set_data
Prototype: int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_v3.c
Lines: 261-272
 42.857% (3/7)
93
X509_LOOKUP_ctrl
Name: X509_LOOKUP_ctrl
Prototype: int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_lu.c
Lines: 122-132
 42.857% (3/7)
93
X509_LOOKUP_shutdown
Name: X509_LOOKUP_shutdown
Prototype: int X509_LOOKUP_shutdown(X509_LOOKUP *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_lu.c
Lines: 111-120
 42.857% (3/7)
93
X509_PURPOSE_get0
Name: X509_PURPOSE_get0
Prototype: X509_PURPOSE * X509_PURPOSE_get0(int idx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_purp.c
Lines: 164-172
 42.857% (3/7)
93
X509_STORE_load_mem
Name: X509_STORE_load_mem
Prototype: int X509_STORE_load_mem(X509_STORE *ctx, void *buf, int len)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_d2.c
Lines: 111-128
 42.857% (3/7)
163
X509_STORE_set_default_paths
Name: X509_STORE_set_default_paths
Prototype: int X509_STORE_set_default_paths(X509_STORE *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_d2.c
Lines: 66-85
 42.857% (3/7)
313
X509_TRUST_get0
Name: X509_TRUST_get0
Prototype: X509_TRUST * X509_TRUST_get0(int idx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_trs.c
Lines: 150-158
 42.857% (3/7)
93
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
X509_supported_extension
Name: X509_supported_extension
Prototype: int X509_supported_extension(X509_EXTENSION *ex)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_purp.c
Lines: 353-387
 42.857% (3/7)
73
_CONF_add_string
Name: _CONF_add_string
Prototype: int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/conf/conf_api.c
Lines: 106-127
 42.857% (3/7)
193
_SSL_CTX_set_tmp_ecdh
Name: _SSL_CTX_set_tmp_ecdh
Prototype: static int _SSL_CTX_set_tmp_ecdh(SSL_CTX *ctx, EC_KEY *ecdh)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/s3_lib.c
Lines: 1994-2007
 42.857% (3/7)
123
_rs_allocate
Name: _rs_allocate
Prototype: static __inline int _rs_allocate(struct _rs **rsp, struct _rsx **rsxp)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/arc4random_linux.h
Lines: 72-88
 42.857% (3/7)
663
asn1_string_canon
Name: asn1_string_canon
Prototype: static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in)
Coverage:  42.857% (21/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_name.c
Lines: 531-605
 42.857% (21/49)
8212
ec_GFp_mont_field_set_to_one
Name: ec_GFp_mont_field_set_to_one
Prototype: int ec_GFp_mont_field_set_to_one(const EC_GROUP *group, BIGNUM *r, BN_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ecp_mont.c
Lines: 287-297
 42.857% (3/7)
83
ec_pre_comp_new
Name: ec_pre_comp_new
Prototype: static EC_PRE_COMP * ec_pre_comp_new(const EC_GROUP * group)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_mult.c
Lines: 100-121
 42.857% (3/7)
273
md5_sha1_final
Name: md5_sha1_final
Prototype: static int md5_sha1_final(EVP_MD_CTX *ctx, unsigned char *out)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/m_md5_sha1.c
Lines: 58-69
 42.857% (3/7)
63
md5_sha1_init
Name: md5_sha1_init
Prototype: static int md5_sha1_init(EVP_MD_CTX *ctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/m_md5_sha1.c
Lines: 32-43
 42.857% (3/7)
63
md5_sha1_update
Name: md5_sha1_update
Prototype: static int md5_sha1_update(EVP_MD_CTX *ctx, const void *data, size_t count)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/m_md5_sha1.c
Lines: 45-56
 42.857% (3/7)
63
new_dir
Name: new_dir
Prototype: static int new_dir(X509_LOOKUP *lu)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/by_dir.c
Lines: 145-159
 42.857% (3/7)
173
obj_name_hash
Name: obj_name_hash
Prototype: static unsigned long obj_name_hash(const void *a_void)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/o_names.c
Lines: 113-128
 42.857% (3/7)
132
pkey_gost_mac_keygen
Name: pkey_gost_mac_keygen
Prototype: static int pkey_gost_mac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/gost89imit_pmeth.c
Lines: 106-126
 42.857% (3/7)
143
pkey_hmac_keygen
Name: pkey_hmac_keygen
Prototype: static int pkey_hmac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/hmac/hm_pmeth.c
Lines: 129-143
 42.857% (3/7)
133
rsa_pub_decode
Name: rsa_pub_decode
Prototype: static int rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_ameth.c
Lines: 89-104
 42.857% (3/7)
263
rsa_pub_encode
Name: rsa_pub_encode
Prototype: static int rsa_pub_encode(X509_PUBKEY *pk, const EVP_PKEY *pkey)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_ameth.c
Lines: 72-87
 42.857% (3/7)
183
Page:<>1
Condition %:  0.000% (0/1)
...10
Condition %:  0.000% (0/68)
...20
Condition %:  0.000% (0/30)
...30
Condition %:  0.000% (0/1)
...34
Condition %:  0.000% (0/1)
35
Condition %:  24.490% (12/49)
36
Condition %:  33.333% (2/6)
37
Condition %:  37.500% (6/16)
3839
Condition %:  42.857% (3/7)
40
Condition %:  47.368% (9/19)
41
Condition %:  50.000% (2/4)
42
Condition %:  50.000% (2/4)
...50
Condition %: 100.000% (1/1)
...60
Condition %: 100.000% (4/4)

Generated by Squish Coco 4.2.2