OpenCoverage

LibreSSL Portable Test Coverage

Functions

Page:<>1
Function: xsyslog
...10
Function: parse_bag
...20
Function: des_ede3_cfb8_cipher
21
Function: d2i_POLICYINFO
22
Function: d2i_BASIC_CONSTRAINTS
23
Function: cleanup1_doall
24
Function: bn_x931_derive_pi
2526
Function: acpt_new
27
Function: X509_set_subject_name
28
Function: X509_add1_reject_object
29
Function: X509_STORE_CTX_free
30
Function: X509_NAME_get_text_by_NID
...40
Function: PEM_write_X509_AUX
...50
Function: EC_curve_nist2nid
...60
Function: ASN1_OCTET_STRING_cmp
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
asn1_item_combine_free
Name: asn1_item_combine_free
Prototype: static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine)
Coverage:  75.000% (54/72)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_fre.c
Lines: 82-171
 75.000% (54/72)
10124
asn1_item_clear
Name: asn1_item_clear
Prototype: static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage:  23.810% (5/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_new.c
Lines: 211-242
 23.810% (5/21)
239
asn1_i2d_ex_primitive
Name: asn1_i2d_ex_primitive
Prototype: static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass)
Coverage:  80.000% (24/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_enc.c
Lines: 472-529
 80.000% (24/30)
319
asn1_get_length
Name: asn1_get_length
Prototype: static int asn1_get_length(const unsigned char **pp, int *inf, long *rl, int max)
Coverage:  53.571% (15/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 156-194
 53.571% (15/28)
289
asn1_get_field_ptr
Name: asn1_get_field_ptr
Prototype: ASN1_VALUE ** asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_utl.c
Lines: 203-216
100.000% (4/4)
52
asn1_get_enc_ptr
Name: asn1_get_enc_ptr
Prototype: static ASN1_ENCODING * asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage:  72.727% (8/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_utl.c
Lines: 123-134
 72.727% (8/11)
153
asn1_get_choice_selector
Name: asn1_get_choice_selector
Prototype: int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_utl.c
Lines: 75-80
100.000% (1/1)
21
asn1_find_end
Name: asn1_find_end
Prototype: static int asn1_find_end(const unsigned char **in, long len, char inf)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_dec.c
Lines: 934-979
  0.000% (0/23)
448
asn1_ex_i2c
Name: asn1_ex_i2c
Prototype: static int asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype, const ASN1_ITEM *it)
Coverage:  54.430% (43/79)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_enc.c
Lines: 533-652
 54.430% (43/79)
7936
asn1_ex_c2i
Name: asn1_ex_c2i
Prototype: int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it)
Coverage:  53.465% (54/101)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_dec.c
Lines: 789-925
 53.465% (54/101)
10345
asn1_enc_save
Name: asn1_enc_save
Prototype: int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_utl.c
Lines: 163-182
 71.429% (5/7)
123
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
asn1_enc_init
Name: asn1_enc_init
Prototype: void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_utl.c
Lines: 136-147
100.000% (4/4)
102
asn1_enc_free
Name: asn1_enc_free
Prototype: void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_utl.c
Lines: 149-161
100.000% (4/4)
112
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
asn1_do_adb
Name: asn1_do_adb
Prototype: const ASN1_TEMPLATE * asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr)
Coverage:  50.000% (13/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_utl.c
Lines: 222-280
 50.000% (13/26)
2910
asn1_d2i_read_bio
Name: asn1_d2i_read_bio
Prototype: static int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb)
Coverage:  0.000% (0/84)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_d2i_fp.c
Lines: 148-289
  0.000% (0/84)
9426
asn1_d2i_ex_primitive
Name: asn1_d2i_ex_primitive
Prototype: static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, const unsigned char **in, long inlen, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx)
Coverage:  45.205% (33/73)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_dec.c
Lines: 660-785
 45.205% (33/73)
11323
asn1_const_Finish
Name: asn1_const_Finish
Prototype: int asn1_const_Finish(ASN1_const_CTX *c)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 311-315
  0.000% (0/1)
