OpenCoverage

LibreSSL Portable Test Coverage

Function Tree

Page:<>1
McCabe - Cyclomatic Complexity: 1
...20
McCabe - Cyclomatic Complexity: 1
...30
McCabe - Cyclomatic Complexity: 2
...40
McCabe - Cyclomatic Complexity: 3
...47
McCabe - Cyclomatic Complexity: 5
48
McCabe - Cyclomatic Complexity: 6
49
McCabe - Cyclomatic Complexity: 6
50
McCabe - Cyclomatic Complexity: 7
5152
McCabe - Cyclomatic Complexity: 8
53
McCabe - Cyclomatic Complexity: 9
54
McCabe - Cyclomatic Complexity: 10
55
McCabe - Cyclomatic Complexity: 11
...60
McCabe - Cyclomatic Complexity: 41
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
ssl3_put_cipher_by_char
Name: ssl3_put_cipher_by_char
Prototype: int ssl3_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p)
Coverage:  47.059% (8/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/s3_lib.c
Lines: 2254-2280
 47.059% (8/17)
257
ssl3_send_server_certificate
Name: ssl3_send_server_certificate
Prototype: int ssl3_send_server_certificate(SSL *s)
Coverage:  41.176% (7/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_srvr.c
Lines: 2484-2520
 41.176% (7/17)
207
ssl_check_clienthello_tlsext_early
Name: ssl_check_clienthello_tlsext_early
Prototype: int ssl_check_clienthello_tlsext_early(SSL *s)
Coverage:  55.556% (10/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_lib.c
Lines: 664-696
 55.556% (10/18)
237
ssl_cipher_get_evp_aead
Name: ssl_cipher_get_evp_aead
Prototype: int ssl_cipher_get_evp_aead(const SSL_SESSION *s, const EVP_AEAD **aead)
Coverage:  53.333% (8/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_ciph.c
Lines: 621-647
 53.333% (8/15)
217
ssl_get_handshake_evp_md
Name: ssl_get_handshake_evp_md
Prototype: int ssl_get_handshake_evp_md(SSL *s, const EVP_MD **md)
Coverage:  76.923% (10/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_ciph.c
Lines: 649-675
 76.923% (10/13)
187
ssl_get_sign_pkey
Name: ssl_get_sign_pkey
Prototype: EVP_PKEY * ssl_get_sign_pkey(SSL *s, const SSL_CIPHER *cipher, const EVP_MD **pmd)
Coverage:  42.857% (9/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 2184-2209
 42.857% (9/21)
317
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
streebog_single_block
Name: streebog_single_block
Prototype: static void streebog_single_block(STREEBOG_CTX *ctx, const unsigned char *in, size_t num)
Coverage:  57.143% (12/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/streebog.c
Lines: 1239-1267
 57.143% (12/21)
177
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
tls1_handshake_hash_init
Name: tls1_handshake_hash_init
Prototype: int tls1_handshake_hash_init(SSL *s)
Coverage:  35.294% (6/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_hash.c
Lines: 22-61
 35.294% (6/17)
297
tls1_handshake_hash_value
Name: tls1_handshake_hash_value
Prototype: int tls1_handshake_hash_value(SSL *s, const unsigned char *out, size_t len, size_t *outlen)
Coverage:  52.941% (9/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_hash.c
Lines: 72-104
 52.941% (9/17)
277
tls_configure_server_sni
Name: tls_configure_server_sni
Prototype: static int tls_configure_server_sni(struct tls *ctx)
Coverage:  11.765% (2/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_server.c
Lines: 297-326
 11.765% (2/17)
257
tls_get_peer_cert_info
Name: tls_get_peer_cert_info
Prototype: static int tls_get_peer_cert_info(struct tls *ctx)
Coverage:  47.059% (8/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_conninfo.c
Lines: 139-159
 47.059% (8/17)
157
tls_ocsp_get_certid
Name: tls_ocsp_get_certid
Prototype: static OCSP_CERTID * tls_ocsp_get_certid(X509 *main_cert, struct stack_st_X509 *extra_certs, SSL_CTX *ssl_ctx)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 124-155
  0.000% (0/19)
547
tls_ocsp_setup_from_peer
Name: tls_ocsp_setup_from_peer
Prototype: struct tls_ocsp * tls_ocsp_setup_from_peer(struct tls *ctx)
Coverage:  30.435% (7/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 157-193
 30.435% (7/23)
747
tls_ocsp_stapling_cb
Name: tls_ocsp_stapling_cb
Prototype: int tls_ocsp_stapling_cb(SSL *ssl, void *arg)
Coverage:  19.048% (4/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 330-360
 19.048% (4/21)
357
tls_server_ticket_key
Name: tls_server_ticket_key
Prototype: static struct tls_ticket_key * tls_server_ticket_key(struct tls_config *config, unsigned char *keyname)
Coverage:  0.000% (0/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_server.c
Lines: 138-164
  0.000% (0/21)
347
unknown_ext_print
Name: unknown_ext_print
Prototype: static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int supported)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_prn.c
Lines: 189-211
  0.000% (0/14)
117
v3_generic_extension
Name: v3_generic_extension
Prototype: static X509_EXTENSION * v3_generic_extension(const char *ext, const char *value, int crit, int gen_type, X509V3_CTX *ctx)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_conf.c
Lines: 277-324
  0.000% (0/18)
567
x509_name_ex_new
Name: x509_name_ex_new
Prototype: static int x509_name_ex_new(ASN1_VALUE **val, const ASN1_ITEM *it)
Coverage:  23.529% (4/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_name.c
Lines: 241-267
 23.529% (4/17)
317
x509_object_idx_cnt
Name: x509_object_idx_cnt
Prototype: static int x509_object_idx_cnt(struct stack_st_X509_OBJECT *h, int type, X509_NAME *name, int *pnmatch)
Coverage:  33.333% (6/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_lu.c
Lines: 478-520
 33.333% (6/18)
297
AES_unwrap_key
Name: AES_unwrap_key
Prototype: int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen)
Coverage:  59.091% (13/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_wrap.c
Lines: 97-133
 59.091% (13/22)
288
ASN1_BIT_STRING_set_bit
Name: ASN1_BIT_STRING_set_bit
Prototype: int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value)
Coverage:  0.000% (0/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_bitstr.c
Lines: 193-227
  0.000% (0/26)
328
ASN1_ENUMERATED_get
Name: ASN1_ENUMERATED_get
Prototype: long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_enum.c
Lines: 106-134
  0.000% (0/22)
238
ASN1_INTEGER_get
Name: ASN1_INTEGER_get
Prototype: long ASN1_INTEGER_get(const ASN1_INTEGER *a)
Coverage:  54.545% (12/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_int.c
Lines: 378-406
 54.545% (12/22)
238
ASN1_PRINTABLE_type
Name: ASN1_PRINTABLE_type
Prototype: int ASN1_PRINTABLE_type(const unsigned char *s, int len)
Coverage:  0.000% (0/60)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_print.c
Lines: 63-96
  0.000% (0/60)
298
ASN1_STRING_print
Name: ASN1_STRING_print
Prototype: int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v)
Coverage:  0.000% (0/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/t_x509.c
Lines: 349-377
  0.000% (0/28)
238
ASN1_TYPE_get_int_octetstring
Name: ASN1_TYPE_get_int_octetstring
Prototype: int ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *at, long *num, unsigned char *data, int max_len)
Coverage:  59.091% (13/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/evp_asn1.c
Lines: 164-197
 59.091% (13/22)
328
ASN1_TYPE_set_int_octetstring
Name: ASN1_TYPE_set_int_octetstring
Prototype: int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *at, long num, unsigned char *data, int len)
Coverage:  40.000% (8/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/evp_asn1.c
Lines: 129-162
 40.000% (8/20)
428
ASN1_item_pack
Name: ASN1_item_pack
Prototype: ASN1_STRING * ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct)
Coverage:  28.000% (7/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn_pack.c
Lines: 170-201
 28.000% (7/25)
328
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_GF2m_poly2arr
Name: BN_GF2m_poly2arr
Prototype: int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max)
Coverage:  81.818% (18/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_gf2m.c
Lines: 1270-1300
 81.818% (18/22)
188
BN_add_word
Name: BN_add_word
Prototype: int BN_add_word(BIGNUM *a, unsigned long w)
Coverage:  50.000% (15/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_word.c
Lines: 141-176
 50.000% (15/30)
248
BN_bn2hex
Name: BN_bn2hex
Prototype: char * BN_bn2hex(const BIGNUM *a)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_print.c
Lines: 74-106
  0.000% (0/22)
238
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
BN_num_bits_word
Name: BN_num_bits_word
Prototype: int BN_num_bits_word(unsigned long l)
Coverage: 100.000% (22/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_lib.c
Lines: 151-201
100.000% (22/22)
158
BN_print
Name: BN_print
Prototype: int BN_print(BIO *bp, const BIGNUM *a)
Coverage:  76.923% (20/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_print.c
Lines: 366-391
 76.923% (20/26)
158
BN_usub
Name: BN_usub
Prototype: int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
Coverage:  84.000% (21/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_add.c
Lines: 146-191
 84.000% (21/25)
318
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
CBB_add_asn1_uint64
Name: CBB_add_asn1_uint64
Prototype: int CBB_add_asn1_uint64(CBB *cbb, uint64_t value)
Coverage:  69.231% (18/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbb.c
Lines: 417-468
 69.231% (18/26)
188
CMAC_Final
Name: CMAC_Final
Prototype: int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cmac/cmac.c
Lines: 239-267
  0.000% (0/23)
208
CONF_modules_load_file
Name: CONF_modules_load_file
Prototype: int CONF_modules_load_file(const char *filename, const char *appname, unsigned long flags)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/conf/conf_mod.c
Lines: 162-198
  0.000% (0/23)
438
CRYPTO_ccm128_decrypt
Name: CRYPTO_ccm128_decrypt
Prototype: int CRYPTO_ccm128_decrypt(CCM128_CONTEXT *ctx, const unsigned char *inp, unsigned char *out, size_t len)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/ccm128.c
Lines: 245-309
  0.000% (0/22)
368
CRYPTO_xts128_encrypt
Name: CRYPTO_xts128_encrypt
Prototype: int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx, const unsigned char iv[16], const unsigned char *inp, unsigned char *out, size_t len, int enc)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/xts128.c
Lines: 62-185
  0.000% (0/25)
518
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
EC_POINT_bn2point
Name: EC_POINT_bn2point
Prototype: EC_POINT * EC_POINT_bn2point(const EC_GROUP * group, const BIGNUM * bn, EC_POINT * point, BN_CTX * ctx)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_print.c
Lines: 85-119
  0.000% (0/23)
518
EVP_PKEY_asn1_find_str
Name: EVP_PKEY_asn1_find_str
Prototype: const EVP_PKEY_ASN1_METHOD * EVP_PKEY_asn1_find_str(ENGINE **pe, const char *str, int len)
Coverage:  62.500% (15/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/ameth_lib.c
Lines: 216-249
 62.500% (15/24)
348
EVP_read_pw_string_min
Name: EVP_read_pw_string_min
Prototype: int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, int verify)
Coverage:  0.000% (0/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/evp_key.c
Lines: 96-125
  0.000% (0/26)
428
OBJ_add_sigid
Name: OBJ_add_sigid
Prototype: int OBJ_add_sigid(int signid, int dig_id, int pkey_id)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_xref.c
Lines: 186-218
  0.000% (0/22)
278
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
OCSP_response_create
Name: OCSP_response_create
Prototype: OCSP_RESPONSE * OCSP_response_create(int status, OCSP_BASICRESP *bs)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ocsp/ocsp_srv.c
Lines: 116-139
  0.000% (0/20)
258
OCSP_sendreq_new
Name: OCSP_sendreq_new
Prototype: OCSP_REQ_CTX * OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req, int maxline)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ocsp/ocsp_ht.c
Lines: 151-194
  0.000% (0/25)
558
OCSP_single_get0_status
Name: OCSP_single_get0_status
Prototype: int OCSP_single_get0_status(OCSP_SINGLERESP *single, int *reason, ASN1_GENERALIZEDTIME **revtime, ASN1_GENERALIZEDTIME **thisupd, ASN1_GENERALIZEDTIME **nextupd)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ocsp/ocsp_cl.c
Lines: 263-293
  0.000% (0/22)
208
OPENSSL_asc2uni
Name: OPENSSL_asc2uni
Prototype: unsigned char * OPENSSL_asc2uni(const char *asc, int asclen, unsigned char **uni, int *unilen)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_utl.c
Lines: 67-100
  0.000% (0/23)
428
PEM_def_callback
Name: PEM_def_callback
Prototype: int PEM_def_callback(char *buf, int num, int w, void *key)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pem/pem_lib.c
Lines: 90-128
  0.000% (0/20)
338
PEM_do_header
Name: PEM_do_header
Prototype: int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen, pem_password_cb *callback, void *u)
Coverage:  8.696% (2/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pem/pem_lib.c
Lines: 431-474
  8.696% (2/23)
458
PEM_read_bio_Parameters
Name: PEM_read_bio_Parameters
Prototype: EVP_PKEY * PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x)
Coverage:  45.833% (11/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pem/pem_pkey.c
Lines: 166-204
 45.833% (11/24)
588
PKCS12_gen_mac
Name: PKCS12_gen_mac
Prototype: int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *mac, unsigned int *maclen)
Coverage:  0.000% (0/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_mutl.c
Lines: 72-118
  0.000% (0/26)
398
PKCS12_pbe_crypt
Name: PKCS12_pbe_crypt
Prototype: unsigned char * PKCS12_pbe_crypt(const X509_ALGOR *algor, const char *pass, int passlen, const unsigned char *in, int inlen, unsigned char **data, int *datalen, int en_de)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_decr.c
Lines: 69-116
  0.000% (0/20)
428
PKCS1_MGF1
Name: PKCS1_MGF1
Prototype: int PKCS1_MGF1(unsigned char *mask, long len, const unsigned char *seed, long seedlen, const EVP_MD *dgst)
Coverage:  58.333% (14/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_oaep.c
Lines: 190-229
 58.333% (14/24)
428
PKCS5_v2_PBE_keyivgen
Name: PKCS5_v2_PBE_keyivgen
Prototype: int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *c, const EVP_MD *md, int en_de)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/p5_crpt2.c
Lines: 165-219
  0.000% (0/24)
568
PKCS7_RECIP_INFO_set
Name: PKCS7_RECIP_INFO_set
Prototype: int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509)
Coverage:  37.500% (9/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 524-568
 37.500% (9/24)
338
PKCS7_SIGNER_INFO_set
Name: PKCS7_SIGNER_INFO_set
Prototype: int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst)
Coverage:  31.818% (7/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 360-402
 31.818% (7/22)
288
PKCS7_ctrl
Name: PKCS7_ctrl
Prototype: long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg)
Coverage:  65.385% (17/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 67-109
 65.385% (17/26)
298
PKCS7_simple_smimecap
Name: PKCS7_simple_smimecap
Prototype: int PKCS7_simple_smimecap(struct stack_st_X509_ALGOR *sk, int nid, int arg)
Coverage:  45.000% (9/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_attr.c
Lines: 99-132
 45.000% (9/20)
238
PKCS7_type_is_other
Name: PKCS7_type_is_other
Prototype: static int PKCS7_type_is_other(PKCS7* p7)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 72-94
  0.000% (0/10)
78
RC2_set_key
Name: RC2_set_key
Prototype: void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits)
Coverage:  81.818% (18/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rc2/rc2_skey.c
Lines: 94-138
 81.818% (18/22)
278
RSA_new_method
Name: RSA_new_method
Prototype: RSA * RSA_new_method(ENGINE *engine)
Coverage:  32.000% (8/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_lib.c
Lines: 126-193
 32.000% (8/25)
1278
RSA_padding_check_PKCS1_type_1
Name: RSA_padding_check_PKCS1_type_1
Prototype: int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, const unsigned char *from, int flen, int num)
Coverage:  50.000% (12/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_pk1.c
Lines: 94-141
 50.000% (12/24)
288
RSA_padding_check_X931
Name: RSA_padding_check_X931
Prototype: int RSA_padding_check_X931(unsigned char *to, int tlen, const unsigned char *from, int flen, int num)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_x931.c
Lines: 104-145
  0.000% (0/29)
248
RSA_sign
Name: RSA_sign
Prototype: int RSA_sign(int type, const unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, RSA *rsa)
Coverage:  47.826% (11/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_sign.c
Lines: 123-166
 47.826% (11/23)
348
SHA512_Final
Name: SHA512_Final
Prototype: int SHA512_Final (unsigned char *md, SHA512_CTX *c)
Coverage:  78.947% (15/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/sha/sha512.c
Lines: 97-173
 78.947% (15/19)
518
SHA512_Update
Name: SHA512_Update
Prototype: int SHA512_Update (SHA512_CTX *c, const void *_data, size_t len)
Coverage:  77.273% (17/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/sha/sha512.c
Lines: 178-227
 77.273% (17/22)
238
SMIME_crlf_copy
Name: SMIME_crlf_copy
Prototype: int SMIME_crlf_copy(BIO *in, BIO *out, int flags)
Coverage:  56.522% (13/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn_mime.c
Lines: 532-566
 56.522% (13/23)
278
SSL_free
Name: SSL_free
Prototype: void SSL_free(SSL *s)
Coverage:  81.818% (18/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_lib.c
Lines: 494-565
 81.818% (18/22)
528
TS_CONF_load_certs
Name: TS_CONF_load_certs
Prototype: struct stack_st_X509 * TS_CONF_load_certs(const char *file)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_conf.c
Lines: 114-146
  0.000% (0/20)
608
TS_CONF_set_digests
Name: TS_CONF_set_digests
Prototype: int TS_CONF_set_digests(CONF *conf, const char *section, TS_RESP_CTX *ctx)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_conf.c
Lines: 391-428
  0.000% (0/22)
298
TS_check_signing_certs
Name: TS_check_signing_certs
Prototype: static int TS_check_signing_certs(PKCS7_SIGNER_INFO *si, struct stack_st_X509 *chain)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_verify.c
Lines: 269-303
  0.000% (0/20)
258
WHIRLPOOL_Final
Name: WHIRLPOOL_Final
Prototype: int WHIRLPOOL_Final (unsigned char *md,WHIRLPOOL_CTX *c)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/whrlpool/wp_dgst.c
Lines: 217-254
  0.000% (0/22)
268
X509V3_NAME_from_section
Name: X509V3_NAME_from_section
Prototype: int X509V3_NAME_from_section(X509_NAME *nm, struct stack_st_CONF_VALUE*dn_sk, unsigned long chtype)
Coverage:  0.000% (0/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_utl.c
Lines: 1308-1342
  0.000% (0/26)
228
X509V3_extensions_print
Name: X509V3_extensions_print
Prototype: int X509V3_extensions_print(BIO *bp, const char *title, const struct stack_st_X509_EXTENSION *exts, unsigned long flag, int indent)
Coverage:  58.333% (14/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_prn.c
Lines: 154-187
 58.333% (14/24)
238
X509_ATTRIBUTE_create
Name: X509_ATTRIBUTE_create
Prototype: X509_ATTRIBUTE * X509_ATTRIBUTE_create(int nid, int atrtype, void *value)
Coverage:  25.000% (5/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_attrib.c
Lines: 172-198
 25.000% (5/20)
458
X509_ATTRIBUTE_create_by_OBJ
Name: X509_ATTRIBUTE_create_by_OBJ
Prototype: X509_ATTRIBUTE * X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr, const ASN1_OBJECT *obj, int atrtype, const void *data, int len)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_att.c
Lines: 243-270
  0.000% (0/27)
468
X509_CRL_print
Name: X509_CRL_print
Prototype: int X509_CRL_print(BIO *out, X509_CRL *x)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/t_crl.c
Lines: 84-140
  0.000% (0/22)
528
X509_NAME_ENTRY_create_by_OBJ
Name: X509_NAME_ENTRY_create_by_OBJ
Prototype: X509_NAME_ENTRY * X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len)
Coverage:  25.926% (7/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509name.c
Lines: 329-354
 25.926% (7/27)
458
X509_STORE_load_locations
Name: X509_STORE_load_locations
Prototype: int X509_STORE_load_locations(X509_STORE *ctx, const char *file, const char *path)
Coverage:  45.833% (11/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_d2.c
Lines: 87-109
 45.833% (11/24)
408
X509_VERIFY_PARAM_set1_policies
Name: X509_VERIFY_PARAM_set1_policies
Prototype: int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param, struct stack_st_ASN1_OBJECT *policies)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vpm.c
Lines: 473-506
  0.000% (0/22)
268
X509_check_akid
Name: X509_check_akid
Prototype: int X509_check_akid(X509 *issuer, AUTHORITY_KEYID *akid)
Coverage:  23.333% (7/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_purp.c
Lines: 856-893
 23.333% (7/30)
268
X509_get_pubkey_parameters
Name: X509_get_pubkey_parameters
Prototype: int X509_get_pubkey_parameters(EVP_PKEY *pkey, struct stack_st_X509 *chain)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vfy.c
Lines: 1949-1987
  0.000% (0/24)
428
X509_signature_print
Name: X509_signature_print
Prototype: int X509_signature_print(BIO *bp, const X509_ALGOR *sigalg, const ASN1_STRING *sig)
Coverage:  29.167% (7/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/t_x509.c
Lines: 323-347
 29.167% (7/24)
228
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
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
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
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
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/libressl/src/crypto/bio/bss_bio.c
Lines: 330-400
 77.778% (21/27)
568
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
cbb_buffer_add
Name: cbb_buffer_add
Prototype: static int cbb_buffer_add(struct cbb_buffer_st *base, uint8_t **out, size_t len)
Coverage:  70.833% (17/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbb.c
Lines: 93-129
 70.833% (17/24)
268
check_delta_base
Name: check_delta_base
Prototype: static int check_delta_base(X509_CRL *delta, X509_CRL *base)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vfy.c
Lines: 1123-1148
  0.000% (0/22)
168
check_trust
Name: check_trust
Prototype: static int check_trust(X509_STORE_CTX *ctx)
Coverage:  40.909% (9/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vfy.c
Lines: 824-876
 40.909% (9/22)
338
copy_issuer
Name: copy_issuer
Prototype: static int copy_issuer(X509V3_CTX *ctx, GENERAL_NAMES *gens)
Coverage:  0.000% (0/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_alt.c
Lines: 310-347
  0.000% (0/26)
248
Page:<>1
McCabe - Cyclomatic Complexity: 1
...20
McCabe - Cyclomatic Complexity: 1
...30
McCabe - Cyclomatic Complexity: 2
...40
McCabe - Cyclomatic Complexity: 3
...47
McCabe - Cyclomatic Complexity: 5
48
McCabe - Cyclomatic Complexity: 6
49
McCabe - Cyclomatic Complexity: 6
50
McCabe - Cyclomatic Complexity: 7
5152
McCabe - Cyclomatic Complexity: 8
53
McCabe - Cyclomatic Complexity: 9
54
McCabe - Cyclomatic Complexity: 10
55
McCabe - Cyclomatic Complexity: 11
...60
McCabe - Cyclomatic Complexity: 41

Generated by Squish Coco 4.2.2