OpenCoverage

LibreSSL Portable Test Coverage

Function Tree

Page:<>1
eLOC - Effective Lines of Code: 1
...20
eLOC - Effective Lines of Code: 2
...30
eLOC - Effective Lines of Code: 6
...40
eLOC - Effective Lines of Code: 13
...50
eLOC - Effective Lines of Code: 31
...52
eLOC - Effective Lines of Code: 37
53
eLOC - Effective Lines of Code: 42
54
eLOC - Effective Lines of Code: 47
55
eLOC - Effective Lines of Code: 53
5657
eLOC - Effective Lines of Code: 76
58
eLOC - Effective Lines of Code: 95
59
eLOC - Effective Lines of Code: 130
60
eLOC - Effective Lines of Code: 287
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
ec_GF2m_simple_mul
Name: ec_GF2m_simple_mul
Prototype: int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
Coverage:  0.000% (0/59)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec2_mult.c
Lines: 374-437
  0.000% (0/59)
6219
enc_read
Name: enc_read
Prototype: static int enc_read(BIO *b, char *out, int outl)
Coverage:  57.778% (26/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/bio_enc.c
Lines: 145-229
 57.778% (26/45)
6213
BF_cbc_encrypt
Name: BF_cbc_encrypt
Prototype: void BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int encrypt)
Coverage:  63.265% (31/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bf/bf_enc.c
Lines: 224-304
 63.265% (31/49)
6322
CAST_cbc_encrypt
Name: CAST_cbc_encrypt
Prototype: void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, const CAST_KEY *ks, unsigned char *iv, int enc)
Coverage:  26.531% (13/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cast/c_enc.c
Lines: 130-210
 26.531% (13/49)
6322
HMAC_Init_ex
Name: HMAC_Init_ex
Prototype: int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, ENGINE *impl)
Coverage:  68.116% (47/69)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/hmac/hmac.c
Lines: 66-133
 68.116% (47/69)
