OpenCoverage

LibreSSL Portable Test Coverage

Function Tree

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)
...40
Condition %:  47.368% (9/19)
...45
Condition %:  60.000% (6/10)
46
Condition %:  66.667% (2/3)
47
Condition %:  71.429% (5/7)
48
Condition %:  75.000% (54/72)
4950
Condition %: 100.000% (1/1)
51
Condition %: 100.000% (4/4)
52
Condition %: 100.000% (1/1)
53
Condition %: 100.000% (1/1)
...60
Condition %: 100.000% (4/4)
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
BN_MONT_CTX_free
Name: BN_MONT_CTX_free
Prototype: void BN_MONT_CTX_free(BN_MONT_CTX *mont)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_mont.c
Lines: 347-358
 85.714% (6/7)
93
BN_mod_exp_internal
Name: BN_mod_exp_internal
Prototype: static int BN_mod_exp_internal(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, int ct)
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_exp.c
Lines: 175-227
 85.714% (12/14)
163
EC_GROUP_free
Name: EC_GROUP_free
Prototype: void EC_GROUP_free(EC_GROUP * group)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 116-134
 85.714% (6/7)
103
EC_POINT_free
Name: EC_POINT_free
Prototype: void EC_POINT_free(EC_POINT * point)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 720-729
 85.714% (6/7)
