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)
...36
Condition %:  33.333% (2/6)
37
Condition %:  37.500% (6/16)
38
Condition %:  41.045% (55/134)
39
Condition %:  42.857% (3/7)
4041
Condition %:  50.000% (2/4)
42
Condition %:  50.000% (2/4)
43
Condition %:  50.000% (6/12)
44
Condition %:  56.250% (45/80)
...50
Condition %: 100.000% (1/1)
...60
Condition %: 100.000% (4/4)
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
BIO_find_type
Name: BIO_find_type
Prototype: BIO * BIO_find_type(BIO *bio, int type)
Coverage:  47.368% (9/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bio_lib.c
Lines: 545-565
 47.368% (9/19)
267
asn1_primitive_clear
Name: asn1_primitive_clear
Prototype: static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage:  47.368% (9/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_new.c
Lines: 354-374
 47.368% (9/19)
215
ec_GFp_simple_add
Name: ec_GFp_simple_add
Prototype: int ec_GFp_simple_add(const EC_GROUP * group, EC_POINT * r, const EC_POINT * a, const EC_POINT * b, BN_CTX * ctx)
Coverage:  47.368% (81/171)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ecp_smpl.c
Lines: 636-822
 47.368% (81/171)
14856
ecdh_compute_key
Name: ecdh_compute_key
Prototype: static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *ecdh, void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
Coverage:  47.619% (30/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ecdh/ech_key.c
Lines: 93-205
 47.619% (30/63)
11221
RSA_sign
Name: RSA_sign
Prototype: int RSA_sign(int type, const unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, RSA *rsa)
Coverage:  47.826% (11/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_sign.c
Lines: 123-166
 47.826% (11/23)
348
X509_check_issued
Name: X509_check_issued
Prototype: int X509_check_issued(X509 *issuer, X509 *subject)
Coverage:  47.826% (11/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_purp.c
Lines: 833-854
 47.826% (11/23)
157
dsa_sig_print
Name: dsa_sig_print
Prototype: static int dsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, const ASN1_STRING *sig, int indent, ASN1_PCTX *pctx)
Coverage:  47.826% (11/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_ameth.c
Lines: 540-582
 47.826% (11/23)
399
i2c_ASN1_INTEGER
Name: i2c_ASN1_INTEGER
Prototype: int i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp)
Coverage:  47.826% (22/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_int.c
Lines: 120-186
 47.826% (22/46)
4815
cbs_find_indefinite
Name: cbs_find_indefinite
Prototype: static int cbs_find_indefinite(const CBS *orig_in, char *indefinite_found, unsigned int depth)
Coverage:  48.000% (12/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_ber.c
Lines: 46-82
 48.000% (12/25)
227
x509_name_encode
Name: x509_name_encode
Prototype: static int x509_name_encode(X509_NAME *a)
Coverage:  48.000% (12/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_name.c
Lines: 381-429
 48.000% (12/25)
519
BN_to_ASN1_INTEGER
Name: BN_to_ASN1_INTEGER
Prototype: ASN1_INTEGER * BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai)
Coverage:  48.148% (13/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_int.c
Lines: 408-449
 48.148% (13/27)
359
EC_GROUP_set_generator
Name: EC_GROUP_set_generator
Prototype: int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor)
Coverage:  48.148% (13/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 256-285
 48.148% (13/27)
289
ssl3_get_server_key_exchange
Name: ssl3_get_server_key_exchange
Prototype: int ssl3_get_server_key_exchange(SSL *s)
Coverage:  48.352% (44/91)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_clnt.c
Lines: 1423-1589
 48.352% (44/91)
13732
CRYPTO_gcm128_aad
Name: CRYPTO_gcm128_aad
Prototype: int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx,const unsigned char *aad,size_t len)
Coverage:  48.387% (15/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/gcm128.c
Lines: 830-885
 48.387% (15/31)
299
EVP_DecryptUpdate
Name: EVP_DecryptUpdate
Prototype: int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
Coverage:  48.485% (16/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/evp_enc.c
Lines: 416-471
 48.485% (16/33)
3310
by_mem_ctrl
Name: by_mem_ctrl
Prototype: static int by_mem_ctrl(X509_LOOKUP *lu, int cmd, const char *buf, long type, char **ret)
Coverage:  48.649% (18/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/by_mem.c
Lines: 92-138
 48.649% (18/37)
6013
probable_prime_dh
Name: probable_prime_dh
Prototype: static int probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx)
Coverage:  48.649% (18/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_prime.c
Lines: 430-478
 48.649% (18/37)
3514
ec_GFp_simple_point2oct
Name: ec_GFp_simple_point2oct
Prototype: size_t ec_GFp_simple_point2oct(const EC_GROUP * group, const EC_POINT * point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX * ctx)
Coverage:  48.750% (39/80)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ecp_oct.c
Lines: 200-302
 48.750% (39/80)
8823
do_sigver_init
Name: do_sigver_init
Prototype: static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey, int ver)
Coverage:  48.936% (23/47)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/m_sigver.c
Lines: 68-111
 48.936% (23/47)
4016
dtls1_get_message_fragment
Name: dtls1_get_message_fragment
Prototype: static long dtls1_get_message_fragment(SSL *s, int st1, int stn, long max, int *ok)
Coverage:  49.180% (30/61)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_both.c
Lines: 765-889
 49.180% (30/61)
6416
ec_GFp_simple_cmp
Name: ec_GFp_simple_cmp
Prototype: int ec_GFp_simple_cmp(const EC_GROUP * group, const EC_POINT * a, const EC_POINT * b, BN_CTX * ctx)
Coverage:  49.398% (41/83)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ecp_smpl.c
Lines: 1088-1187
 49.398% (41/83)
7925
PKCS7_dataInit
Name: PKCS7_dataInit
Prototype: BIO * PKCS7_dataInit(PKCS7 *p7, BIO *bio)
Coverage:  49.524% (52/105)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 247-402
 49.524% (52/105)
21636
SSL_SESSION_encode
Name: SSL_SESSION_encode
Prototype: static int SSL_SESSION_encode(SSL_SESSION *s, unsigned char **out, size_t *out_len, int ticket_encoding)
Coverage:  49.618% (65/131)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_asn1.c
Lines: 47-192
 49.618% (65/131)
10545
ASN1_OBJECT_new
Name: ASN1_OBJECT_new
Prototype: ASN1_OBJECT * ASN1_OBJECT_new(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_object.c
Lines: 349-366
 50.000% (2/4)
302
ASN1_STRING_type_new
Name: ASN1_STRING_type_new
Prototype: ASN1_STRING * ASN1_STRING_type_new(int type)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 415-430
 50.000% (2/4)
202
ASN1_TIME_set_string_internal
Name: ASN1_TIME_set_string_internal
Prototype: static int ASN1_TIME_set_string_internal(ASN1_TIME *s, const char *str, int mode)
Coverage:  50.000% (12/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_time_tm.c
Lines: 232-254
 50.000% (12/24)
556
ASN1_TYPE_get_octetstring
Name: ASN1_TYPE_get_octetstring
Prototype: int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/evp_asn1.c
Lines: 81-100
 50.000% (5/10)
173
ASN1_item_new
Name: ASN1_item_new
Prototype: ASN1_VALUE * ASN1_item_new(const ASN1_ITEM *it)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_new.c
Lines: 73-80
 50.000% (2/4)
122
ASN1_item_unpack
Name: ASN1_item_unpack
Prototype: void * ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn_pack.c
Lines: 205-215
 50.000% (2/4)
102
ASN1_tag2bit
Name: ASN1_tag2bit
Prototype: unsigned long ASN1_tag2bit(int tag)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_dec.c
Lines: 107-113
 50.000% (3/6)
32
BIO_indent
Name: BIO_indent
Prototype: int BIO_indent(BIO *b, int indent, int max)
Coverage:  50.000% (6/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bio_lib.c
Lines: 375-386
 50.000% (6/12)
85
BIO_new_fp
Name: BIO_new_fp
Prototype: BIO * BIO_new_fp(FILE *stream, int close_flag)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_file.c
Lines: 139-149
 50.000% (2/4)
112
BIO_pop
Name: BIO_pop
Prototype: BIO * BIO_pop(BIO *b)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bio_lib.c
Lines: 499-518
 50.000% (5/10)
304
BIO_push
Name: BIO_push
Prototype: BIO * BIO_push(BIO *b, BIO *bio)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bio_lib.c
Lines: 480-496
 50.000% (5/10)
174
BIO_sock_init
Name: BIO_sock_init
Prototype: int BIO_sock_init(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/b_posix.c
Lines: 68-74
 50.000% (2/4)
72
BIO_sock_should_retry
Name: BIO_sock_should_retry
Prototype: int BIO_sock_should_retry(int i)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_sock.c
Lines: 212-222
 50.000% (3/6)
92
BN_BLINDING_invert_ex
Name: BN_BLINDING_invert_ex
Prototype: int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_blind.c
Lines: 265-284
 50.000% (4/8)
123
BN_CTX_new
Name: BN_CTX_new
Prototype: BN_CTX * BN_CTX_new(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_ctx.c
Lines: 223-239
 50.000% (2/4)
142
BN_GENCB_free
Name: BN_GENCB_free
Prototype: void BN_GENCB_free(BN_GENCB *cb)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_lib.c
Lines: 956-962
 50.000% (2/4)
52
BN_GF2m_mod
Name: BN_GF2m_mod
Prototype: int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_gf2m.c
Lines: 463-479
 50.000% (3/6)
82
BN_GF2m_mod_exp
Name: BN_GF2m_mod_exp
Prototype: int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_gf2m.c
Lines: 1040-1064
 50.000% (5/10)
224
BN_GF2m_mod_mul
Name: BN_GF2m_mod_mul
Prototype: int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_gf2m.c
Lines: 541-565
 50.000% (5/10)
224
BN_GF2m_mod_solve_quad
Name: BN_GF2m_mod_solve_quad
Prototype: int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_gf2m.c
Lines: 1240-1262
 50.000% (5/10)
224
BN_GF2m_mod_sqr
Name: BN_GF2m_mod_sqr
Prototype: int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_gf2m.c
Lines: 605-627
 50.000% (5/10)
224
BN_GF2m_mod_sqrt
Name: BN_GF2m_mod_sqrt
Prototype: int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_gf2m.c
Lines: 1105-1126
 50.000% (5/10)
224
BN_MONT_CTX_new
Name: BN_MONT_CTX_new
Prototype: BN_MONT_CTX * BN_MONT_CTX_new(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_mont.c
Lines: 323-334
 50.000% (2/4)
122
BN_RECP_CTX_set
Name: BN_RECP_CTX_set
Prototype: int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_recp.c
Lines: 99-108
 50.000% (2/4)
62
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_gcd_ct
Name: BN_gcd_ct
Prototype: int BN_gcd_ct(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_gcd.c
Lines: 161-167
 50.000% (2/4)
52
BN_kronecker
Name: BN_kronecker
Prototype: int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
Coverage:  50.000% (43/86)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_kron.c
Lines: 62-185
 50.000% (43/86)
6221
BN_mod_add
Name: BN_mod_add
Prototype: int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_mod.c
Lines: 135-142
 50.000% (2/4)
32
BN_mod_sqr
Name: BN_mod_sqr
Prototype: int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_mod.c
Lines: 209-216
 50.000% (2/4)
72
BN_new
Name: BN_new
Prototype: BIGNUM * BN_new(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_lib.c
Lines: 244-260
 50.000% (2/4)
202
BN_print_fp
Name: BN_print_fp
Prototype: int BN_print_fp(FILE *fp, const BIGNUM *a)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_print.c
Lines: 352-364
 50.000% (2/4)
102
BN_swap_ct
Name: BN_swap_ct
Prototype: int BN_swap_ct(unsigned long condition, BIGNUM *a, BIGNUM *b, size_t nwords)
Coverage:  50.000% (12/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_lib.c
Lines: 899-943
 50.000% (12/24)
336
BUF_MEM_new
Name: BUF_MEM_new
Prototype: BUF_MEM * BUF_MEM_new(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/buffer/buffer.c
Lines: 73-84
 50.000% (2/4)
112
CBB_add_u16
Name: CBB_add_u16
Prototype: int CBB_add_u16(CBB *cbb, size_t value)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbb.c
Lines: 390-397
 50.000% (2/4)
52
CBB_add_u24
Name: CBB_add_u24
Prototype: int CBB_add_u24(CBB *cbb, size_t value)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbb.c
Lines: 399-406
 50.000% (2/4)
32
CBB_add_u32
Name: CBB_add_u32
Prototype: int CBB_add_u32(CBB *cbb, size_t value)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbb.c
Lines: 408-415
 50.000% (2/4)
32
CBB_add_u8
Name: CBB_add_u8
Prototype: int CBB_add_u8(CBB *cbb, size_t value)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbb.c
Lines: 381-388
 50.000% (2/4)
52
CBB_init_fixed
Name: CBB_init_fixed
Prototype: int CBB_init_fixed(CBB *cbb, uint8_t *buf, size_t len)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbb.c
Lines: 68-79
 50.000% (2/4)
52
CMAC_CTX_free
Name: CMAC_CTX_free
Prototype: void CMAC_CTX_free(CMAC_CTX *ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cmac/cmac.c
Lines: 123-131
 50.000% (2/4)
62
CONF_module_add
Name: CONF_module_add
Prototype: int CONF_module_add(const char *name, conf_init_func *ifunc, conf_finish_func *ffunc)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/conf/conf_mod.c
Lines: 468-476
 50.000% (2/4)
72
CONF_modules_finish
Name: CONF_modules_finish
Prototype: void CONF_modules_finish(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/conf/conf_mod.c
Lines: 440-451
 50.000% (2/4)
102
CRYPTO_gcm128_decrypt_ctr32
Name: CRYPTO_gcm128_decrypt_ctr32
Prototype: int CRYPTO_gcm128_decrypt_ctr32(GCM128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len,ctr128_f stream)
Coverage:  50.000% (17/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/gcm128.c
Lines: 1376-1499
 50.000% (17/34)
5410
CRYPTO_gcm128_encrypt_ctr32
Name: CRYPTO_gcm128_encrypt_ctr32
Prototype: int CRYPTO_gcm128_encrypt_ctr32(GCM128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len, ctr128_f stream)
Coverage:  50.000% (17/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/gcm128.c
Lines: 1258-1374
 50.000% (17/34)
5010
CRYPTO_gcm128_init
Name: CRYPTO_gcm128_init
Prototype: void CRYPTO_gcm128_init(GCM128_CONTEXT *ctx,void *key,block128_f block)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/gcm128.c
Lines: 682-749
 50.000% (2/4)
152
CRYPTO_lock
Name: CRYPTO_lock
Prototype: void CRYPTO_lock(int mode, int type, const char *file, int line)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cryptlib.c
Lines: 523-564
 50.000% (5/10)
174
DH_generate_parameters_ex
Name: DH_generate_parameters_ex
Prototype: int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *cb)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dh/dh_gen.c
Lines: 73-79
 50.000% (2/4)
32
DSA_generate_key
Name: DSA_generate_key
Prototype: int DSA_generate_key(DSA *dsa)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_key.c
Lines: 72-78
 50.000% (2/4)
32
DSA_generate_parameters_ex
Name: DSA_generate_parameters_ex
Prototype: int DSA_generate_parameters_ex(DSA *ret, int bits, const unsigned char *seed_in, int seed_len, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_gen.c
Lines: 74-96
 50.000% (4/8)
163
DSA_meth_free
Name: DSA_meth_free
Prototype: void DSA_meth_free(DSA_METHOD *meth)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_meth.c
Lines: 40-47
 50.000% (2/4)
52
DSA_print
Name: DSA_print
Prototype: int DSA_print(BIO *bp, const DSA *x, int off)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_prn.c
Lines: 97-109
 50.000% (3/6)
122
DSA_sign
Name: DSA_sign
Prototype: int DSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, DSA *dsa)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_asn1.c
Lines: 433-447
 50.000% (2/4)
102
ECDH_compute_key
Name: ECDH_compute_key
Prototype: int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *eckey, void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ecdh/ech_key.c
Lines: 218-227
 50.000% (2/4)
62
ECDSA_do_sign_ex
Name: ECDSA_do_sign_ex
Prototype: ECDSA_SIG * ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ecdsa/ecs_sign.c
Lines: 69-78
 50.000% (2/4)
102
ECDSA_do_verify
Name: ECDSA_do_verify
Prototype: int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, EC_KEY *eckey)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ecdsa/ecs_vrf.c
Lines: 72-81
 50.000% (2/4)
62
ECDSA_sign_ex
Name: ECDSA_sign_ex
Prototype: int ECDSA_sign_ex(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ecdsa/ecs_sign.c
Lines: 87-101
 50.000% (2/4)
102
ECDSA_sign_setup
Name: ECDSA_sign_setup
Prototype: int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ecdsa/ecs_sign.c
Lines: 103-111
 50.000% (2/4)
62
EC_GROUP_check_discriminant
Name: EC_GROUP_check_discriminant
Prototype: int EC_GROUP_check_discriminant(const EC_GROUP * group, BN_CTX * ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 451-459
 50.000% (2/4)
42
EC_GROUP_dup
Name: EC_GROUP_dup
Prototype: EC_GROUP * EC_GROUP_dup(const EC_GROUP * a)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 228-239
 50.000% (4/8)
222
EC_GROUP_get_curve_GF2m
Name: EC_GROUP_get_curve_GF2m
Prototype: int EC_GROUP_get_curve_GF2m(const EC_GROUP * group, BIGNUM * p, BIGNUM * a, BIGNUM * b, BN_CTX * ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 428-437
 50.000% (2/4)
42
EC_GROUP_get_curve_GFp
Name: EC_GROUP_get_curve_GFp
Prototype: int EC_GROUP_get_curve_GFp(const EC_GROUP * group, BIGNUM * p, BIGNUM * a, BIGNUM * b, BN_CTX * ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 404-413
 50.000% (2/4)
42
EC_GROUP_get_degree
Name: EC_GROUP_get_degree
Prototype: int EC_GROUP_get_degree(const EC_GROUP * group)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 440-448
 50.000% (2/4)
42
EC_GROUP_get_order
Name: EC_GROUP_get_order
Prototype: int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 295-302
 50.000% (2/4)
32
EC_GROUP_set_curve_GF2m
Name: EC_GROUP_set_curve_GF2m
Prototype: int EC_GROUP_set_curve_GF2m(EC_GROUP * group, const BIGNUM * p, const BIGNUM * a, const BIGNUM * b, BN_CTX * ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 416-425
 50.000% (2/4)
42
EC_GROUP_set_curve_GFp
Name: EC_GROUP_set_curve_GFp
Prototype: int EC_GROUP_set_curve_GFp(EC_GROUP * group, const BIGNUM * p, const BIGNUM * a, const BIGNUM * b, BN_CTX * ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 392-401
 50.000% (2/4)
42
EC_KEY_new
Name: EC_KEY_new
Prototype: EC_KEY * EC_KEY_new(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_key.c
Lines: 71-91
 50.000% (2/4)
372
ENGINE_pkey_asn1_find_str
Name: ENGINE_pkey_asn1_find_str
Prototype: const EVP_PKEY_ASN1_METHOD * ENGINE_pkey_asn1_find_str(ENGINE **pe, const char *str, int len)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/tb_asnmth.c
Lines: 236-255
 50.000% (2/4)
202
ENGINE_register_all_ciphers
Name: ENGINE_register_all_ciphers
Prototype: void ENGINE_register_all_ciphers(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/tb_cipher.c
Lines: 93-100
 50.000% (2/4)
32
ENGINE_register_all_digests
Name: ENGINE_register_all_digests
Prototype: void ENGINE_register_all_digests(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/tb_digest.c
Lines: 93-100
 50.000% (2/4)
32
ENGINE_set_id
Name: ENGINE_set_id
Prototype: int ENGINE_set_id(ENGINE *e, const char *id)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/eng_lib.c
Lines: 244-253
 50.000% (2/4)
72
ENGINE_set_name
Name: ENGINE_set_name
Prototype: int ENGINE_set_name(ENGINE *e, const char *name)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/eng_lib.c
Lines: 255-264
 50.000% (2/4)
72
ERR_STATE_free
Name: ERR_STATE_free
Prototype: static void ERR_STATE_free(ERR_STATE *s)
Coverage:  50.000% (6/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/err/err.c
Lines: 641-653
 50.000% (6/12)
164
ERR_asprintf_error_data
Name: ERR_asprintf_error_data
Prototype: void ERR_asprintf_error_data(char * format, ...)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/err/err.c
Lines: 1109-1123
 50.000% (2/4)
292
EVP_AEAD_CTX_cleanup
Name: EVP_AEAD_CTX_cleanup
Prototype: void EVP_AEAD_CTX_cleanup(EVP_AEAD_CTX *ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/evp_aead.c
Lines: 62-69
 50.000% (2/4)
102
EVP_AEAD_CTX_init
Name: EVP_AEAD_CTX_init
Prototype: int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, const unsigned char *key, size_t key_len, size_t tag_len, ENGINE *impl)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/evp_aead.c
Lines: 50-60
 50.000% (2/4)
52
EVP_CIPHER_CTX_rand_key
Name: EVP_CIPHER_CTX_rand_key
Prototype: int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/evp_enc.c
Lines: 635-642
 50.000% (2/4)
42
EVP_CIPHER_asn1_to_param
Name: EVP_CIPHER_asn1_to_param
Prototype: int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/evp_lib.c
Lines: 80-92
 50.000% (4/8)
93
EVP_CIPHER_param_to_asn1
Name: EVP_CIPHER_param_to_asn1
Prototype: int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/evp_lib.c
Lines: 66-78
 50.000% (4/8)
93
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)
...36
Condition %:  33.333% (2/6)
37
Condition %:  37.500% (6/16)
38
Condition %:  41.045% (55/134)
39
Condition %:  42.857% (3/7)
4041
Condition %:  50.000% (2/4)
42
Condition %:  50.000% (2/4)
43
Condition %:  50.000% (6/12)
44
Condition %:  56.250% (45/80)
...50
Condition %: 100.000% (1/1)
...60
Condition %: 100.000% (4/4)

Generated by Squish Coco 4.2.2