6321
PKCS7_SIGNER_INFO_sign
Name: PKCS7_SIGNER_INFO_sign
Prototype: int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si)
Coverage:  34.483% (10/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 857-913
 34.483% (10/29)
6311
RSA_padding_check_PKCS1_OAEP
Name: RSA_padding_check_PKCS1_OAEP
Prototype: int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, const unsigned char *from, int flen, int num, const unsigned char *param, int plen)
Coverage:  63.043% (29/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_oaep.c
Lines: 94-188
 63.043% (29/46)
6316
dsa_builtin_keygen
Name: dsa_builtin_keygen
Prototype: static int dsa_builtin_keygen(DSA *dsa)
Coverage:  44.737% (17/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_key.c
Lines: 80-127
 44.737% (17/38)
6312
md4_block_data_order
Name: md4_block_data_order
Prototype: void md4_block_data_order (MD4_CTX *c, const void *data_, size_t num)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/md4/md4_dgst.c
Lines: 86-166
100.000% (4/4)
632
ssl3_get_client_kex_gost
Name: ssl3_get_client_kex_gost
Prototype: static int ssl3_get_client_kex_gost(SSL *s, CBS *cbs)
Coverage:  0.000% (0/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_srvr.c
Lines: 1977-2048
  0.000% (0/35)
6314
tls_client_read_session
Name: tls_client_read_session
Prototype: static int tls_client_read_session(struct tls *ctx)
Coverage:  0.000% (0/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_client.c
Lines: 166-222
  0.000% (0/31)
6311
CRYPTO_cfb128_encrypt
Name: CRYPTO_cfb128_encrypt
Prototype: void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], int *num, int enc, block128_f block)
Coverage:  55.172% (32/58)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/cfb128.c
Lines: 66-169
 55.172% (32/58)
6418
GOST_KEY_set_public_key_affine_coordinates
Name: GOST_KEY_set_public_key_affine_coordinates
Prototype: int GOST_KEY_set_public_key_affine_coordinates(GOST_KEY *key, BIGNUM *x, BIGNUM *y)
Coverage:  0.000% (0/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/gostr341001_key.c
Lines: 180-231
  0.000% (0/40)
6412
OBJ_add_object
Name: OBJ_add_object
Prototype: int OBJ_add_object(const ASN1_OBJECT *obj)
Coverage:  42.500% (17/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/objects/obj_dat.c
Lines: 292-338
 42.500% (17/40)
6416
dtls1_get_message_fragment
Name: dtls1_get_message_fragment
Prototype: static long dtls1_get_message_fragment(SSL *s, int st1, int stn, long max, int *ok)
Coverage:  49.180% (30/61)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_both.c
Lines: 765-889
 49.180% (30/61)
6416
file_ctrl
Name: file_ctrl
Prototype: static long file_ctrl(BIO *b, int cmd, long num, void *ptr)
Coverage:  35.849% (19/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_file.c
Lines: 209-293
 35.849% (19/53)
6425
ssl3_get_server_kex_ecdhe_ecp
Name: ssl3_get_server_kex_ecdhe_ecp
Prototype: static int ssl3_get_server_kex_ecdhe_ecp(SSL *s, SESS_CERT *sc, int nid, CBS *public)
Coverage:  42.105% (8/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_clnt.c
Lines: 1262-1318
 42.105% (8/19)
647
EC_GROUP_copy
Name: EC_GROUP_copy
Prototype: int EC_GROUP_copy(EC_GROUP * dest, const EC_GROUP * src)
Coverage:  53.333% (24/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 159-225
 53.333% (24/45)
6515
PKCS5_PBKDF2_HMAC
Name: PKCS5_PBKDF2_HMAC
Prototype: int PKCS5_PBKDF2_HMAC(const char *pass, int passlen, const unsigned char *salt, int saltlen, int iter, const EVP_MD *digest, int keylen, unsigned char *out)
Coverage:  56.818% (25/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/p5_crpt2.c
Lines: 80-150
 56.818% (25/44)
6513
SSL_alert_desc_string
Name: SSL_alert_desc_string
Prototype: const char * SSL_alert_desc_string(int value)
Coverage:  0.000% (0/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_stat.c
Lines: 575-676
  0.000% (0/63)
6532
SSL_alert_desc_string_long
Name: SSL_alert_desc_string_long
Prototype: const char * SSL_alert_desc_string_long(int value)
Coverage:  0.000% (0/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_stat.c
Lines: 678-779
  0.000% (0/63)
6532
d2i_PrivateKey
Name: d2i_PrivateKey
Prototype: EVP_PKEY * d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length)
Coverage:  24.242% (8/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/d2i_pr.c
Lines: 76-122
 24.242% (8/33)
6510
dsa_pub_decode
Name: dsa_pub_decode
Prototype: static int dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey)
Coverage:  24.138% (7/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_ameth.c
Lines: 72-127
 24.138% (7/29)
6510
fe_tobytes
Name: fe_tobytes
Prototype: static void fe_tobytes(uint8_t *s, const fe h)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/curve25519/curve25519.c
Lines: 128-206
100.000% (1/1)
651
parse_http_line1
Name: parse_http_line1
Prototype: static int parse_http_line1(char *line)
Coverage:  0.000% (0/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ocsp/ocsp_ht.c
Lines: 200-260
  0.000% (0/46)
6513
recallocarray
Name: recallocarray
Prototype: void * recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size)
Coverage:  32.432% (12/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/recallocarray.c
Lines: 30-80
 32.432% (12/37)
658
EC_GROUP_cmp
Name: EC_GROUP_cmp
Prototype: int EC_GROUP_cmp(const EC_GROUP * a, const EC_GROUP * b, BN_CTX * ctx)
Coverage:  0.000% (0/78)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_lib.c
Lines: 462-534
  0.000% (0/78)
6620
EVP_DigestInit_ex
Name: EVP_DigestInit_ex
Prototype: int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl)
Coverage:  46.032% (29/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/digest.c
Lines: 132-211
 46.032% (29/63)
6616
X509_STORE_CTX_init
Name: X509_STORE_CTX_init
Prototype: int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, struct stack_st_X509 *chain)
Coverage:  51.807% (43/83)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vfy.c
Lines: 2195-2314
 51.807% (43/83)
6617
_rs_allocate
Name: _rs_allocate
Prototype: static __inline int _rs_allocate(struct _rs **rsp, struct _rsx **rsxp)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/arc4random_linux.h
Lines: 72-88
 42.857% (3/7)
663
check_crl
Name: check_crl
Prototype: static int check_crl(X509_STORE_CTX *ctx, X509_CRL *crl)
Coverage:  0.000% (0/68)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vfy.c
Lines: 1528-1627
  0.000% (0/68)
6623
do_dh_print
Name: do_dh_print
Prototype: static int do_dh_print(BIO *bp, const DH *x, int indent, ASN1_PCTX *ctx, int ptype)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dh/dh_ameth.c
Lines: 310-381
  0.000% (0/44)
6615
gf2m_Mxy
Name: gf2m_Mxy
Prototype: static int gf2m_Mxy(const EC_GROUP *group, const BIGNUM *x, const BIGNUM *y, BIGNUM *x1, BIGNUM *z1, BIGNUM *x2, BIGNUM *z2, BN_CTX *ctx)
Coverage:  0.000% (0/80)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec2_mult.c
Lines: 173-250
  0.000% (0/80)
6628
BN_dec2bn
Name: BN_dec2bn
Prototype: int BN_dec2bn(BIGNUM **bn, const char *a)
Coverage:  0.000% (0/51)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_print.c
Lines: 266-330
  0.000% (0/51)
6717
EC_GROUP_check
Name: EC_GROUP_check
Prototype: int EC_GROUP_check(const EC_GROUP * group, BN_CTX * ctx)
Coverage:  42.105% (16/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_check.c
Lines: 59-115
 42.105% (16/38)
6714
PKCS7_set_type
Name: PKCS7_set_type
Prototype: int PKCS7_set_type(PKCS7 *p7, int type)
Coverage:  24.490% (12/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 160-228
 24.490% (12/49)
6720
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
do_ext_nconf
Name: do_ext_nconf
Prototype: static X509_EXTENSION * do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, const char *value)
Coverage:  0.000% (0/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_conf.c
Lines: 124-181
  0.000% (0/42)
6713
ec_GF2m_simple_set_compressed_coordinates
Name: ec_GF2m_simple_set_compressed_coordinates
Prototype: int ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx)
Coverage:  0.000% (0/69)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec2_oct.c
Lines: 93-164
  0.000% (0/69)
6721
int_ctrl_helper
Name: int_ctrl_helper
Prototype: static int int_ctrl_helper(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
Coverage:  0.000% (0/62)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/engine/eng_ctrl.c
Lines: 109-190
  0.000% (0/62)
6720
ssl3_send_server_kex_dhe
Name: ssl3_send_server_kex_dhe
Prototype: static int ssl3_send_server_kex_dhe(SSL *s, CBB *cbb)
Coverage:  41.176% (21/51)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_srvr.c
Lines: 1273-1347
 41.176% (21/51)
6718
tls1_setup_key_block
Name: tls1_setup_key_block
Prototype: int tls1_setup_key_block(SSL *s)
Coverage:  59.459% (22/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_enc.c
Lines: 633-709
 59.459% (22/37)
6712
tlsext_ocsp_clienthello_parse
Name: tlsext_ocsp_clienthello_parse
Prototype: int tlsext_ocsp_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  23.404% (11/47)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 766-838
 23.404% (11/47)
6717
ASN1_item_verify
Name: ASN1_item_verify
Prototype: int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *a, ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey)
Coverage:  32.558% (14/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_verify.c
Lines: 74-167
 32.558% (14/43)
6814
Gost2814789_cfb64_encrypt
Name: Gost2814789_cfb64_encrypt
Prototype: void Gost2814789_cfb64_encrypt(const unsigned char *in, unsigned char *out, size_t len, GOST2814789_KEY *key, unsigned char *ivec, int *num, const int enc)
Coverage:  27.586% (16/58)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/gost2814789.c
Lines: 207-319
 27.586% (16/58)
6818
PKCS5_pbkdf2_set
Name: PKCS5_pbkdf2_set
Prototype: X509_ALGOR * PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, int prf_nid, int keylen)
Coverage:  0.000% (0/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/p5_pbev2.c
Lines: 294-372
  0.000% (0/50)
6817
SSL_SESSION_new
Name: SSL_SESSION_new
Prototype: SSL_SESSION * SSL_SESSION_new(void)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_sess.c
Lines: 197-233
 40.000% (4/10)
684
TS_RESP_verify_signature
Name: TS_RESP_verify_signature
Prototype: int TS_RESP_verify_signature(PKCS7 *token, struct stack_st_X509 *certs, X509_STORE *store, X509 **signer_out)
Coverage:  0.000% (0/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_verify.c
Lines: 143-226
  0.000% (0/36)
6812
TS_TST_INFO_print_bio
Name: TS_TST_INFO_print_bio
Prototype: int TS_TST_INFO_print_bio(BIO *bio, TS_TST_INFO *a)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_rsp_print.c
Lines: 195-275
  0.000% (0/23)
687
WHIRLPOOL_BitUpdate
Name: WHIRLPOOL_BitUpdate
Prototype: void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c,const void *_inp,size_t bits)
Coverage:  0.000% (0/60)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/whrlpool/wp_dgst.c
Lines: 86-215
  0.000% (0/60)
6818
bio_read
Name: bio_read
Prototype: static int bio_read(BIO *bio, char *buf, int size_)
Coverage:  80.556% (29/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bio/bss_bio.c
Lines: 171-249
 80.556% (29/36)
6811
cbs_convert_indefinite
Name: cbs_convert_indefinite
Prototype: static int cbs_convert_indefinite(CBS *in, CBB *out, char squash_header, char looking_for_eoc, unsigned int depth)
Coverage:  60.000% (45/75)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_ber.c
Lines: 120-240
 60.000% (45/75)
6822
CMAC_Init
Name: CMAC_Init
Prototype: int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, const EVP_CIPHER *cipher, ENGINE *impl)
Coverage:  0.000% (0/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/cmac/cmac.c
Lines: 151-195
  0.000% (0/39)
6911
SSL_SESSION_print
Name: SSL_SESSION_print
Prototype: int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
Coverage:  0.000% (0/90)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_txt.c
Lines: 108-187
  0.000% (0/90)
6931
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:  43.750% (14/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_bitstr.c
Lines: 129-191
 43.750% (14/32)
6910
dh_builtin_genparams
Name: dh_builtin_genparams
Prototype: static int dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb)
Coverage:  39.062% (25/64)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dh/dh_gen.c
Lines: 107-179
 39.062% (25/64)
6921
v2i_crld
Name: v2i_crld
Prototype: static void * v2i_crld(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, struct stack_st_CONF_VALUE *nval)
Coverage:  0.000% (0/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_crld.c
Lines: 305-363
  0.000% (0/39)
6915
ASN1_TIME_adj_internal
Name: ASN1_TIME_adj_internal
Prototype: static ASN1_TIME * ASN1_TIME_adj_internal(ASN1_TIME *s, time_t t, int offset_day, long offset_sec, int mode)
Coverage:  57.895% (22/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_time_tm.c
Lines: 256-315
 57.895% (22/38)
7015
bn_sqr_comba8
Name: bn_sqr_comba8
Prototype: void bn_sqr_comba8(unsigned long *r, const unsigned long *a)
Coverage:  96.887% (249/257)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_asm.c
Lines: 784-858
 96.887% (249/257)
701
d2i_ASN1_UINTEGER
Name: d2i_ASN1_UINTEGER
Prototype: ASN1_INTEGER * d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp, long length)
Coverage:  0.000% (0/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_int.c
Lines: 281-339
  0.000% (0/36)
7011
dtls1_enc
Name: dtls1_enc
Prototype: int dtls1_enc(SSL *s, int send)
Coverage:  85.455% (47/55)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_enc.c
Lines: 132-211
 85.455% (47/55)
7015
int_ctx_new
Name: int_ctx_new
Prototype: static EVP_PKEY_CTX * int_ctx_new(EVP_PKEY *pkey, ENGINE *e, int id)
Coverage:  52.500% (21/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/pmeth_lib.c
Lines: 152-216
 52.500% (21/40)
7012
v2i_POLICY_MAPPINGS
Name: v2i_POLICY_MAPPINGS
Prototype: static void * v2i_POLICY_MAPPINGS(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, struct stack_st_CONF_VALUE *nval)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pmaps.c
Lines: 166-218
  0.000% (0/27)
709
DES_ede3_cfb_encrypt
Name: DES_ede3_cfb_encrypt
Prototype: void DES_ede3_cfb_encrypt(const unsigned char *in,unsigned char *out, int numbits,long length,DES_key_schedule *ks1, DES_key_schedule *ks2,DES_key_schedule *ks3, DES_cblock *ivec,int enc)
Coverage:  0.000% (0/101)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/des/cfb64ede.c
Lines: 139-243
  0.000% (0/101)
7145
EC_KEY_check_key
Name: EC_KEY_check_key
Prototype: int EC_KEY_check_key(const EC_KEY * eckey)
Coverage:  40.476% (17/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_key.c
Lines: 266-331
 40.476% (17/42)
7114
a2i_GENERAL_NAME
Name: a2i_GENERAL_NAME
Prototype: GENERAL_NAME * a2i_GENERAL_NAME(GENERAL_NAME *out, const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, int gen_type, const char *value, int is_nc)
Coverage:  0.000% (0/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_alt.c
Lines: 482-570
  0.000% (0/53)
7121
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:  60.000% (42/70)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_mul.c
Lines: 434-577
 60.000% (42/70)
7122
tls1_export_keying_material
Name: tls1_export_keying_material
Prototype: int tls1_export_keying_material(SSL *s, unsigned char *out, size_t olen, const char *label, size_t llen, const unsigned char *context, size_t contextlen, int use_context)
Coverage:  0.000% (0/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_enc.c
Lines: 1087-1160
  0.000% (0/30)
7112
BN_div_recp
Name: BN_div_recp
Prototype: int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp, BN_CTX *ctx)
Coverage:  57.143% (36/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_recp.c
Lines: 141-234
 57.143% (36/63)
7219
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
PKCS7_sign_add_signer
Name: PKCS7_sign_add_signer
Prototype: PKCS7_SIGNER_INFO * PKCS7_sign_add_signer(PKCS7 *p7, X509 *signcert, EVP_PKEY *pkey, const EVP_MD *md, int flags)
Coverage:  38.806% (26/67)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 159-221
 38.806% (26/67)
7215
asn1_primitive_print
Name: asn1_primitive_print
Prototype: static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld, const ASN1_ITEM *it, int indent, const char *fname, const char *sname, const ASN1_PCTX *pctx)
Coverage:  0.000% (0/75)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_prn.c
Lines: 495-596
  0.000% (0/75)
7229
ec_GFp_simple_group_check_discriminant
Name: ec_GFp_simple_group_check_discriminant
Prototype: int ec_GFp_simple_group_check_discriminant(const EC_GROUP * group, BN_CTX * ctx)
Coverage:  37.500% (27/72)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ecp_smpl.c
Lines: 284-357
 37.500% (27/72)
7225
get_error_values
Name: get_error_values
Prototype: static unsigned long get_error_values(int inc, int top, const char **file, int *line, const char **data, int *flags)
Coverage:  25.397% (16/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/err/err.c
Lines: 820-884
 25.397% (16/63)
7219
ssl3_get_client_kex_rsa
Name: ssl3_get_client_kex_rsa
Prototype: static int ssl3_get_client_kex_rsa(SSL *s, CBS *cbs)
Coverage:  36.842% (14/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_srvr.c
Lines: 1696-1793
 36.842% (14/38)
7212
RSA_padding_add_PKCS1_PSS_mgf1
Name: RSA_padding_add_PKCS1_PSS_mgf1
Prototype: int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, const unsigned char *mHash, const EVP_MD *Hash, const EVP_MD *mgf1Hash, int sLen)
Coverage:  0.000% (0/59)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_pss.c
Lines: 186-281
  0.000% (0/59)
7319
d2i_ASN1_SET
Name: d2i_ASN1_SET
Prototype: struct stack_st_OPENSSL_BLOCK * d2i_ASN1_SET(struct stack_st_OPENSSL_BLOCK **a, const unsigned char **pp, long length, d2i_of_void *d2i, void (*free_func)(OPENSSL_BLOCK), int ex_tag, int ex_class)
Coverage:  0.000% (0/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_set.c
Lines: 168-234
  0.000% (0/53)
7316
ssl3_get_client_kex_ecdhe_ecp
Name: ssl3_get_client_kex_ecdhe_ecp
Prototype: static int ssl3_get_client_kex_ecdhe_ecp(SSL *s, CBS *cbs)
Coverage:  37.931% (11/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_srvr.c
Lines: 1857-1932
 37.931% (11/29)
7311
BN_nist_mod_192
Name: BN_nist_mod_192
Prototype: int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *field, BN_CTX *ctx)
Coverage:  0.000% (0/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_nist.c
Lines: 423-546
  0.000% (0/35)
7410
CBB_flush
Name: CBB_flush
Prototype: int CBB_flush(CBB *cbb)
Coverage:  72.340% (34/47)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/bs_cbb.c
Lines: 185-272
 72.340% (34/47)
7414
ERR_error_string_n
Name: ERR_error_string_n
Prototype: void ERR_error_string_n(unsigned long e, char *buf, size_t len)
Coverage:  0.000% (0/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/err/err.c
Lines: 886-939
  0.000% (0/33)
749
PEM_X509_INFO_write_bio
Name: PEM_X509_INFO_write_bio
Prototype: int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
Coverage:  0.000% (0/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pem/pem_info.c
Lines: 309-399
  0.000% (0/36)
7412
i2b_PVK
Name: i2b_PVK
Prototype: static int i2b_PVK(unsigned char **out, EVP_PKEY*pk, int enclevel, pem_password_cb *cb, void *u)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pem/pvkfmt.c
Lines: 835-908
  0.000% (0/44)
7415
ssl3_send_client_certificate
Name: ssl3_send_client_certificate
Prototype: int ssl3_send_client_certificate(SSL *s)
Coverage:  25.000% (12/48)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_clnt.c
Lines: 2513-2583
 25.000% (12/48)
7414
tls1_change_cipher_state_cipher
Name: tls1_change_cipher_state_cipher
Prototype: static int tls1_change_cipher_state_cipher(SSL *s, char is_read, const unsigned char *mac_secret, unsigned int mac_secret_size, const unsigned char *key, unsigned int key_len, const unsigned char *iv, unsigned int iv_len)
Coverage:  42.857% (18/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/t1_enc.c
Lines: 452-532
 42.857% (18/42)
7414
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
BN_X931_derive_prime_ex
Name: BN_X931_derive_prime_ex
Prototype: int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, const BIGNUM *Xp, const BIGNUM *Xp1, const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb)
Coverage:  0.000% (0/89)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_x931p.c
Lines: 98-196
  0.000% (0/89)
7527
BN_hex2bn
Name: BN_hex2bn
Prototype: int BN_hex2bn(BIGNUM **bn, const char *a)
Coverage:  62.687% (42/67)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/bn/bn_print.c
Lines: 189-264
 62.687% (42/67)
7520
CONF_parse_list
Name: CONF_parse_list
Prototype: int CONF_parse_list(const char *list_, int sep, int nospc, int (*list_cb)(const char *elem, int len, void *usr), void *arg)
Coverage:  0.000% (0/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/conf/conf_mod.c
Lines: 560-598
  0.000% (0/41)
7511
CRYPTO_gcm128_encrypt
Name: CRYPTO_gcm128_encrypt
Prototype: int CRYPTO_gcm128_encrypt(GCM128_CONTEXT *ctx, const unsigned char *in, unsigned char *out, size_t len)
Coverage:  40.678% (24/59)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/modes/gcm128.c
Lines: 887-1067
 40.678% (24/59)
7518
RSA_eay_public_decrypt
Name: RSA_eay_public_decrypt
Prototype: static int RSA_eay_public_decrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
Coverage:  33.871% (21/62)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rsa/rsa_eay.c
Lines: 592-689
 33.871% (21/62)
7522
SMIME_write_ASN1
Name: SMIME_write_ASN1
Prototype: int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, int ctype_nid, int econt_nid, struct stack_st_X509_ALGOR *mdalgs, const ASN1_ITEM *it)
Coverage:  0.000% (0/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/asn_mime.c
Lines: 276-367
  0.000% (0/45)
7514
a2i_ASN1_STRING
Name: a2i_ASN1_STRING
Prototype: int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size)
Coverage:  0.000% (0/75)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/f_string.c
Lines: 99-194
  0.000% (0/75)
7522
dsa_do_verify
Name: dsa_do_verify
Prototype: static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa)
Coverage:  36.986% (27/73)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_ossl.c
Lines: 318-417
 36.986% (27/73)
7520
eckey_priv_decode
Name: eckey_priv_decode
Prototype: static int eckey_priv_decode(EVP_PKEY * pkey, const PKCS8_PRIV_KEY_INFO * p8)
Coverage:  0.000% (0/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ec/ec_ameth.c
Lines: 234-299
  0.000% (0/30)
7512
ssl3_send_client_hello
Name: ssl3_send_client_hello
Prototype: int ssl3_send_client_hello(SSL *s)
Coverage:  36.250% (29/80)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_clnt.c
Lines: 650-791
 36.250% (29/80)
7524
tls_ocsp_verify_response
Name: tls_ocsp_verify_response
Prototype: static int tls_ocsp_verify_response(struct tls *ctx, OCSP_RESPONSE *resp)
Coverage:  0.000% (0/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 195-270
  0.000% (0/28)
7510
EVP_DecodeUpdate
Name: EVP_DecodeUpdate
Prototype: int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl)
Coverage:  88.298% (83/94)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/encode.c
Lines: 232-368
 88.298% (83/94)
7624
a2i_ASN1_INTEGER
Name: a2i_ASN1_INTEGER
Prototype: int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size)
Coverage:  0.000% (0/80)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/f_int.c
Lines: 105-200
  0.000% (0/80)
7623
check_cert
Name: check_cert
Prototype: static int check_cert(X509_STORE_CTX *ctx)
Coverage:  0.000% (0/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_vfy.c
Lines: 902-973
  0.000% (0/34)
7612
Page:<>1
eLOC - Effective Lines of Code: 1
...20
eLOC - Effective Lines of Code: 2
...30
eLOC - Effective Lines of Code: 6
...40
eLOC - Effective Lines of Code: 13
...50
eLOC - Effective Lines of Code: 31
...52
eLOC - Effective Lines of Code: 37
53
eLOC - Effective Lines of Code: 42
54
eLOC - Effective Lines of Code: 47
55
eLOC - Effective Lines of Code: 53
5657
eLOC - Effective Lines of Code: 76
58
eLOC - Effective Lines of Code: 95
59
eLOC - Effective Lines of Code: 130
60
eLOC - Effective Lines of Code: 287

Generated by Squish Coco 4.2.2