OpenCoverage

OpenSSL Test Coverage

Function Tree

Page:<>1
Function: ACCESS_DESCRIPTION_free
...10
Function: CRYPTO_set_mem_functions
...20
Function: EVP_aria_192_ctr
...30
Function: RSA_meth_dup
...40
Function: X509_CRL_get_ext_by_critical
...43
Function: X509_TRUST_add
44
Function: X509_get_ext_by_NID
45
Function: X509v3_addr_validate_resource_set
46
Function: aesni_ecb_cipher
4748
Function: bn2binpad
49
Function: cast_init_key
50
Function: cms_DigestedData_create
51
Function: constant_time_lookup_niels
...60
Function: file_load_try_repeat
...70
Function: param_cmp
...100
Function: tls_construct_new_session_ticket
...103
Function: xsyslog
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
asn1_print_boolean
Name: asn1_print_boolean
Prototype: static int asn1_print_boolean(BIO *out, int boolval)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_prn.c
Lines: 369-391
 80.000% (8/10)
115
asn1_print_fsname
Name: asn1_print_fsname
Prototype: static int asn1_print_fsname(BIO *out, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx)
Coverage:  61.905% (26/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_prn.c
Lines: 331-367
 61.905% (26/42)
3214
asn1_print_info
Name: asn1_print_info
Prototype: static int asn1_print_info(BIO *bp, int tag, int xclass, int constructed, int indent)
Coverage:  80.000% (20/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/asn1_par.c
Lines: 24-56
 80.000% (20/25)
229
asn1_print_integer
Name: asn1_print_integer
Prototype: static int asn1_print_integer(BIO *out, const ASN1_INTEGER *str)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_prn.c
Lines: 393-404
 71.429% (5/7)
153
asn1_print_obstring
Name: asn1_print_obstring
Prototype: static int asn1_print_obstring(BIO *out, const ASN1_STRING *str, int indent)
Coverage:  60.000% (9/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_prn.c
Lines: 419-431
 60.000% (9/15)
105
asn1_print_oid
Name: asn1_print_oid
Prototype: static int asn1_print_oid(BIO *out, const ASN1_OBJECT *oid)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_prn.c
Lines: 406-417
 42.857% (3/7)
93
asn1_put_length
Name: asn1_put_length
Prototype: static void asn1_put_length(unsigned char **pp, int length)
Coverage: 100.000% (11/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/asn1_lib.c
Lines: 194-213
100.000% (11/11)
144
asn1_put_uint64
Name: asn1_put_uint64
Prototype: static size_t asn1_put_uint64(unsigned char b[sizeof(uint64_t)], uint64_t r)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 231-240
100.000% (4/4)
42
asn1_set_choice_selector
Name: asn1_set_choice_selector
Prototype: int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_utl.c
Lines: 39-47
100.000% (1/1)
51
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:  87.097% (27/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_enc.c
Lines: 370-429
 87.097% (27/31)
6011
asn1_str2tag
Name: asn1_str2tag
Prototype: static int asn1_str2tag(const char *tagstr, int len)
Coverage:  0.000% (0/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/asn1_gen.c
Lines: 502-576
  0.000% (0/52)
21210
asn1_str2type
Name: asn1_str2type
Prototype: static ASN1_TYPE *asn1_str2type(const char *str, int format, int utype)
Coverage:  0.000% (0/107)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/asn1_gen.c
Lines: 578-743
  0.000% (0/107)
13445
asn1_string_canon
Name: asn1_string_canon
Prototype: static int asn1_string_canon(ASN1_STRING *out, const ASN1_STRING *in)
Coverage:  93.750% (30/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x_name.c
Lines: 384-461
 93.750% (30/32)
3610
asn1_string_embed_free
Name: asn1_string_embed_free
Prototype: void asn1_string_embed_free(ASN1_STRING *a, int embed)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/asn1_lib.c
Lines: 325-333
 80.000% (8/10)
84
asn1_string_get_int64
Name: asn1_string_get_int64
Prototype: static int asn1_string_get_int64(int64_t *pr, const ASN1_STRING *a, int itype)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 319-330
 42.857% (3/7)
93
asn1_string_get_uint64
Name: asn1_string_get_uint64
Prototype: static int asn1_string_get_uint64(uint64_t *pr, const ASN1_STRING *a, int itype)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 353-369
  0.000% (0/10)
124
asn1_string_set_int64
Name: asn1_string_set_int64
Prototype: static int asn1_string_set_int64(ASN1_STRING *a, int64_t r, int itype)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 332-351
 60.000% (3/5)
92
asn1_string_set_uint64
Name: asn1_string_set_uint64
Prototype: static int asn1_string_set_uint64(ASN1_STRING *a, uint64_t r, int itype)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 371-379
100.000% (1/1)
51
asn1_string_to_bn
Name: asn1_string_to_bn
Prototype: static BIGNUM *asn1_string_to_bn(const ASN1_INTEGER *ai, BIGNUM *bn, int itype)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 493-511
 80.000% (8/10)
214
asn1_template_clear
Name: asn1_template_clear
Prototype: static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_new.c
Lines: 248-255
100.000% (4/4)
72
asn1_template_ex_d2i
Name: asn1_template_ex_d2i
Prototype: static int asn1_template_ex_d2i(ASN1_VALUE **val, const unsigned char **in, long inlen, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx, int depth)
Coverage:  93.333% (28/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_dec.c
Lines: 437-506
 93.333% (28/30)
4911
asn1_template_ex_i2d
Name: asn1_template_ex_i2d
Prototype: static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass)
Coverage:  81.176% (69/85)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_enc.c
Lines: 197-347
 81.176% (69/85)
8724
asn1_template_free
Name: asn1_template_free
Prototype: void asn1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_fre.c
Lines: 122-144
100.000% (10/10)
184
asn1_template_new
Name: asn1_template_new
Prototype: static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
Coverage:  88.235% (15/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_new.c
Lines: 202-246
 88.235% (15/17)
297
asn1_template_noexp_d2i
Name: asn1_template_noexp_d2i
Prototype: static int asn1_template_noexp_d2i(ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx, int depth)
Coverage:  88.235% (60/68)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_dec.c
Lines: 508-638
 88.235% (60/68)
10223
asn1_template_print_ctx
Name: asn1_template_print_ctx
Prototype: static int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, const ASN1_TEMPLATE *tt, const ASN1_PCTX *pctx)
Coverage:  69.811% (37/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/tasn_prn.c
Lines: 264-329
 69.811% (37/53)
6516
asn1_time_from_tm
Name: asn1_time_from_tm
Prototype: ASN1_TIME *asn1_time_from_tm(ASN1_TIME *s, struct tm *ts, int type)
Coverage:  55.882% (19/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_time.c
Lines: 261-311
 55.882% (19/34)
5412
asn1_time_to_tm
Name: asn1_time_to_tm
Prototype: int asn1_time_to_tm(struct tm *tm, const ASN1_TIME *d)
Coverage:  97.368% (148/152)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_time.c
Lines: 74-259
 97.368% (148/152)
11043
asn1_utctime_to_tm
Name: asn1_utctime_to_tm
Prototype: int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_utctm.c
Lines: 17-23
 50.000% (2/4)
32
asn1_write_micalg
Name: asn1_write_micalg
Prototype: static int asn1_write_micalg(BIO *out, struct stack_st_X509_ALGOR *mdalgs)
Coverage:  41.667% (15/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/asn_mime.c
Lines: 152-218
 41.667% (15/36)
4415
async_ctx_free
Name: async_ctx_free
Prototype: static int async_ctx_free(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 64-76
 50.000% (2/4)
102
async_ctx_new
Name: async_ctx_new
Prototype: static async_ctx *async_ctx_new(void)
Coverage:  36.364% (4/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 33-57
 36.364% (4/11)
285
async_deinit
Name: async_deinit
Prototype: void async_deinit(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 310-314
100.000% (1/1)
21
async_delete_thread_state
Name: async_delete_thread_state
Prototype: void async_delete_thread_state(void)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 377-389
100.000% (4/4)
142
async_empty_pool
Name: async_empty_pool
Prototype: static void async_empty_pool(async_pool *pool)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 284-295
 66.667% (6/9)
63
async_fibre_free
Name: async_fibre_free
Prototype: void async_fibre_free(async_fibre *fibre)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/arch/async_posix.c
Lines: 52-56
100.000% (1/1)
61
async_fibre_makecontext
Name: async_fibre_makecontext
Prototype: int async_fibre_makecontext(async_fibre *fibre)
Coverage:  37.500% (3/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/arch/async_posix.c
Lines: 35-50
 37.500% (3/8)
203
async_fibre_swapcontext
Name: async_fibre_swapcontext
Prototype: static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/arch/async_posix.h
Lines: 36-48
 88.889% (8/9)
63
async_get_ctx
Name: async_get_ctx
Prototype: async_ctx *async_get_ctx(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 59-62
100.000% (1/1)
11
async_get_pool_job
Name: async_get_pool_job
Prototype: static ASYNC_JOB *async_get_pool_job(void)
Coverage:  57.143% (12/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 102-133
 57.143% (12/21)
367
async_init
Name: async_init
Prototype: int async_init(void)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 297-308
 42.857% (3/7)
143
async_job_free
Name: async_job_free
Prototype: static void async_job_free(ASYNC_JOB *job)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 93-100
100.000% (4/4)
62
async_job_new
Name: async_job_new
Prototype: static ASYNC_JOB *async_job_new(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 78-91
 50.000% (2/4)
172
async_release_job
Name: async_release_job
Prototype: static void async_release_job(ASYNC_JOB *job)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 135-142
100.000% (1/1)
91
async_start_func
Name: async_start_func
Prototype: void async_start_func(void)
Coverage:  40.000% (2/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async.c
Lines: 144-165
 40.000% (2/5)
83
async_wait_ctx_reset_counts
Name: async_wait_ctx_reset_counts
Prototype: void async_wait_ctx_reset_counts(ASYNC_WAIT_CTX *ctx)
Coverage:  72.222% (13/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/async/async_wait.c
Lines: 185-213
 72.222% (13/18)
286
atou64
Name: atou64
Prototype: static int atou64(const char *nptr, uint64_t *result)
Coverage:  57.143% (8/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/kdf/scrypt.c
Lines: 32-54
 57.143% (8/14)
144
aux_get
Name: aux_get
Prototype: static X509_CERT_AUX *aux_get(X509 *x)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x_x509a.c
Lines: 41-48
  0.000% (0/9)
213
b2i_PVK_bio
Name: b2i_PVK_bio
Prototype: EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 746-777
  0.000% (0/14)
376
b2i_PrivateKey
Name: b2i_PrivateKey
Prototype: EVP_PKEY *b2i_PrivateKey(const unsigned char **in, long length)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 382-385
  0.000% (0/1)
11
b2i_PrivateKey_bio
Name: b2i_PrivateKey_bio
Prototype: EVP_PKEY *b2i_PrivateKey_bio(BIO *in)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 392-395
  0.000% (0/1)
11
b2i_PublicKey
Name: b2i_PublicKey
Prototype: EVP_PKEY *b2i_PublicKey(const unsigned char **in, long length)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 387-390
  0.000% (0/1)
11
b2i_PublicKey_bio
Name: b2i_PublicKey_bio
Prototype: EVP_PKEY *b2i_PublicKey_bio(BIO *in)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 397-400
100.000% (1/1)
11
b2i_dss
Name: b2i_dss
Prototype: static EVP_PKEY *b2i_dss(const unsigned char **in, unsigned int bitlen, int ispub)
Coverage:  27.273% (12/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 244-314
 27.273% (12/44)
11115
b2i_rsa
Name: b2i_rsa
Prototype: static EVP_PKEY *b2i_rsa(const unsigned char **in, unsigned int bitlen, int ispub)
Coverage:  18.367% (9/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 316-380
 18.367% (9/49)
12217
b64_callback_ctrl
Name: b64_callback_ctrl
Prototype: static long b64_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/bio_b64.c
Lines: 535-548
  0.000% (0/6)
103
b64_ctrl
Name: b64_ctrl
Prototype: static long b64_ctrl(BIO *b, int cmd, long num, void *ptr)
Coverage:  27.119% (16/59)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/bio_b64.c
Lines: 448-533
 27.119% (16/59)
7123
b64_free
Name: b64_free
Prototype: static int b64_free(BIO *a)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/bio_b64.c
Lines: 92-108
 42.857% (3/7)
193
b64_new
Name: b64_new
Prototype: static int b64_new(BIO *bi)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/bio_b64.c
Lines: 69-90
 42.857% (3/7)
173
b64_puts
Name: b64_puts
Prototype: static int b64_puts(BIO *b, const char *str)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/bio_b64.c
Lines: 550-553
  0.000% (0/1)
11
b64_read
Name: b64_read
Prototype: static int b64_read(BIO *b, char *out, int outl)
Coverage:  50.833% (61/120)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/bio_b64.c
Lines: 110-326
 50.833% (61/120)
13835
b64_read_asn1
Name: b64_read_asn1
Prototype: static ASN1_VALUE *b64_read_asn1(BIO *bio, const ASN1_ITEM *it)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/asn_mime.c
Lines: 131-148
 42.857% (3/7)
233
b64_write
Name: b64_write
Prototype: static int b64_write(BIO *b, const char *in, int inl)
Coverage:  48.148% (26/54)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/bio_b64.c
Lines: 328-446
 48.148% (26/54)
10115
bf_cbc_cipher
Name: bf_cbc_cipher
Prototype: static int bf_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_bf.c
Lines: 27-27
 57.143% (4/7)
13
bf_cfb64_cipher
Name: bf_cfb64_cipher
Prototype: static int bf_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  66.667% (10/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_bf.c
Lines: 27-27
 66.667% (10/15)
15
bf_ecb_cipher
Name: bf_ecb_cipher
Prototype: static int bf_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_bf.c
Lines: 27-27
 71.429% (5/7)
13
bf_init_key
Name: bf_init_key
Prototype: static int bf_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_bf.c
Lines: 31-36
100.000% (1/1)
21
bf_ofb_cipher
Name: bf_ofb_cipher
Prototype: static int bf_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_bf.c
Lines: 27-27
 57.143% (4/7)
13
bignum_to_string
Name: bignum_to_string
Prototype: static char *bignum_to_string(const BIGNUM *bn)
Coverage:  71.429% (10/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509v3/v3_utl.c
Lines: 104-139
 71.429% (10/14)
325
bind_helper
Name: bind_helper
Prototype: static int bind_helper(ENGINE *e)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/engine/eng_rdrand.c
Lines: 56-66
  0.000% (0/12)
72
bio_call_callback
Name: bio_call_callback
Prototype: static long bio_call_callback(BIO *b, int oper, const char *argp, size_t len, int argi, long argl, long inret, size_t *processed)
Coverage:  61.290% (19/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bio_lib.c
Lines: 31-69
 61.290% (19/31)
207
bio_cleanup
Name: bio_cleanup
Prototype: void bio_cleanup(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bio_lib.c
Lines: 777-786
100.000% (1/1)
131
bio_ctrl
Name: bio_ctrl
Prototype: static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr)
Coverage:  39.759% (33/83)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 418-601
 39.759% (33/83)
11032
bio_destroy_pair
Name: bio_destroy_pair
Prototype: static void bio_destroy_pair(BIO *bio)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 656-682
 71.429% (5/7)
373
bio_free
Name: bio_free
Prototype: static int bio_free(BIO *bio)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 92-109
 71.429% (5/7)
143
bio_free_ex_data
Name: bio_free_ex_data
Prototype: void bio_free_ex_data(BIO *bio)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bio_lib.c
Lines: 772-775
  0.000% (0/1)
11
bio_make_pair
Name: bio_make_pair
Prototype: static int bio_make_pair(BIO *bio1, BIO *bio2)
Coverage:  50.000% (9/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 608-654
 50.000% (9/18)
496
bio_new
Name: bio_new
Prototype: static int bio_new(BIO *bio)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 78-90
 50.000% (2/4)
82
bio_nread
Name: bio_nread
Prototype: static ssize_t bio_nread(BIO *bio, char **buf, size_t num_)
Coverage:  38.889% (7/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 239-268
 38.889% (7/18)
226
bio_nread0
Name: bio_nread0
Prototype: static ssize_t bio_nread0(BIO *bio, char **buf)
Coverage:  46.154% (6/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 202-237
 46.154% (6/13)
345
bio_nwrite
Name: bio_nwrite
Prototype: static ssize_t bio_nwrite(BIO *bio, char **buf, size_t num_)
Coverage:  45.455% (5/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 395-416
 45.455% (5/11)
194
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/openssl/src/crypto/bio/bss_bio.c
Lines: 347-393
 42.105% (8/19)
407
bio_puts
Name: bio_puts
Prototype: static int bio_puts(BIO *bio, const char *str)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 603-606
  0.000% (0/1)
11
bio_read
Name: bio_read
Prototype: static int bio_read(BIO *bio, char *buf, int size_)
Coverage:  80.556% (29/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 111-189
 80.556% (29/36)
6811
bio_read_intern
Name: bio_read_intern
Prototype: static int bio_read_intern(BIO *b, void *data, size_t dlen, size_t *readbytes)
Coverage:  48.387% (15/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bio_lib.c
Lines: 251-286
 48.387% (15/31)
517
bio_write
Name: bio_write
Prototype: static int bio_write(BIO *bio, const char *buf, int num_)
Coverage:  77.778% (21/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_bio.c
Lines: 270-338
 77.778% (21/27)
568
bio_write_intern
Name: bio_write_intern
Prototype: static int bio_write_intern(BIO *b, const void *data, size_t dlen, size_t *written)
Coverage:  66.667% (18/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bio_lib.c
Lines: 320-353
 66.667% (18/27)
487
bitstr_cb
Name: bitstr_cb
Prototype: static int bitstr_cb(const char *elem, int len, void *bitstr)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/asn1_gen.c
Lines: 745-763
  0.000% (0/17)
145
blake2b_compress
Name: blake2b_compress
Prototype: static void blake2b_compress(BLAKE2B_CTX *S, const uint8_t *blocks, size_t len)
Coverage:  93.333% (14/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/blake2b.c
Lines: 101-202
 93.333% (14/15)
395
blake2b_init0
Name: blake2b_init0
Prototype: static inline void blake2b_init0(BLAKE2B_CTX *S)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/blake2b.c
Lines: 55-63
100.000% (4/4)
42
blake2b_init_param
Name: blake2b_init_param
Prototype: static void blake2b_init_param(BLAKE2B_CTX *S, const BLAKE2B_PARAM *P)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/blake2b.c
Lines: 66-79
100.000% (4/4)
82
blake2b_set_lastblock
Name: blake2b_set_lastblock
Prototype: static inline void blake2b_set_lastblock(BLAKE2B_CTX *S)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/blake2b.c
Lines: 49-52
100.000% (1/1)
11
blake2s_compress
Name: blake2s_compress
Prototype: static void blake2s_compress(BLAKE2S_CTX *S, const uint8_t *blocks, size_t len)
Coverage: 100.000% (15/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/blake2s.c
Lines: 97-196
100.000% (15/15)
375
blake2s_init0
Name: blake2s_init0
Prototype: static inline void blake2s_init0(BLAKE2S_CTX *S)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/blake2s.c
Lines: 51-59
100.000% (4/4)
42
blake2s_init_param
Name: blake2s_init_param
Prototype: static void blake2s_init_param(BLAKE2S_CTX *S, const BLAKE2S_PARAM *P)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/blake2s.c
Lines: 62-75
100.000% (4/4)
82
blake2s_set_lastblock
Name: blake2s_set_lastblock
Prototype: static inline void blake2s_set_lastblock(BLAKE2S_CTX *S)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/blake2s.c
Lines: 45-48
100.000% (1/1)
11
blob_length
Name: blob_length
Prototype: static unsigned int blob_length(unsigned bitlen, int isdss, int ispub)
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pvkfmt.c
Lines: 149-180
 60.000% (6/10)
104
block_in
Name: block_in
Prototype: static int block_in(BIO *b)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/bio_ok.c
Lines: 567-610
  0.000% (0/15)
396
block_out
Name: block_out
Prototype: static int block_out(BIO *b)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/bio_ok.c
Lines: 536-565
  0.000% (0/8)
284
bmp_to_utf8
Name: bmp_to_utf8
Prototype: static int bmp_to_utf8(char *str, const unsigned char *utf16, int len)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pkcs12/p12_utl.c
Lines: 149-174
  0.000% (0/20)
146
Page:<>1
Function: ACCESS_DESCRIPTION_free
...10
Function: CRYPTO_set_mem_functions
...20
Function: EVP_aria_192_ctr
...30
Function: RSA_meth_dup
...40
Function: X509_CRL_get_ext_by_critical
...43
Function: X509_TRUST_add
44
Function: X509_get_ext_by_NID
45
Function: X509v3_addr_validate_resource_set
46
Function: aesni_ecb_cipher
4748
Function: bn2binpad
49
Function: cast_init_key
50
Function: cms_DigestedData_create
51
Function: constant_time_lookup_niels
...60
Function: file_load_try_repeat
...70
Function: param_cmp
...100
Function: tls_construct_new_session_ticket
...103
Function: xsyslog

Generated by Squish Coco 4.2.2