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
...44
Function: X509_get_ext_by_NID
45
Function: X509v3_addr_validate_resource_set
46
Function: aesni_ecb_cipher
47
Function: asn1_print_boolean
4849
Function: cast_init_key
50
Function: cms_DigestedData_create
51
Function: constant_time_lookup_niels
52
Function: custom_exts_copy_flags
...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
bn2binpad
Name: bn2binpad
Prototype: static int bn2binpad(const BIGNUM *a, unsigned char *to, int tolen)
Coverage:  87.500% (14/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_lib.c
Lines: 418-458
 87.500% (14/16)
246
bn_add_words
Name: bn_add_words
Prototype: unsigned long bn_add_words(unsigned long *rp, const unsigned long *ap, const unsigned long *bp, int n)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 206-230
100.000% (4/4)
182
bn_c2i
Name: bn_c2i
Prototype: static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it)
Coverage:  55.556% (5/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_bignum.c
Lines: 115-128
 55.556% (5/9)
123
bn_cmp_part_words
Name: bn_cmp_part_words
Prototype: int bn_cmp_part_words(const unsigned long *a, const unsigned long *b, int cl, int dl)
Coverage: 100.000% (19/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_lib.c
Lines: 720-738
100.000% (19/19)
117
bn_cmp_words
Name: bn_cmp_words
Prototype: int bn_cmp_words(const unsigned long *a, const unsigned long *b, int n)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_lib.c
Lines: 693-709
100.000% (14/14)
124
bn_compute_wNAF
Name: bn_compute_wNAF
Prototype: signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len)
Coverage:  64.407% (38/59)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_intern.c
Lines: 22-139
 64.407% (38/59)
7616
bn_copy_words
Name: bn_copy_words
Prototype: int bn_copy_words(unsigned long *out, const BIGNUM *in, int size)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_intern.c
Lines: 159-168
 71.429% (5/7)
83
bn_correct_top
Name: bn_correct_top
Prototype: void bn_correct_top(BIGNUM *a)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_lib.c
Lines: 967-984
100.000% (13/13)
115
bn_div_words
Name: bn_div_words
Prototype: unsigned long bn_div_words(unsigned long h, unsigned long l, unsigned long d)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 195-204
100.000% (1/1)
51
bn_expand
Name: bn_expand
Prototype: static inline BIGNUM *bn_expand(BIGNUM *a, int bits)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_lcl.h
Lines: 660-669
 71.429% (5/7)
93
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/openssl/src/crypto/bn/bn_lib.c
Lines: 245-260
 90.000% (9/10)
144
bn_expand_internal
Name: bn_expand_internal
Prototype: static unsigned long *bn_expand_internal(const BIGNUM *b, int words)
Coverage:  76.471% (13/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_lib.c
Lines: 209-235
 76.471% (13/17)
376
bn_free
Name: bn_free
Prototype: static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_bignum.c
Lines: 83-92
100.000% (8/8)
103
bn_free_d
Name: bn_free_d
Prototype: static void bn_free_d(BIGNUM *a)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_lib.c
Lines: 145-151
100.000% (4/4)
32
bn_from_mont_fixed_top
Name: bn_from_mont_fixed_top
Prototype: int bn_from_mont_fixed_top(BIGNUM *ret, const BIGNUM *a, BN_MONT_CTX *mont, BN_CTX *ctx)
Coverage:  66.667% (4/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mont.c
Lines: 174-220
 66.667% (4/6)
72
bn_from_montgomery_word
Name: bn_from_montgomery_word
Prototype: static int bn_from_montgomery_word(BIGNUM *ret, BIGNUM *r, BN_MONT_CTX *mont)
Coverage:  68.421% (13/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mont.c
Lines: 88-159
 68.421% (13/19)
437
bn_get_bits
Name: bn_get_bits
Prototype: static unsigned long bn_get_bits(const BIGNUM *a, int bitpos)
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_exp.c
Lines: 472-489
 83.333% (10/12)
114
bn_get_dmax
Name: bn_get_dmax
Prototype: int bn_get_dmax(const BIGNUM *a)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_intern.c
Lines: 146-149
  0.000% (0/1)
11
bn_get_top
Name: bn_get_top
Prototype: int bn_get_top(const BIGNUM *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_intern.c
Lines: 141-144
100.000% (1/1)
11
bn_get_words
Name: bn_get_words
Prototype: unsigned long *bn_get_words(const BIGNUM *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_intern.c
Lines: 170-173
100.000% (1/1)
11
bn_i2c
Name: bn_i2c
Prototype: static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it)
Coverage: 100.000% (14/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_bignum.c
Lines: 94-113
100.000% (14/14)
135
bn_init
Name: bn_init
Prototype: void bn_init(BIGNUM *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_lib.c
Lines: 178-184
100.000% (1/1)
11
bn_mod_add_fixed_top
Name: bn_mod_add_fixed_top
Prototype: int bn_mod_add_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m)
Coverage:  77.273% (17/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mod.c
Lines: 48-93
 77.273% (17/22)
446
bn_mod_sub_fixed_top
Name: bn_mod_sub_fixed_top
Prototype: int bn_mod_sub_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m)
Coverage:  80.000% (16/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mod.c
Lines: 128-176
 80.000% (16/20)
456
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:  87.500% (14/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 111-140
 87.500% (14/16)
216
bn_mul_comba4
Name: bn_mul_comba4
Prototype: void bn_mul_comba4(unsigned long *r, unsigned long *a, unsigned long *b)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 497-534
  0.000% (0/1)
341
bn_mul_comba8
Name: bn_mul_comba8
Prototype: void bn_mul_comba8(unsigned long *r, unsigned long *a, unsigned long *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 394-495
100.000% (1/1)
981
bn_mul_fixed_top
Name: bn_mul_fixed_top
Prototype: int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
Coverage:  74.648% (53/71)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mul.c
Lines: 507-620
 74.648% (53/71)
8621
bn_mul_low_normal
Name: bn_mul_low_normal
Prototype: void bn_mul_low_normal(unsigned long *r, unsigned long *a, unsigned long *b, int n)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mul.c
Lines: 664-684
  0.000% (0/14)
166
bn_mul_low_recursive
Name: bn_mul_low_recursive
Prototype: void bn_mul_low_recursive(unsigned long *r, unsigned long *a, unsigned long *b, int n2, unsigned long *t)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mul.c
Lines: 477-494
  0.000% (0/4)
112
bn_mul_mont_fixed_top
Name: bn_mul_mont_fixed_top
Prototype: int bn_mul_mont_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_MONT_CTX *mont, BN_CTX *ctx)
Coverage:  64.706% (22/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mont.c
Lines: 37-85
 64.706% (22/34)
3111
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:  95.238% (20/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mul.c
Lines: 622-662
 95.238% (20/21)
318
bn_mul_part_recursive
Name: bn_mul_part_recursive
Prototype: void bn_mul_part_recursive(unsigned long *r, unsigned long *a, unsigned long *b, int n, int tna, int tnb, unsigned long *t)
Coverage:  96.667% (58/60)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mul.c
Lines: 322-471
 96.667% (58/60)
7723
bn_mul_recursive
Name: bn_mul_recursive
Prototype: void bn_mul_recursive(unsigned long *r, unsigned long *a, unsigned long *b, int n2, int dna, int dnb, unsigned long *t)
Coverage:  84.286% (59/70)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mul.c
Lines: 175-316
 84.286% (59/70)
7122
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:  87.500% (14/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 142-168
 87.500% (14/16)
206
bn_new
Name: bn_new
Prototype: static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_bignum.c
Lines: 65-72
 50.000% (2/4)
62
bn_print
Name: bn_print
Prototype: static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_bignum.c
Lines: 138-146
 42.857% (3/7)
53
bn_probable_prime_dh
Name: bn_probable_prime_dh
Prototype: int bn_probable_prime_dh(BIGNUM *rnd, int bits, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx)
Coverage:  0.000% (0/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_prime.c
Lines: 355-402
  0.000% (0/37)
3514
bn_secure_c2i
Name: bn_secure_c2i
Prototype: static int bn_secure_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_bignum.c
Lines: 130-136
100.000% (4/4)
32
bn_secure_new
Name: bn_secure_new
Prototype: static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/x_bignum.c
Lines: 74-81
 50.000% (2/4)
62
bn_set_all_zero
Name: bn_set_all_zero
Prototype: void bn_set_all_zero(BIGNUM *a)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_intern.c
Lines: 151-157
100.000% (4/4)
32
bn_set_static_words
Name: bn_set_static_words
Prototype: void bn_set_static_words(BIGNUM *a, const unsigned long *words, int size)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_intern.c
Lines: 175-186
  0.000% (0/1)
51
bn_set_words
Name: bn_set_words
Prototype: int bn_set_words(BIGNUM *a, const unsigned long *words, int num_words)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_intern.c
Lines: 188-199
 50.000% (2/4)
92
bn_sqr_comba4
Name: bn_sqr_comba4
Prototype: void bn_sqr_comba4(unsigned long *r, const unsigned long *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 611-642
100.000% (1/1)
281
bn_sqr_comba8
Name: bn_sqr_comba8
Prototype: void bn_sqr_comba8(unsigned long *r, const unsigned long *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 536-609
100.000% (1/1)
701
bn_sqr_fixed_top
Name: bn_sqr_fixed_top
Prototype: int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx)
Coverage:  71.795% (28/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_sqr.c
Lines: 27-106
 71.795% (28/39)
5612
bn_sqr_normal
Name: bn_sqr_normal
Prototype: void bn_sqr_normal(unsigned long *r, const unsigned long *a, int n, unsigned long *tmp)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_sqr.c
Lines: 109-142
100.000% (7/7)
213
bn_sqr_recursive
Name: bn_sqr_recursive
Prototype: void bn_sqr_recursive(unsigned long *r, const unsigned long *a, int n2, unsigned long *t)
Coverage:  86.667% (26/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_sqr.c
Lines: 156-238
 86.667% (26/30)
3910
bn_sqr_words
Name: bn_sqr_words
Prototype: void bn_sqr_words(unsigned long *r, const unsigned long *a, int n)
Coverage:  87.500% (14/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 170-193
 87.500% (14/16)
186
bn_sub_part_words
Name: bn_sub_part_words
Prototype: unsigned long bn_sub_part_words(unsigned long *r, const unsigned long *a, const unsigned long *b, int cl, int dl)
Coverage:  74.227% (72/97)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mul.c
Lines: 27-154
 74.227% (72/97)
9835
bn_sub_words
Name: bn_sub_words
Prototype: unsigned long bn_sub_words(unsigned long *rp, const unsigned long *ap, const unsigned long *bp, int n)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/asm/x86_64-gcc.c
Lines: 233-257
100.000% (4/4)
182
bn_to_asn1_string
Name: bn_to_asn1_string
Prototype: static ASN1_STRING *bn_to_asn1_string(const BIGNUM *bn, ASN1_STRING *ai, int atype)
Coverage:  66.667% (18/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 449-491
 66.667% (18/27)
379
bn_to_mont_fixed_top
Name: bn_to_mont_fixed_top
Prototype: int bn_to_mont_fixed_top(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, BN_CTX *ctx)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_mont.c
Lines: 222-226
100.000% (1/1)
11
bn_wexpand
Name: bn_wexpand
Prototype: BIGNUM *bn_wexpand(BIGNUM *a, int words)
Coverage: 100.000% (3/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_lib.c
Lines: 962-965
100.000% (3/3)
11
bn_x931_derive_pi
Name: bn_x931_derive_pi
Prototype: static int bn_x931_derive_pi(BIGNUM *pi, const BIGNUM *Xpi, BN_CTX *ctx, BN_GENCB *cb)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_x931p.c
Lines: 21-43
  0.000% (0/19)
177
bnrand
Name: bnrand
Prototype: static int bnrand(BNRAND_FLAG flag, BIGNUM *rnd, int bits, int top, int bottom)
Coverage:  75.410% (46/61)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_rand.c
Lines: 21-95
 75.410% (46/61)
5419
bnrand_range
Name: bnrand_range
Prototype: static int bnrand_range(BNRAND_FLAG flag, BIGNUM *r, const BIGNUM *range)
Coverage:  61.364% (27/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bn/bn_rand.c
Lines: 113-175
 61.364% (27/44)
2814
bool_to_mask
Name: bool_to_mask
Prototype: static inline mask_t bool_to_mask(c448_bool_t m)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/word.h
Lines: 66-79
  0.000% (0/7)
83
bread_conv
Name: bread_conv
Prototype: int bread_conv(BIO *bio, char *data, size_t datal, size_t *readbytes)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bio_meth.c
Lines: 116-133
 71.429% (5/7)
93
buffer_callback_ctrl
Name: buffer_callback_ctrl
Prototype: static long buffer_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/bio/bf_buff.c
Lines: 411-423
  0.000% (0/6)
93
buffer_ctrl
Name: buffer_ctrl
Prototype: static long buffer_ctrl(BIO *b, int cmd, long num, void *ptr)
Coverage:  36.752% (43/117)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bf_buff.c
Lines: 237-409
 36.752% (43/117)
15043
buffer_free
Name: buffer_free
Prototype: static int buffer_free(BIO *a)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bf_buff.c
Lines: 73-87
 50.000% (2/4)
172
buffer_gets
Name: buffer_gets
Prototype: static int buffer_gets(BIO *b, char *buf, int size)
Coverage:  65.517% (19/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bf_buff.c
Lines: 425-470
 65.517% (19/29)
339
buffer_new
Name: buffer_new
Prototype: static int buffer_new(BIO *bi)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bf_buff.c
Lines: 47-71
 40.000% (4/10)
244
buffer_puts
Name: buffer_puts
Prototype: static int buffer_puts(BIO *b, const char *str)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bf_buff.c
Lines: 472-475
  0.000% (0/1)
11
buffer_read
Name: buffer_read
Prototype: static int buffer_read(BIO *b, char *out, int outl)
Coverage:  0.000% (0/48)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bf_buff.c
Lines: 89-158
  0.000% (0/48)
5516
buffer_write
Name: buffer_write
Prototype: static int buffer_write(BIO *b, const char *in, int inl)
Coverage:  37.736% (20/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bf_buff.c
Lines: 160-235
 37.736% (20/53)
6017
build_SYS_str_reasons
Name: build_SYS_str_reasons
Prototype: static void build_SYS_str_reasons(void)
Coverage:  93.750% (15/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/err/err.c
Lines: 198-233
 93.750% (15/16)
216
build_chain
Name: build_chain
Prototype: static int build_chain(X509_STORE_CTX *ctx)
Coverage:  60.194% (124/206)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_vfy.c
Lines: 2859-3220
 60.194% (124/206)
24352
bwrite_conv
Name: bwrite_conv
Prototype: int bwrite_conv(BIO *bio, const char *data, size_t datal, size_t *written)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bio_meth.c
Lines: 70-87
 71.429% (5/7)
93
by_dir_entry_free
Name: by_dir_entry_free
Prototype: static void by_dir_entry_free(BY_DIR_ENTRY *ent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/by_dir.c
Lines: 136-141
100.000% (1/1)
31
by_dir_hash_cmp
Name: by_dir_hash_cmp
Prototype: static int by_dir_hash_cmp(const BY_DIR_HASH *const *a, const BY_DIR_HASH *const *b)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/by_dir.c
Lines: 126-134
  0.000% (0/7)
53
by_dir_hash_free
Name: by_dir_hash_free
Prototype: static void by_dir_hash_free(BY_DIR_HASH *hash)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/by_dir.c
Lines: 121-124
  0.000% (0/1)
11
by_file_ctrl
Name: by_file_ctrl
Prototype: static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl, char **ret)
Coverage:  70.588% (12/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/by_file.c
Lines: 40-72
 70.588% (12/17)
196
bytes_to_cipher_list
Name: bytes_to_cipher_list
Prototype: int bytes_to_cipher_list(SSL *s, PACKET *cipher_suites, struct stack_st_SSL_CIPHER **skp, struct stack_st_SSL_CIPHER **scsvs_out, int sslv2format, int fatal)
Coverage:  50.000% (33/66)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 5266-5355
 50.000% (33/66)
10517
c2i_ASN1_BIT_STRING
Name: c2i_ASN1_BIT_STRING
Prototype: ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, const unsigned char **pp, long len)
Coverage:  74.286% (26/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_bitstr.c
Lines: 79-141
 74.286% (26/35)
7611
c2i_ASN1_INTEGER
Name: c2i_ASN1_INTEGER
Prototype: ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp, long len)
Coverage:  57.143% (16/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 280-317
 57.143% (16/28)
699
c2i_ASN1_OBJECT
Name: c2i_ASN1_OBJECT
Prototype: ASN1_OBJECT *c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, long len)
Coverage:  75.000% (42/56)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_object.c
Lines: 239-333
 75.000% (42/56)
11713
c2i_ibuf
Name: c2i_ibuf
Prototype: static size_t c2i_ibuf(unsigned char *b, int *pneg, const unsigned char *p, size_t plen)
Coverage: 100.000% (35/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 148-199
100.000% (35/35)
3311
c2i_uint64_int
Name: c2i_uint64_int
Prototype: int c2i_uint64_int(uint64_t *ret, int *neg, const unsigned char **pp, long len)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/a_int.c
Lines: 606-620
100.000% (7/7)
183
c448_ed448_convert_private_key_to_x448
Name: c448_ed448_convert_private_key_to_x448
Prototype: c448_error_t c448_ed448_convert_private_key_to_x448( uint8_t x[56], const uint8_t ed [57])
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/eddsa.c
Lines: 73-81
  0.000% (0/1)
21
c448_ed448_derive_public_key
Name: c448_ed448_derive_public_key
Prototype: c448_error_t c448_ed448_derive_public_key( uint8_t pubkey[57], const uint8_t privkey[57])
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/eddsa.c
Lines: 83-123
 71.429% (5/7)
183
c448_ed448_sign
Name: c448_ed448_sign
Prototype: c448_error_t c448_ed448_sign( uint8_t signature[(57 + 57)], const uint8_t privkey[57], const uint8_t pubkey[57], const uint8_t *message, size_t message_len, uint8_t prehashed, const uint8_t *context, size_t context_len)
Coverage:  50.000% (16/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/eddsa.c
Lines: 125-228
 50.000% (16/32)
638
c448_ed448_sign_prehash
Name: c448_ed448_sign_prehash
Prototype: c448_error_t c448_ed448_sign_prehash( uint8_t signature[(57 + 57)], const uint8_t privkey[57], const uint8_t pubkey[57], const uint8_t hash[64], const uint8_t *context, size_t context_len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/eddsa.c
Lines: 230-239
100.000% (1/1)
21
c448_ed448_verify
Name: c448_ed448_verify
Prototype: c448_error_t c448_ed448_verify( const uint8_t signature[(57 + 57)], const uint8_t pubkey[57], const uint8_t *message, size_t message_len, uint8_t prehashed, const uint8_t *context, uint8_t context_len)
Coverage:  45.000% (9/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/eddsa.c
Lines: 241-295
 45.000% (9/20)
394
c448_ed448_verify_prehash
Name: c448_ed448_verify_prehash
Prototype: c448_error_t c448_ed448_verify_prehash( const uint8_t signature[(57 + 57)], const uint8_t pubkey[57], const uint8_t hash[64], const uint8_t *context, uint8_t context_len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/eddsa.c
Lines: 297-305
  0.000% (0/1)
21
c448_succeed_if
Name: c448_succeed_if
Prototype: static inline c448_error_t c448_succeed_if(c448_bool_t x)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/curve448utils.h
Lines: 73-76
100.000% (1/1)
11
ca_dn_cmp
Name: ca_dn_cmp
Prototype: static int ca_dn_cmp(const X509_NAME *const *a, const X509_NAME *const *b)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 2199-2202
  0.000% (0/1)
11
camellia_cbc_cipher
Name: camellia_cbc_cipher
Prototype: static int camellia_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  37.500% (3/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_camellia.c
Lines: 240-257
 37.500% (3/8)
113
camellia_cfb1_cipher
Name: camellia_cfb1_cipher
Prototype: static int camellia_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_camellia.c
Lines: 311-341
 50.000% (5/10)
214
camellia_cfb8_cipher
Name: camellia_cfb8_cipher
Prototype: static int camellia_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_camellia.c
Lines: 299-309
100.000% (1/1)
61
camellia_cfb_cipher
Name: camellia_cfb_cipher
Prototype: static int camellia_cfb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_camellia.c
Lines: 287-297
100.000% (1/1)
61
camellia_ctr_cipher
Name: camellia_ctr_cipher
Prototype: static int camellia_ctr_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_camellia.c
Lines: 343-361
 60.000% (3/5)
132
camellia_ecb_cipher
Name: camellia_ecb_cipher
Prototype: static int camellia_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_camellia.c
Lines: 259-273
 71.429% (5/7)
83
camellia_init_key
Name: camellia_init_key
Prototype: static int camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  87.500% (14/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_camellia.c
Lines: 213-238
 87.500% (14/16)
243
camellia_ofb_cipher
Name: camellia_ofb_cipher
Prototype: static int camellia_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/e_camellia.c
Lines: 275-285
100.000% (1/1)
61
cast5_cbc_cipher
Name: cast5_cbc_cipher
Prototype: static int cast5_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_cast.c
Lines: 28-28
 57.143% (4/7)
13
cast5_cfb64_cipher
Name: cast5_cfb64_cipher
Prototype: static int cast5_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_cast.c
Lines: 28-28
 66.667% (10/15)
15
cast5_ecb_cipher
Name: cast5_ecb_cipher
Prototype: static int cast5_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_cast.c
Lines: 28-28
 71.429% (5/7)
13
cast5_ofb_cipher
Name: cast5_ofb_cipher
Prototype: static int cast5_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_cast.c
Lines: 28-28
 57.143% (4/7)
13
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
...44
Function: X509_get_ext_by_NID
45
Function: X509v3_addr_validate_resource_set
46
Function: aesni_ecb_cipher
47
Function: asn1_print_boolean
4849
Function: cast_init_key
50
Function: cms_DigestedData_create
51
Function: constant_time_lookup_niels
52
Function: custom_exts_copy_flags
...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