53
OBJ_bsearch_ex_
Name: OBJ_bsearch_ex_
Prototype: const void * OBJ_bsearch_ex_(const void *key, const void *base_, int num, int size, int (*cmp)(const void *, const void *), int flags)
Coverage:  85.714% (24/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_dat.c
Lines: 707-738
 85.714% (24/28)
358
added_obj_hash
Name: added_obj_hash
Prototype: static unsigned long added_obj_hash(const ADDED_OBJ *ca)
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_dat.c
Lines: 141-173
 85.714% (12/14)
217
asn1_do_lock
Name: asn1_do_lock
Prototype: int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_utl.c
Lines: 102-121
 85.714% (12/14)
144
bn_mul_normal
Name: bn_mul_normal
Prototype: void bn_mul_normal(unsigned long *r, unsigned long *a, int na, unsigned long *b, int nb)
Coverage:  85.714% (18/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_mul.c
Lines: 1100-1145
 85.714% (18/21)
318
dtls1_get_cipher
Name: dtls1_get_cipher
Prototype: const SSL_CIPHER * dtls1_get_cipher(unsigned int u)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_lib.c
Lines: 278-289
 85.714% (6/7)
113
engine_free_util
Name: engine_free_util
Prototype: int engine_free_util(ENGINE *e, int locked)
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/eng_lib.c
Lines: 113-138
 85.714% (12/14)
175
err_fns_check
Name: err_fns_check
Prototype: static void err_fns_check(void)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/err/err.c
Lines: 290-300
 85.714% (6/7)
63
idea_set_decrypt_key
Name: idea_set_decrypt_key
Prototype: void idea_set_decrypt_key(IDEA_KEY_SCHEDULE *ek, IDEA_KEY_SCHEDULE *dk)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/idea/i_skey.c
Lines: 98-125
 85.714% (6/7)
203
idea_set_encrypt_key
Name: idea_set_encrypt_key
Prototype: void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/idea/i_skey.c
Lines: 64-96
 85.714% (6/7)
263
inverse
Name: inverse
Prototype: static unsigned int inverse(unsigned int xin)
Coverage:  85.714% (12/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/idea/i_skey.c
Lines: 128-157
 85.714% (12/14)
185
is_primitive_type
Name: is_primitive_type
Prototype: static char is_primitive_type(unsigned int tag)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_ber.c
Lines: 90-96
 85.714% (6/7)
31
pkey_cb
Name: pkey_cb
Prototype: static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/p8_pkey.c
Lines: 66-76
 85.714% (6/7)
73
tlsext_alpn_clienthello_parse
Name: tlsext_alpn_clienthello_parse
Prototype: int tlsext_alpn_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  86.207% (25/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 56-102
 86.207% (25/29)
3611
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
MOD_EXP_CTIME_COPY_FROM_PREBUF
Name: MOD_EXP_CTIME_COPY_FROM_PREBUF
Prototype: static int MOD_EXP_CTIME_COPY_FROM_PREBUF(BIGNUM *b, int top, unsigned char *buf, int idx, int window)
Coverage:  86.667% (26/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_exp.c
Lines: 584-635
 86.667% (26/30)
3410
asn1_set_seq_out
Name: asn1_set_seq_out
Prototype: static int asn1_set_seq_out(struct stack_st_ASN1_VALUE *sk, unsigned char **out, int skcontlen, const ASN1_ITEM *item, int do_sort, int iclass)
Coverage:  86.667% (26/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_enc.c
Lines: 411-470
 86.667% (26/30)
5310
bn_i2c
Name: bn_i2c
Prototype: static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it)
Coverage:  86.667% (13/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_bignum.c
Lines: 128-149
 86.667% (13/15)
165
ssl_enabled_version_range
Name: ssl_enabled_version_range
Prototype: int ssl_enabled_version_range(SSL *s, uint16_t *min_ver, uint16_t *max_ver)
Coverage:  87.179% (34/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_versions.c
Lines: 83-128
 87.179% (34/39)
2911
CRYPTO_cts128_decrypt_block
Name: CRYPTO_cts128_decrypt_block
Prototype: size_t CRYPTO_cts128_decrypt_block(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block)
Coverage:  87.500% (14/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/cts128.c
Lines: 132-165
 87.500% (14/16)
196
CRYPTO_nistcts128_decrypt_block
Name: CRYPTO_nistcts128_decrypt_block
Prototype: size_t CRYPTO_nistcts128_decrypt_block(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block)
Coverage:  87.500% (14/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/cts128.c
Lines: 167-206
 87.500% (14/16)
236
file_gets
Name: file_gets
Prototype: static int file_gets(BIO *bp, char *buf, int size)
Coverage:  87.500% (7/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_file.c
Lines: 295-307
 87.500% (7/8)
74
expand
Name: expand
Prototype: static void expand(_LHASH *lh)
Coverage:  88.235% (15/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/lhash/lhash.c
Lines: 308-357
 88.235% (15/17)
456
fe_invert
Name: fe_invert
Prototype: static void fe_invert(fe out, const fe z)
Coverage:  88.235% (30/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/curve25519/curve25519.c
Lines: 638-700
 88.235% (30/34)
4912
ssl_clamp_version_range
Name: ssl_clamp_version_range
Prototype: static int ssl_clamp_version_range(uint16_t *min_ver, uint16_t *max_ver, uint16_t clamp_min, uint16_t clamp_max)
Coverage:  88.235% (15/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_versions.c
Lines: 20-35
 88.235% (15/17)
95
EVP_DecodeUpdate
Name: EVP_DecodeUpdate
Prototype: int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
Coverage:  88.298% (83/94)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/encode.c
Lines: 232-368
 88.298% (83/94)
7624
ASN1_STRING_free
Name: ASN1_STRING_free
Prototype: void ASN1_STRING_free(ASN1_STRING *a)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 432-440
 88.889% (8/9)
113
BN_copy
Name: BN_copy
Prototype: BIGNUM * BN_copy(BIGNUM *a, const BIGNUM *b)
Coverage:  88.889% (16/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_lib.c
Lines: 445-489
 88.889% (16/18)
327
ChaCha
Name: ChaCha
Prototype: void ChaCha(ChaCha_ctx *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/chacha/chacha.c
Lines: 39-56
 88.889% (8/9)
103
ERR_clear_error
Name: ERR_clear_error
Prototype: void ERR_clear_error(void)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/err/err.c
Lines: 747-759
 88.889% (8/9)
183
X509_LOOKUP_free
Name: X509_LOOKUP_free
Prototype: void X509_LOOKUP_free(X509_LOOKUP *ctx)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_lu.c
Lines: 90-98
 88.889% (8/9)
153
int_cleanup_check
Name: int_cleanup_check
Prototype: static int int_cleanup_check(int create)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/eng_lib.c
Lines: 153-162
 88.889% (8/9)
63
sk_pop_free
Name: sk_pop_free
Prototype: void sk_pop_free(_STACK *st, void (*func)(void *))
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/stack/stack.c
Lines: 272-283
 88.889% (8/9)
114
strlcpy
Name: strlcpy
Prototype: size_t strlcpy(char *dst, const char *src, size_t dsize)
Coverage:  89.474% (17/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/strlcpy.c
Lines: 27-50
 89.474% (17/19)
117
BN_bin2bn
Name: BN_bin2bn
Prototype: BIGNUM * BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
Coverage:  89.655% (26/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_lib.c
Lines: 573-612
 89.655% (26/29)
4610
chacha_encrypt_bytes
Name: chacha_encrypt_bytes
Prototype: static inline void chacha_encrypt_bytes(chacha_ctx *x, const u8 *m, u8 *c, u32 bytes)
Coverage:  89.655% (26/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/chacha/chacha-merged.c
Lines: 121-279
 89.655% (26/29)
14011
tls1_change_cipher_state
Name: tls1_change_cipher_state
Prototype: int tls1_change_cipher_state(SSL *s, int which)
Coverage:  89.655% (26/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_enc.c
Lines: 534-631
 89.655% (26/29)
618
BF_ofb64_encrypt
Name: BF_ofb64_encrypt
Prototype: void BF_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int *num)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bf/bf_ofb64.c
Lines: 66-109
 90.000% (9/10)
334
BN_POOL_get
Name: BN_POOL_get
Prototype: static BIGNUM * BN_POOL_get(BN_POOL *p)
Coverage:  90.000% (18/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_ctx.c
Lines: 429-462
 90.000% (18/20)
327
CAST_ofb64_encrypt
Name: CAST_ofb64_encrypt
Prototype: void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, const CAST_KEY *schedule, unsigned char *ivec, int *num)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cast/c_ofb64.c
Lines: 66-110
 90.000% (9/10)
334
DSA_free
Name: DSA_free
Prototype: void DSA_free(DSA *r)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_lib.c
Lines: 181-209
 90.000% (9/10)
204
RC2_ofb64_encrypt
Name: RC2_ofb64_encrypt
Prototype: void RC2_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *schedule, unsigned char *ivec, int *num)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rc2/rc2ofb64.c
Lines: 66-110
 90.000% (9/10)
334
RSA_free
Name: RSA_free
Prototype: void RSA_free(RSA *r)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_lib.c
Lines: 195-226
 90.000% (9/10)
234
bn_expand2
Name: bn_expand2
Prototype: BIGNUM * bn_expand2(BIGNUM *b, int words)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_lib.c
Lines: 385-423
 90.000% (9/10)
134
bn_mul_words
Name: bn_mul_words
Prototype: unsigned long bn_mul_words(unsigned long *rp, const unsigned long *ap, int num, unsigned long w)
Coverage:  90.000% (18/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_asm.c
Lines: 103-130
 90.000% (18/20)
204
strip_eol
Name: strip_eol
Prototype: static int strip_eol(char *linebuf, int *plen)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn_mime.c
Lines: 995-1011
 90.000% (9/10)
114
BN_rshift
Name: BN_rshift
Prototype: int BN_rshift(BIGNUM *r, const BIGNUM *a, int n)
Coverage:  90.323% (28/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_shift.c
Lines: 171-218
 90.323% (28/31)
339
CAST_set_key
Name: CAST_set_key
Prototype: void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data)
Coverage:  90.476% (19/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cast/c_skey.c
Lines: 75-165
 90.476% (19/21)
728
GOST2814789IMIT_Update [md32_common.h #4]
Name: GOST2814789IMIT_Update [md32_common.h #4]
Prototype: int GOST2814789IMIT_Update(GOST2814789IMIT_CTX *c, const void *data_, size_t len)
Coverage:  90.476% (19/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/md32_common.h #4
Lines: 215-267
 90.476% (19/21)
367
MD4_Update [md32_common.h #3]
Name: MD4_Update [md32_common.h #3]
Prototype: int MD4_Update(MD4_CTX *c, const void *data_, size_t len)
Coverage:  90.476% (19/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/md32_common.h #3
Lines: 215-267
 90.476% (19/21)
367
SHA1_Update [md32_common.h #2]
Name: SHA1_Update [md32_common.h #2]
Prototype: int SHA1_Update(SHA_CTX *c, const void *data_, size_t len)
Coverage:  90.476% (19/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/md32_common.h #2
Lines: 215-267
 90.476% (19/21)
367
SHA256_Update [md32_common.h #1]
Name: SHA256_Update [md32_common.h #1]
Prototype: int SHA256_Update(SHA256_CTX *c, const void *data_, size_t len)
Coverage:  90.476% (19/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/md32_common.h #1
Lines: 215-267
 90.476% (19/21)
367
ssl_cipher_apply_rule
Name: ssl_cipher_apply_rule
Prototype: static void ssl_cipher_apply_rule(unsigned long cipher_id, unsigned long alg_mkey, unsigned long alg_auth, unsigned long alg_enc, unsigned long alg_mac, unsigned long alg_ssl, unsigned long algo_strength, int rule, int strength_bits, CIPHER_ORDER **head_p, CIPHER_ORDER **tail_p)
Coverage:  90.588% (77/85)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_ciph.c
Lines: 886-987
 90.588% (77/85)
7624
bn_sqr_comba4
Name: bn_sqr_comba4
Prototype: void bn_sqr_comba4(unsigned long *r, const unsigned long *a)
Coverage:  90.769% (59/65)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_asm.c
Lines: 860-892
 90.769% (59/65)
281
GOST2814789IMIT_Final
Name: GOST2814789IMIT_Final
Prototype: int GOST2814789IMIT_Final(unsigned char *md, GOST2814789IMIT_CTX *c)
Coverage:  90.909% (10/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/gost2814789.c
Lines: 438-451
 90.909% (10/11)
83
SSL_get_ex_data_X509_STORE_CTX_idx
Name: SSL_get_ex_data_X509_STORE_CTX_idx
Prototype: int SSL_get_ex_data_X509_STORE_CTX_idx(void)
Coverage:  90.909% (10/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_cert.c
Lines: 133-159
 90.909% (10/11)
264
tlsext_alpn_serverhello_parse
Name: tlsext_alpn_serverhello_parse
Prototype: int tlsext_alpn_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  91.304% (21/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 131-163
 91.304% (21/23)
229
BN_GF2m_add
Name: BN_GF2m_add
Prototype: int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
Coverage:  91.667% (22/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_gf2m.c
Lines: 322-353
 91.667% (22/24)
188
BN_clear_free
Name: BN_clear_free
Prototype: void BN_clear_free(BIGNUM *a)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_lib.c
Lines: 215-229
 91.667% (11/12)
154
Gost2814789_cnt_next
Name: Gost2814789_cnt_next
Prototype: static inline void Gost2814789_cnt_next(unsigned char *ivec, unsigned char *out, GOST2814789_KEY *key)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/gost2814789.c
Lines: 321-349
 91.667% (11/12)
184
asn1_enc_restore
Name: asn1_enc_restore
Prototype: int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage:  91.667% (11/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_utl.c
Lines: 184-200
 91.667% (11/12)
104
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
BF_set_key
Name: BF_set_key
Prototype: void BF_set_key(BF_KEY *key, int len, const unsigned char *data)
Coverage:  92.000% (23/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bf/bf_skey.c
Lines: 66-116
 92.000% (23/25)
329
DES_fcrypt
Name: DES_fcrypt
Prototype: char *DES_fcrypt(const char *buf, const char *salt, char *ret)
Coverage:  92.308% (24/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/des/fcrypt.c
Lines: 62-124
 92.308% (24/26)
378
SSL_select_next_proto
Name: SSL_select_next_proto
Prototype: int SSL_select_next_proto(unsigned char **out, unsigned char *outlen, const unsigned char *server, unsigned int server_len, const unsigned char *client, unsigned int client_len)
Coverage:  92.308% (12/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 1563-1601
 92.308% (12/13)
205
ec_pre_comp_free
Name: ec_pre_comp_free
Prototype: static void ec_pre_comp_free(void *pre_)
Coverage:  92.308% (12/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_mult.c
Lines: 135-156
 92.308% (12/13)
165
ll_append_tail
Name: ll_append_tail
Prototype: static void ll_append_tail(CIPHER_ORDER **head, CIPHER_ORDER *curr, CIPHER_ORDER **tail)
Coverage:  92.308% (12/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_ciph.c
Lines: 680-696
 92.308% (12/13)
205
bn_mul_add_words
Name: bn_mul_add_words
Prototype: unsigned long bn_mul_add_words(unsigned long *rp, const unsigned long *ap, int num, unsigned long w)
Coverage:  93.333% (28/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_asm.c
Lines: 73-101
 93.333% (28/30)
204
mem_gets
Name: mem_gets
Prototype: static int mem_gets(BIO *bp, char *buf, int size)
Coverage:  93.750% (15/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_mem.c
Lines: 276-310
 93.750% (15/16)
216
bn_mul_comba8
Name: bn_mul_comba8
Prototype: void bn_mul_comba8(unsigned long *r, unsigned long *a, unsigned long *b)
Coverage:  93.774% (241/257)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_asm.c
Lines: 640-742
 93.774% (241/257)
981
ssl_supported_version_range
Name: ssl_supported_version_range
Prototype: int ssl_supported_version_range(SSL *s, uint16_t *min_ver, uint16_t *max_ver)
Coverage:  94.118% (16/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_versions.c
Lines: 130-157
 94.118% (16/17)
197
UTF8_getc
Name: UTF8_getc
Prototype: int UTF8_getc(const unsigned char *str, int len, unsigned long *val)
Coverage:  96.825% (61/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_utf8.c
Lines: 78-139
 96.825% (61/63)
5418
bn_sqr_comba8
Name: bn_sqr_comba8
Prototype: void bn_sqr_comba8(unsigned long *r, const unsigned long *a)
Coverage:  96.887% (249/257)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_asm.c
Lines: 784-858
 96.887% (249/257)
701
ACCESS_DESCRIPTION_free
Name: ACCESS_DESCRIPTION_free
Prototype: void ACCESS_DESCRIPTION_free(ACCESS_DESCRIPTION *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_info.c
Lines: 155-159
100.000% (1/1)
11
AES_ige_encrypt
Name: AES_ige_encrypt
Prototype: void AES_ige_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, const int enc)
Coverage: 100.000% (46/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_ige.c
Lines: 79-194
100.000% (46/46)
8616
ASN1_BIT_STRING_free
Name: ASN1_BIT_STRING_free
Prototype: void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 153-157
100.000% (1/1)
11
ASN1_BIT_STRING_new
Name: ASN1_BIT_STRING_new
Prototype: ASN1_BIT_STRING * ASN1_BIT_STRING_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 147-151
100.000% (1/1)
11
ASN1_BMPSTRING_free
Name: ASN1_BMPSTRING_free
Prototype: void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 549-553
100.000% (1/1)
11
ASN1_ENUMERATED_free
Name: ASN1_ENUMERATED_free
Prototype: void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 121-125
100.000% (1/1)
11
ASN1_GENERALIZEDTIME_adj
Name: ASN1_GENERALIZEDTIME_adj
Prototype: ASN1_GENERALIZEDTIME * ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s, time_t t, int offset_day, long offset_sec)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_time_tm.c
Lines: 466-472
100.000% (1/1)
21
ASN1_GENERALIZEDTIME_free
Name: ASN1_GENERALIZEDTIME_free
Prototype: void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 451-455
100.000% (1/1)
11
ASN1_GENERALIZEDTIME_new
Name: ASN1_GENERALIZEDTIME_new
Prototype: ASN1_GENERALIZEDTIME * ASN1_GENERALIZEDTIME_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 445-449
100.000% (1/1)
11
ASN1_GENERALIZEDTIME_set
Name: ASN1_GENERALIZEDTIME_set
Prototype: ASN1_GENERALIZEDTIME * ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, time_t t)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_time_tm.c
Lines: 460-464
100.000% (1/1)
11
ASN1_GENERALSTRING_free
Name: ASN1_GENERALSTRING_free
Prototype: void ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 386-390
100.000% (1/1)
11
ASN1_IA5STRING_free
Name: ASN1_IA5STRING_free
Prototype: void ASN1_IA5STRING_free(ASN1_IA5STRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 353-357
100.000% (1/1)
11
ASN1_INTEGER_free
Name: ASN1_INTEGER_free
Prototype: void ASN1_INTEGER_free(ASN1_INTEGER *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 89-93
100.000% (1/1)
11
ASN1_INTEGER_new
Name: ASN1_INTEGER_new
Prototype: ASN1_INTEGER * ASN1_INTEGER_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 83-87
100.000% (1/1)
11
ASN1_NULL_free
Name: ASN1_NULL_free
Prototype: void ASN1_NULL_free(ASN1_NULL *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 217-221
100.000% (1/1)
11
ASN1_OBJECT_create
Name: ASN1_OBJECT_create
Prototype: ASN1_OBJECT * ASN1_OBJECT_create(int nid, unsigned char *data, int len, const char *sn, const char *ln)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_object.c
Lines: 387-401
100.000% (1/1)
91
ASN1_OBJECT_free
Name: ASN1_OBJECT_free
Prototype: void ASN1_OBJECT_free(ASN1_OBJECT *a)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_object.c
Lines: 368-385
100.000% (13/13)
225
ASN1_OCTET_STRING_cmp
Name: ASN1_OCTET_STRING_cmp
Prototype: int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a, const ASN1_OCTET_STRING *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_octet.c
Lines: 69-73
100.000% (1/1)
11
ASN1_OCTET_STRING_dup
Name: ASN1_OCTET_STRING_dup
Prototype: ASN1_OCTET_STRING * ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *x)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_octet.c
Lines: 63-67
100.000% (1/1)
11
ASN1_OCTET_STRING_free
Name: ASN1_OCTET_STRING_free
Prototype: void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 185-189
100.000% (1/1)
11
ASN1_OCTET_STRING_new
Name: ASN1_OCTET_STRING_new
Prototype: ASN1_OCTET_STRING * ASN1_OCTET_STRING_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 179-183
100.000% (1/1)
11
ASN1_OCTET_STRING_set
Name: ASN1_OCTET_STRING_set
Prototype: int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *x, const unsigned char *d, int len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_octet.c
Lines: 75-79
100.000% (1/1)
11
ASN1_PCTX_free
Name: ASN1_PCTX_free
Prototype: void ASN1_PCTX_free(ASN1_PCTX *p)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_prn.c
Lines: 101-105
100.000% (1/1)
11
ASN1_PRINTABLESTRING_free
Name: ASN1_PRINTABLESTRING_free
Prototype: void ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 289-293
100.000% (1/1)
11
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)
...40
Condition %:  47.368% (9/19)
...45
Condition %:  60.000% (6/10)
46
Condition %:  66.667% (2/3)
47
Condition %:  71.429% (5/7)
48
Condition %:  75.000% (54/72)
4950
Condition %: 100.000% (1/1)
51
Condition %: 100.000% (4/4)
52
Condition %: 100.000% (1/1)
53
Condition %: 100.000% (1/1)
...60
Condition %: 100.000% (4/4)

Generated by Squish Coco 4.2.2