11
asn1_collect
Name: asn1_collect
Prototype: static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len, char inf, int tag, int aclass, int depth)
Coverage:  0.000% (0/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_dec.c
Lines: 995-1050
  0.000% (0/35)
4711
asn1_collate_primitive
Name: asn1_collate_primitive
Prototype: static int asn1_collate_primitive(ASN1_STRING *a, ASN1_const_CTX *c)
Coverage:  0.000% (0/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_bytes.c
Lines: 247-306
  0.000% (0/28)
5311
asn1_check_tlen
Name: asn1_check_tlen
Prototype: static int asn1_check_tlen(long *olen, int *otag, unsigned char *oclass, char *inf, char *cst, const unsigned char **in, long len, int exptag, int expclass, char opt, ASN1_TLC *ctx)
Coverage:  71.186% (42/59)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_dec.c
Lines: 1092-1167
 71.186% (42/59)
5018
asn1_check_eoc
Name: asn1_check_eoc
Prototype: static int asn1_check_eoc(const unsigned char **in, long len)
Coverage:  33.333% (3/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_dec.c
Lines: 1070-1083
 33.333% (3/9)
83
asn1_cb
Name: asn1_cb
Prototype: static int asn1_cb(const char *elem, int len, void *bitstr)
Coverage:  0.000% (0/232)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_gen.c
Lines: 268-371
  0.000% (0/232)
87850
asn1_bio_write
Name: asn1_bio_write
Prototype: static int asn1_bio_write(BIO *b, const char *in , int inl)
Coverage:  0.000% (0/57)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 199-292
  0.000% (0/57)
6720
asn1_bio_setup_ex
Name: asn1_bio_setup_ex
Prototype: static int asn1_bio_setup_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, asn1_ps_func *setup, asn1_bio_state_t ex_state, asn1_bio_state_t other_state)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 322-335
  0.000% (0/10)
73
asn1_bio_set_ex
Name: asn1_bio_set_ex
Prototype: static int asn1_bio_set_ex(BIO *b, int cmd, asn1_ps_func *ex_func, asn1_ps_func *ex_free_func)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 448-457
  0.000% (0/1)
41
asn1_bio_read
Name: asn1_bio_read
Prototype: static int asn1_bio_read(BIO *b, char *in , int inl)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 337-343
  0.000% (0/4)
32
asn1_bio_puts
Name: asn1_bio_puts
Prototype: static int asn1_bio_puts(BIO *b, const char *str)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 345-349
  0.000% (0/1)
11
asn1_bio_new
Name: asn1_bio_new
Prototype: static int asn1_bio_new(BIO *b)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 147-162
  0.000% (0/7)
113
asn1_bio_init
Name: asn1_bio_init
Prototype: static int asn1_bio_init(BIO_ASN1_BUF_CTX *ctx, int size)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 164-181
  0.000% (0/4)
182
asn1_bio_gets
Name: asn1_bio_gets
Prototype: static int asn1_bio_gets(BIO *b, char *str, int size)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 351-357
  0.000% (0/4)
32
asn1_bio_get_ex
Name: asn1_bio_get_ex
Prototype: static int asn1_bio_get_ex(BIO *b, int cmd, asn1_ps_func **ex_func, asn1_ps_func **ex_free_func)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 459-472
  0.000% (0/4)
72
asn1_bio_free
Name: asn1_bio_free
Prototype: static int asn1_bio_free(BIO *b)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 183-197
  0.000% (0/4)
162
asn1_bio_flush_ex
Name: asn1_bio_flush_ex
Prototype: static int asn1_bio_flush_ex(BIO *b, BIO_ASN1_BUF_CTX *ctx, asn1_ps_func *cleanup, asn1_bio_state_t next)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 294-320
  0.000% (0/14)
186
asn1_bio_ctrl
Name: asn1_bio_ctrl
Prototype: static long asn1_bio_ctrl(BIO *b, int cmd, long arg1, void *arg2)
Coverage:  0.000% (0/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 367-446
  0.000% (0/41)
4817
asn1_bio_callback_ctrl
Name: asn1_bio_callback_ctrl
Prototype: static long asn1_bio_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/bio_asn1.c
Lines: 359-365
  0.000% (0/4)
52
asn1_add_error
Name: asn1_add_error
Prototype: void asn1_add_error(const unsigned char *address, int offset)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 458-462
  0.000% (0/1)
11
asn1_GetSequence
Name: asn1_GetSequence
Prototype: int asn1_GetSequence(ASN1_const_CTX *c, long *length)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 317-342
  0.000% (0/15)
185
asn1_Finish
Name: asn1_Finish
Prototype: int asn1_Finish(ASN1_CTX *c)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_lib.c
Lines: 305-309
  0.000% (0/1)
11
arc4random_uniform
Name: arc4random_uniform
Prototype: uint32_t arc4random_uniform(uint32_t upper_bound)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/arc4random_uniform.c
Lines: 32-56
  0.000% (0/8)
94
arc4random_buf
Name: arc4random_buf
Prototype: void arc4random_buf(void *buf, size_t n)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/arc4random.c
Lines: 190-196
100.000% (1/1)
31
arc4random
Name: arc4random
Prototype: uint32_t arc4random(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/arc4random.c
Lines: 179-188
100.000% (1/1)
51
append_ia5
Name: append_ia5
Prototype: static int append_ia5(struct stack_st_OPENSSL_STRING **sk, ASN1_IA5STRING *email)
Coverage:  0.000% (0/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_utl.c
Lines: 599-623
  0.000% (0/32)
538
append_exp
Name: append_exp
Prototype: static int append_exp(tag_exp_arg *arg, int exp_tag, int exp_class, int exp_constructed, int exp_pad, int imp_ok)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn1_gen.c
Lines: 491-526
  0.000% (0/13)
184
ameth_cmp_BSEARCH_CMP_FN
Name: ameth_cmp_BSEARCH_CMP_FN
Prototype: static int ameth_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/ameth_lib.c
Lines: 129-135
100.000% (1/1)
31
ameth_cmp
Name: ameth_cmp
Prototype: static int ameth_cmp(const EVP_PKEY_ASN1_METHOD * const *a, const EVP_PKEY_ASN1_METHOD * const *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/ameth_lib.c
Lines: 121-126
100.000% (1/1)
11
allocate_string_stack
Name: allocate_string_stack
Prototype: static int allocate_string_stack(UI *ui)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ui/ui_lib.c
Lines: 127-137
  0.000% (0/7)
93
alg_get
Name: alg_get
Prototype: static int alg_get(X509_ALGOR *alg, int *pnid, int *piter, int *psaltlen)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_npas.c
Lines: 230-245
  0.000% (0/4)
152
aesni_xts_init_key
Name: aesni_xts_init_key
Prototype: static int aesni_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 318-354
  0.000% (0/16)
215
aesni_init_key
Name: aesni_init_key
Prototype: static int aesni_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 200-233
  0.000% (0/20)
305
aesni_gcm_init_key
Name: aesni_gcm_init_key
Prototype: static int aesni_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 279-312
  0.000% (0/22)
246
aesni_ecb_cipher
Name: aesni_ecb_cipher
Prototype: static int aesni_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 245-257
  0.000% (0/4)
52
aesni_ccm_init_key
Name: aesni_ccm_init_key
Prototype: static int aesni_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 360-381
  0.000% (0/14)
144
aesni_cbc_hmac_sha1_init_key
Name: aesni_cbc_hmac_sha1_init_key
Prototype: static int aesni_cbc_hmac_sha1_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *inkey, const unsigned char *iv, int enc)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes_cbc_hmac_sha1.c
Lines: 101-120
  0.000% (0/7)
102
aesni_cbc_hmac_sha1_ctrl
Name: aesni_cbc_hmac_sha1_ctrl
Prototype: static int aesni_cbc_hmac_sha1_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes_cbc_hmac_sha1.c
Lines: 470-535
  0.000% (0/25)
3910
aesni_cbc_hmac_sha1_cipher
Name: aesni_cbc_hmac_sha1_cipher
Prototype: static int aesni_cbc_hmac_sha1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  0.000% (0/62)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes_cbc_hmac_sha1.c
Lines: 167-468
  0.000% (0/62)
16920
aesni_cbc_cipher
Name: aesni_cbc_cipher
Prototype: static int aesni_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 235-243
  0.000% (0/1)
31
aes_xts_init_key
Name: aes_xts_init_key
Prototype: static int aes_xts_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1102-1167
  0.000% (0/29)
398
aes_xts_ctrl
Name: aes_xts_ctrl
Prototype: static int aes_xts_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1066-1100
  0.000% (0/17)
257
aes_xts_cipher
Name: aes_xts_cipher
Prototype: static int aes_xts_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1169-1187
  0.000% (0/19)
125
aes_ofb_cipher
Name: aes_ofb_cipher
Prototype: static int aes_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/libressl/src/crypto/evp/e_aes.c
Lines: 609-618
100.000% (1/1)
41
aes_init_key
Name: aes_init_key
Prototype: static int aes_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  63.889% (23/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 502-571
 63.889% (23/36)
577
aes_gcm_tls_cipher
Name: aes_gcm_tls_cipher
Prototype: static int aes_gcm_tls_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  0.000% (0/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 922-990
  0.000% (0/40)
3813
aes_gcm_set_key
Name: aes_gcm_set_key
Prototype: static ctr128_f aes_gcm_set_key(AES_KEY *aes_key, GCM128_CONTEXT *gcm_ctx, const unsigned char *key, size_t key_len)
Coverage:  25.000% (2/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 853-880
 25.000% (2/8)
203
aes_gcm_init_key
Name: aes_gcm_init_key
Prototype: static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 882-914
  0.000% (0/22)
226
aes_gcm_ctrl
Name: aes_gcm_ctrl
Prototype: static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr)
Coverage:  0.000% (0/106)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 714-851
  0.000% (0/106)
8632
aes_gcm_cleanup
Name: aes_gcm_cleanup
Prototype: static int aes_gcm_cleanup(EVP_CIPHER_CTX *c)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 686-695
  0.000% (0/4)
52
aes_gcm_cipher
Name: aes_gcm_cipher
Prototype: static int aes_gcm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  0.000% (0/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 992-1052
  0.000% (0/50)
4117
aes_ecb_cipher
Name: aes_ecb_cipher
Prototype: static int aes_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/libressl/src/crypto/evp/e_aes.c
Lines: 592-607
 71.429% (5/7)
83
aes_ctr_cipher
Name: aes_ctr_cipher
Prototype: static int aes_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/libressl/src/crypto/evp/e_aes.c
Lines: 666-680
 60.000% (3/5)
92
aes_cfb_cipher
Name: aes_cfb_cipher
Prototype: static int aes_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/libressl/src/crypto/evp/e_aes.c
Lines: 620-629
100.000% (1/1)
41
aes_cfb8_cipher
Name: aes_cfb8_cipher
Prototype: static int aes_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/libressl/src/crypto/evp/e_aes.c
Lines: 631-640
100.000% (1/1)
41
aes_cfb1_cipher
Name: aes_cfb1_cipher
Prototype: static int aes_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/libressl/src/crypto/evp/e_aes.c
Lines: 642-664
 50.000% (5/10)
134
aes_ccm_init_key
Name: aes_ccm_init_key
Prototype: static int aes_ccm_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1262-1292
  0.000% (0/15)
285
aes_ccm_ctrl
Name: aes_ccm_ctrl
Prototype: static int aes_ccm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr)
Coverage:  0.000% (0/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1198-1260
  0.000% (0/52)
3916
aes_ccm_cipher
Name: aes_ccm_cipher
Prototype: static int aes_ccm_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t len)
Coverage:  0.000% (0/56)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1294-1354
  0.000% (0/56)
4216
aes_cbc_cipher
Name: aes_cbc_cipher
Prototype: static int aes_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/libressl/src/crypto/evp/e_aes.c
Lines: 573-590
 37.500% (3/8)
103
aead_chacha20_poly1305_seal
Name: aead_chacha20_poly1305_seal
Prototype: static int aead_chacha20_poly1305_seal(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t *out_len, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len)
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_chacha20poly1305.c
Lines: 116-177
 38.462% (5/13)
445
aead_chacha20_poly1305_open
Name: aead_chacha20_poly1305_open
Prototype: static int aead_chacha20_poly1305_open(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t *out_len, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len)
Coverage:  50.000% (8/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_chacha20poly1305.c
Lines: 179-247
 50.000% (8/16)
476
aead_chacha20_poly1305_init
Name: aead_chacha20_poly1305_init
Prototype: static int aead_chacha20_poly1305_init(EVP_AEAD_CTX *ctx, const unsigned char *key, size_t key_len, size_t tag_len)
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_chacha20poly1305.c
Lines: 45-72
 53.846% (7/13)
175
aead_chacha20_poly1305_cleanup
Name: aead_chacha20_poly1305_cleanup
Prototype: static void aead_chacha20_poly1305_cleanup(EVP_AEAD_CTX *ctx)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_chacha20poly1305.c
Lines: 74-80
100.000% (1/1)
21
aead_aes_gcm_seal
Name: aead_aes_gcm_seal
Prototype: static int aead_aes_gcm_seal(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t *out_len, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len)
Coverage:  36.842% (7/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1428-1463
 36.842% (7/19)
206
aead_aes_gcm_open
Name: aead_aes_gcm_open
Prototype: static int aead_aes_gcm_open(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t *out_len, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len)
Coverage:  43.478% (10/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1465-1514
 43.478% (10/23)
298
aead_aes_gcm_init
Name: aead_aes_gcm_init
Prototype: static int aead_aes_gcm_init(EVP_AEAD_CTX *ctx, const unsigned char *key, size_t key_len, size_t tag_len)
Coverage:  57.895% (11/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1377-1418
 57.895% (11/19)
256
aead_aes_gcm_cleanup
Name: aead_aes_gcm_cleanup
Prototype: static void aead_aes_gcm_cleanup(EVP_AEAD_CTX *ctx)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/e_aes.c
Lines: 1420-1426
100.000% (1/1)
21
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
added_obj_cmp
Name: added_obj_cmp
Prototype: static int added_obj_cmp(const ADDED_OBJ *ca, const ADDED_OBJ *cb)
Coverage:  0.000% (0/88)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_dat.c
Lines: 176-213
  0.000% (0/88)
36024
added_obj_LHASH_HASH
Name: added_obj_LHASH_HASH
Prototype: static unsigned long added_obj_LHASH_HASH(const void *arg)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_dat.c
Lines: 174-174
100.000% (1/1)
11
added_obj_LHASH_COMP
Name: added_obj_LHASH_COMP
Prototype: static int added_obj_LHASH_COMP(const void *arg1, const void *arg2)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_dat.c
Lines: 214-214
  0.000% (0/1)
11
add_digest_smcap
Name: add_digest_smcap
Prototype: static int add_digest_smcap(struct stack_st_X509_ALGOR *sk, int nid, int arg)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 151-157
 50.000% (2/4)
32
add_client_CA
Name: add_client_CA
Prototype: static int add_client_CA(struct stack_st_X509_NAME **sk, X509 *x)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_cert.c
Lines: 510-528
  0.000% (0/15)
235
add_cipher_smcap
Name: add_cipher_smcap
Prototype: static int add_cipher_smcap(struct stack_st_X509_ALGOR *sk, int nid, int arg)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 143-149
 50.000% (2/4)
32
add_cert_dir
Name: add_cert_dir
Prototype: static int add_cert_dir(BY_DIR *ctx, const char *dir, int type)
Coverage:  21.649% (21/97)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/by_dir.c
Lines: 200-258
 21.649% (21/97)
29421
add_blocks
Name: add_blocks
Prototype: static int add_blocks(int n, unsigned char *left, const unsigned char *right)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/gostr341194.c
Lines: 102-115
100.000% (4/4)
82
add_attribute
Name: add_attribute
Prototype: static int add_attribute(struct stack_st_X509_ATTRIBUTE **sk, int nid, int atrtype, void *value)
Coverage:  50.000% (14/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1204-1242
 50.000% (14/28)
3511
acpt_write
Name: acpt_write
Prototype: static int acpt_write(BIO *b, const char *in, int inl)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_acpt.c
Lines: 308-326
  0.000% (0/7)
133
acpt_state
Name: acpt_state
Prototype: static int acpt_state(BIO *b, BIO_ACCEPT *c)
Coverage:  0.000% (0/58)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_acpt.c
Lines: 193-286
  0.000% (0/58)
7823
acpt_read
Name: acpt_read
Prototype: static int acpt_read(BIO *b, char *out, int outl)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_acpt.c
Lines: 288-306
  0.000% (0/7)
133
acpt_puts
Name: acpt_puts
Prototype: static int acpt_puts(BIO *bp, const char *str)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_acpt.c
Lines: 428-436
  0.000% (0/1)
41
Page:<>1
Function: xsyslog
...10
Function: parse_bag
...20
Function: des_ede3_cfb8_cipher
21
Function: d2i_POLICYINFO
22
Function: d2i_BASIC_CONSTRAINTS
23
Function: cleanup1_doall
24
Function: bn_x931_derive_pi
2526
Function: acpt_new
27
Function: X509_set_subject_name
28
Function: X509_add1_reject_object
29
Function: X509_STORE_CTX_free
30
Function: X509_NAME_get_text_by_NID
...40
Function: PEM_write_X509_AUX
...50
Function: EC_curve_nist2nid
...60
Function: ASN1_OCTET_STRING_cmp

Generated by Squish Coco 4.2.2