OpenCoverage

LibreSSL Portable Test Coverage

Functions

Page:<>1
Function: xsyslog
...10
Function: parse_bag
...20
Function: des_ede3_cfb8_cipher
...30
Function: X509_NAME_get_text_by_NID
...34
Function: TLSv1_2_client_method
35
Function: SSL_load_client_CA_file
36
Function: SSL_CTX_use_certificate_ASN1
37
Function: SHA384_Update
3839
Function: PKCS7_ISSUER_AND_SERIAL_free
40
Function: PEM_write_X509_AUX
41
Function: OpenSSL_add_all_digests
42
Function: OCSP_REQUEST_get_ext_count
...50
Function: EC_curve_nist2nid
...60
Function: ASN1_OCTET_STRING_cmp
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
RC2_cbc_encrypt
Name: RC2_cbc_encrypt
Prototype: void RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *ks, unsigned char *iv, int encrypt)
Coverage:  26.531% (13/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rc2/rc2_cbc.c
Lines: 62-134
 26.531% (13/49)
5522
RAND_write_file
Name: RAND_write_file
Prototype: int RAND_write_file(const char *file)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/randfile.c
Lines: 89-135
  0.000% (0/23)
607
RAND_status
Name: RAND_status
Prototype: int RAND_status(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/rand_lib.c
Lines: 71-75
  0.000% (0/1)
11
RAND_set_rand_method
Name: RAND_set_rand_method
Prototype: int RAND_set_rand_method(const RAND_METHOD *meth)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/rand_lib.c
Lines: 27-31
100.000% (1/1)
11
RAND_set_rand_engine
Name: RAND_set_rand_engine
Prototype: int RAND_set_rand_engine(ENGINE *engine)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/rand_lib.c
Lines: 46-50
  0.000% (0/1)
11
RAND_pseudo_bytes
Name: RAND_pseudo_bytes
Prototype: int RAND_pseudo_bytes(unsigned char *buf, int num)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/rand_lib.c
Lines: 94-100
 75.000% (3/4)
32
RAND_poll
Name: RAND_poll
Prototype: int RAND_poll(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/rand_lib.c
Lines: 77-81
  0.000% (0/1)
11
RAND_load_file
Name: RAND_load_file
Prototype: int RAND_load_file(const char *file, long bytes)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/randfile.c
Lines: 79-87
  0.000% (0/4)
32
RAND_get_rand_method
Name: RAND_get_rand_method
Prototype: const RAND_METHOD * RAND_get_rand_method(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/rand_lib.c
Lines: 33-37
  0.000% (0/1)
51
RAND_file_name
Name: RAND_file_name
Prototype: const char * RAND_file_name(char * buf, size_t size)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/randfile.c
Lines: 137-143
  0.000% (0/4)
72
RAND_bytes
Name: RAND_bytes
Prototype: int RAND_bytes(unsigned char *buf, int num)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/rand_lib.c
Lines: 86-92
  0.000% (0/4)
32
RAND_SSLeay
Name: RAND_SSLeay
Prototype: RAND_METHOD * RAND_SSLeay(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/rand/rand_lib.c
Lines: 39-43
  0.000% (0/1)
51
PROXY_POLICY_new
Name: PROXY_POLICY_new
Prototype: PROXY_POLICY * PROXY_POLICY_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pcia.c
Lines: 82-86
  0.000% (0/1)
11
PROXY_POLICY_free
Name: PROXY_POLICY_free
Prototype: void PROXY_POLICY_free(PROXY_POLICY *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pcia.c
Lines: 88-92
100.000% (1/1)
11
PROXY_CERT_INFO_EXTENSION_new
Name: PROXY_CERT_INFO_EXTENSION_new
Prototype: PROXY_CERT_INFO_EXTENSION * PROXY_CERT_INFO_EXTENSION_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pcia.c
Lines: 135-139
  0.000% (0/1)
11
PROXY_CERT_INFO_EXTENSION_free
Name: PROXY_CERT_INFO_EXTENSION_free
Prototype: void PROXY_CERT_INFO_EXTENSION_free(PROXY_CERT_INFO_EXTENSION *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pcia.c
Lines: 141-145
100.000% (1/1)
11
POLICY_MAPPING_new
Name: POLICY_MAPPING_new
Prototype: POLICY_MAPPING * POLICY_MAPPING_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pmaps.c
Lines: 135-139
  0.000% (0/1)
11
POLICY_MAPPING_free
Name: POLICY_MAPPING_free
Prototype: void POLICY_MAPPING_free(POLICY_MAPPING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pmaps.c
Lines: 141-145
100.000% (1/1)
11
POLICY_CONSTRAINTS_new
Name: POLICY_CONSTRAINTS_new
Prototype: POLICY_CONSTRAINTS * POLICY_CONSTRAINTS_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pcons.c
Lines: 119-123
  0.000% (0/1)
11
POLICY_CONSTRAINTS_free
Name: POLICY_CONSTRAINTS_free
Prototype: void POLICY_CONSTRAINTS_free(POLICY_CONSTRAINTS *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pcons.c
Lines: 125-129
100.000% (1/1)
11
POLICYQUALINFO_new
Name: POLICYQUALINFO_new
Prototype: POLICYQUALINFO * POLICYQUALINFO_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_cpols.c
Lines: 283-287
  0.000% (0/1)
11
POLICYQUALINFO_free
Name: POLICYQUALINFO_free
Prototype: void POLICYQUALINFO_free(POLICYQUALINFO *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_cpols.c
Lines: 289-293
100.000% (1/1)
11
POLICYINFO_new
Name: POLICYINFO_new
Prototype: POLICYINFO * POLICYINFO_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_cpols.c
Lines: 187-191
  0.000% (0/1)
11
POLICYINFO_free
Name: POLICYINFO_free
Prototype: void POLICYINFO_free(POLICYINFO *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_cpols.c
Lines: 193-197
100.000% (1/1)
11
PKEY_USAGE_PERIOD_new
Name: PKEY_USAGE_PERIOD_new
Prototype: PKEY_USAGE_PERIOD * PKEY_USAGE_PERIOD_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pku.c
Lines: 128-132
  0.000% (0/1)
11
PKEY_USAGE_PERIOD_free
Name: PKEY_USAGE_PERIOD_free
Prototype: void PKEY_USAGE_PERIOD_free(PKEY_USAGE_PERIOD *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pku.c
Lines: 134-138
100.000% (1/1)
11
PKCS8_pkey_set0
Name: PKCS8_pkey_set0
Prototype: int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv, ASN1_OBJECT *aobj, int version, int ptype, void *pval, unsigned char *penc, int penclen)
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/p8_pkey.c
Lines: 141-154
 53.846% (7/13)
105
PKCS8_pkey_get0_attrs
Name: PKCS8_pkey_get0_attrs
Prototype: const struct stack_st_X509_ATTRIBUTE * PKCS8_pkey_get0_attrs(const PKCS8_PRIV_KEY_INFO *p8)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/p8_pkey.c
Lines: 171-175
  0.000% (0/1)
11
PKCS8_pkey_get0
Name: PKCS8_pkey_get0
Prototype: int PKCS8_pkey_get0(const ASN1_OBJECT **ppkalg, const unsigned char **pk, int *ppklen, const X509_ALGOR **pa, const PKCS8_PRIV_KEY_INFO *p8)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/p8_pkey.c
Lines: 156-169
  0.000% (0/10)
144
PKCS8_pkey_add1_attr_by_NID
Name: PKCS8_pkey_add1_attr_by_NID
Prototype: int PKCS8_pkey_add1_attr_by_NID(PKCS8_PRIV_KEY_INFO *p8, int nid, int type, const unsigned char *bytes, int len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/p8_pkey.c
Lines: 177-185
  0.000% (0/4)
62
PKCS8_encrypt
Name: PKCS8_encrypt
Prototype: X509_SIG * PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, PKCS8_PRIV_KEY_INFO *p8inf)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_p8e.c
Lines: 64-100
  0.000% (0/15)
306
PKCS8_decrypt
Name: PKCS8_decrypt
Prototype: PKCS8_PRIV_KEY_INFO * PKCS8_decrypt(const X509_SIG *p8, const char *pass, int passlen)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_p8d.c
Lines: 63-68
  0.000% (0/1)
21
PKCS8_add_keyusage
Name: PKCS8_add_keyusage
Prototype: int PKCS8_add_keyusage(PKCS8_PRIV_KEY_INFO *p8, int usage)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs12/p12_attr.c
Lines: 77-84
  0.000% (0/1)
31
PKCS8_PRIV_KEY_INFO_new
Name: PKCS8_PRIV_KEY_INFO_new
Prototype: PKCS8_PRIV_KEY_INFO * PKCS8_PRIV_KEY_INFO_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/p8_pkey.c
Lines: 129-133
100.000% (1/1)
11
PKCS8_PRIV_KEY_INFO_free
Name: PKCS8_PRIV_KEY_INFO_free
Prototype: void PKCS8_PRIV_KEY_INFO_free(PKCS8_PRIV_KEY_INFO *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/p8_pkey.c
Lines: 135-139
100.000% (1/1)
11
PKCS7_verify
Name: PKCS7_verify
Prototype: int PKCS7_verify(PKCS7 *p7, struct stack_st_X509 *certs, X509_STORE *store, BIO *indata, BIO *out, int flags)
Coverage:  51.020% (50/98)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 257-423
 51.020% (50/98)
12032
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
PKCS7_to_TS_TST_INFO
Name: PKCS7_to_TS_TST_INFO
Prototype: TS_TST_INFO * PKCS7_to_TS_TST_INFO(PKCS7 *token)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/ts/ts_asn1.c
Lines: 850-890
  0.000% (0/13)
475
PKCS7_stream
Name: PKCS7_stream
Prototype: int PKCS7_stream(unsigned char ***boundary, PKCS7 *p7)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 611-653
  0.000% (0/20)
379
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_signatureVerify
Name: PKCS7_signatureVerify
Prototype: int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, X509 *x509)
Coverage:  38.596% (22/57)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 976-1080
 38.596% (22/57)
9418
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
PKCS7_sign
Name: PKCS7_sign
Prototype: PKCS7 * PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, struct stack_st_X509 *certs, BIO *data, int flags)
Coverage:  58.824% (20/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 69-111
 58.824% (20/34)
4012
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
PKCS7_set_signed_attributes
Name: PKCS7_set_signed_attributes
Prototype: int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si, struct stack_st_X509_ATTRIBUTE *sk)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1150-1169
  0.000% (0/13)
195
PKCS7_set_digest
Name: PKCS7_set_digest
Prototype: int PKCS7_set_digest(PKCS7 *p7, const EVP_MD *md)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 433-448
  0.000% (0/7)
93
PKCS7_set_content
Name: PKCS7_set_content
Prototype: int PKCS7_set_content(PKCS7 *p7, PKCS7 *p7_data)
Coverage:  27.778% (5/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 130-158
 27.778% (5/18)
1911
PKCS7_set_cipher
Name: PKCS7_set_cipher
Prototype: int PKCS7_set_cipher(PKCS7 *p7, const EVP_CIPHER *cipher)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 581-609
 40.000% (4/10)
165
PKCS7_set_attributes
Name: PKCS7_set_attributes
Prototype: int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si, struct stack_st_X509_ATTRIBUTE *sk)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1171-1189
  0.000% (0/13)
195
PKCS7_set0_type_other
Name: PKCS7_set0_type_other
Prototype: int PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *other)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 230-236
  0.000% (0/1)
31
PKCS7_print_ctx
Name: PKCS7_print_ctx
Prototype: int PKCS7_print_ctx(BIO *out, PKCS7 *x, int indent, const ASN1_PCTX *pctx)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 963-968
  0.000% (0/1)
21
PKCS7_new
Name: PKCS7_new
Prototype: PKCS7 * PKCS7_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 232-236
100.000% (1/1)
11
PKCS7_get_smimecap
Name: PKCS7_get_smimecap
Prototype: struct stack_st_X509_ALGOR * PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_attr.c
Lines: 83-96
  0.000% (0/6)
172
PKCS7_get_signer_info
Name: PKCS7_get_signer_info
Prototype: struct stack_st_PKCS7_SIGNER_INFO * PKCS7_get_signer_info(PKCS7 *p7)
Coverage:  33.333% (4/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 450-461
 33.333% (4/12)
214
PKCS7_get_signed_attribute
Name: PKCS7_get_signed_attribute
Prototype: ASN1_TYPE * PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1104-1108
100.000% (1/1)
11
PKCS7_get_octet_string
Name: PKCS7_get_octet_string
Prototype: static ASN1_OCTET_STRING * PKCS7_get_octet_string(PKCS7 *p7)
Coverage:  18.182% (2/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 96-105
 18.182% (2/11)
103
PKCS7_get_issuer_and_serial
Name: PKCS7_get_issuer_and_serial
Prototype: PKCS7_ISSUER_AND_SERIAL * PKCS7_get_issuer_and_serial(PKCS7 *p7, int idx)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1082-1102
  0.000% (0/13)
365
PKCS7_get_attribute
Name: PKCS7_get_attribute
Prototype: ASN1_TYPE * PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1110-1114
  0.000% (0/1)
11
PKCS7_get0_signers
Name: PKCS7_get0_signers
Prototype: struct stack_st_X509 * PKCS7_get0_signers(PKCS7 *p7, struct stack_st_X509 *certs, int flags)
Coverage:  40.625% (13/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 425-481
 40.625% (13/32)
5810
PKCS7_free
Name: PKCS7_free
Prototype: void PKCS7_free(PKCS7 *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 238-242
100.000% (1/1)
11
PKCS7_find_digest
Name: PKCS7_find_digest
Prototype: static BIO * PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid)
Coverage:  36.364% (4/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 629-648
 36.364% (4/11)
295
PKCS7_final
Name: PKCS7_final
Prototype: int PKCS7_final(PKCS7 *p7, BIO *data, int flags)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 113-139
 50.000% (4/8)
214
PKCS7_encrypt
Name: PKCS7_encrypt
Prototype: PKCS7 * PKCS7_encrypt(struct stack_st_X509 *certs, BIO *in, const EVP_CIPHER *cipher, int flags)
Coverage:  43.478% (10/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 485-524
 43.478% (10/23)
369
PKCS7_dup
Name: PKCS7_dup
Prototype: PKCS7 * PKCS7_dup(PKCS7 *x)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 250-254
  0.000% (0/1)
11
PKCS7_digest_from_attributes
Name: PKCS7_digest_from_attributes
Prototype: ASN1_OCTET_STRING * PKCS7_digest_from_attributes(struct stack_st_X509_ATTRIBUTE *sk)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1138-1148
 42.857% (3/7)
143
PKCS7_decrypt
Name: PKCS7_decrypt
Prototype: int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags)
Coverage:  35.714% (15/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_smime.c
Lines: 526-590
 35.714% (15/42)
5414
PKCS7_dataVerify
Name: PKCS7_dataVerify
Prototype: int PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 915-974
  0.000% (0/27)
4110
PKCS7_dataInit
Name: PKCS7_dataInit
Prototype: BIO * PKCS7_dataInit(PKCS7 *p7, BIO *bio)
Coverage:  49.524% (52/105)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 247-402
 49.524% (52/105)
21636
PKCS7_dataFinal
Name: PKCS7_dataFinal
Prototype: int PKCS7_dataFinal(PKCS7 *p7, BIO *bio)
Coverage:  38.095% (40/105)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 682-855
 38.095% (40/105)
17035
PKCS7_dataDecode
Name: PKCS7_dataDecode
Prototype: BIO * PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert)
Coverage:  28.455% (35/123)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 418-627
 28.455% (35/123)
30840
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_content_new
Name: PKCS7_content_new
Prototype: int PKCS7_content_new(PKCS7 *p7, int type)
Coverage:  28.571% (4/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 111-128
 28.571% (4/14)
196
PKCS7_cert_from_signer_info
Name: PKCS7_cert_from_signer_info
Prototype: X509 * PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 570-579
  0.000% (0/4)
92
PKCS7_bio_add_digest
Name: PKCS7_bio_add_digest
Prototype: static int PKCS7_bio_add_digest(BIO **pbio, X509_ALGOR *alg)
Coverage:  35.714% (5/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 107-138
 35.714% (5/14)
296
PKCS7_add_signer
Name: PKCS7_add_signer
Prototype: int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *psi)
Coverage:  37.037% (10/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 238-291
 37.037% (10/27)
3510
PKCS7_add_signed_attribute
Name: PKCS7_add_signed_attribute
Prototype: int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1191-1196
100.000% (1/1)
11
PKCS7_add_signature
Name: PKCS7_add_signature
Prototype: PKCS7_SIGNER_INFO * PKCS7_add_signature(PKCS7 *p7, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst)
Coverage:  34.783% (8/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 404-431
 34.783% (8/23)
339
PKCS7_add_recipient_info
Name: PKCS7_add_recipient_info
Prototype: int PKCS7_add_recipient_info(PKCS7 *p7, PKCS7_RECIP_INFO *ri)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 500-522
 40.000% (4/10)
135
PKCS7_add_recipient
Name: PKCS7_add_recipient
Prototype: PKCS7_RECIP_INFO * PKCS7_add_recipient(PKCS7 *p7, X509 *x509)
Coverage:  28.571% (4/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 482-498
 28.571% (4/14)
176
PKCS7_add_crl
Name: PKCS7_add_crl
Prototype: int PKCS7_add_crl(PKCS7 *p7, X509_CRL *crl)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 326-358
  0.000% (0/16)
247
PKCS7_add_certificate
Name: PKCS7_add_certificate
Prototype: int PKCS7_add_certificate(PKCS7 *p7, X509 *x509)
Coverage:  50.000% (8/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 293-324
 50.000% (8/16)
247
PKCS7_add_attribute
Name: PKCS7_add_attribute
Prototype: int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_doit.c
Lines: 1198-1202
  0.000% (0/1)
11
PKCS7_add_attrib_smimecap
Name: PKCS7_add_attrib_smimecap
Prototype: int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si, struct stack_st_X509_ALGOR *cap)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_attr.c
Lines: 69-81
 50.000% (2/4)
82
PKCS7_add_attrib_content_type
Name: PKCS7_add_attrib_content_type
Prototype: int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid)
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_attr.c
Lines: 134-143
 57.143% (4/7)
63
PKCS7_add1_attrib_digest
Name: PKCS7_add1_attrib_digest
Prototype: int PKCS7_add1_attrib_digest(PKCS7_SIGNER_INFO *si, const unsigned char *md, int mdlen)
Coverage:  44.444% (4/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_attr.c
Lines: 156-172
 44.444% (4/9)
103
PKCS7_add0_attrib_signing_time
Name: PKCS7_add0_attrib_signing_time
Prototype: int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_attr.c
Lines: 145-154
 50.000% (3/6)
92
PKCS7_SIGN_ENVELOPE_new
Name: PKCS7_SIGN_ENVELOPE_new
Prototype: PKCS7_SIGN_ENVELOPE * PKCS7_SIGN_ENVELOPE_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 784-788
  0.000% (0/1)
11
PKCS7_SIGN_ENVELOPE_free
Name: PKCS7_SIGN_ENVELOPE_free
Prototype: void PKCS7_SIGN_ENVELOPE_free(PKCS7_SIGN_ENVELOPE *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 790-794
100.000% (1/1)
11
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
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_SIGNER_INFO_new
Name: PKCS7_SIGNER_INFO_new
Prototype: PKCS7_SIGNER_INFO * PKCS7_SIGNER_INFO_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 437-441
100.000% (1/1)
11
PKCS7_SIGNER_INFO_get0_algs
Name: PKCS7_SIGNER_INFO_get0_algs
Prototype: void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si, EVP_PKEY **pk, X509_ALGOR **pdig, X509_ALGOR **psig)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 463-473
 50.000% (5/10)
64
PKCS7_SIGNER_INFO_free
Name: PKCS7_SIGNER_INFO_free
Prototype: void PKCS7_SIGNER_INFO_free(PKCS7_SIGNER_INFO *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 443-447
100.000% (1/1)
11
PKCS7_SIGNED_new
Name: PKCS7_SIGNED_new
Prototype: PKCS7_SIGNED * PKCS7_SIGNED_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 325-329
100.000% (1/1)
11
PKCS7_SIGNED_free
Name: PKCS7_SIGNED_free
Prototype: void PKCS7_SIGNED_free(PKCS7_SIGNED *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 331-335
100.000% (1/1)
11
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_RECIP_INFO_new
Name: PKCS7_RECIP_INFO_new
Prototype: PKCS7_RECIP_INFO * PKCS7_RECIP_INFO_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 636-640
100.000% (1/1)
11
PKCS7_RECIP_INFO_get0_alg
Name: PKCS7_RECIP_INFO_get0_alg
Prototype: void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_lib.c
Lines: 475-480
 75.000% (3/4)
22
PKCS7_RECIP_INFO_free
Name: PKCS7_RECIP_INFO_free
Prototype: void PKCS7_RECIP_INFO_free(PKCS7_RECIP_INFO *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 642-646
100.000% (1/1)
11
PKCS7_ISSUER_AND_SERIAL_new
Name: PKCS7_ISSUER_AND_SERIAL_new
Prototype: PKCS7_ISSUER_AND_SERIAL * PKCS7_ISSUER_AND_SERIAL_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/pkcs7/pk7_asn1.c
Lines: 490-494
  0.000% (0/1)
11
Page:<>1
Function: xsyslog
...10
Function: parse_bag
...20
Function: des_ede3_cfb8_cipher
...30
Function: X509_NAME_get_text_by_NID
...34
Function: TLSv1_2_client_method
35
Function: SSL_load_client_CA_file
36
Function: SSL_CTX_use_certificate_ASN1
37
Function: SHA384_Update
3839
Function: PKCS7_ISSUER_AND_SERIAL_free
40
Function: PEM_write_X509_AUX
41
Function: OpenSSL_add_all_digests
42
Function: OCSP_REQUEST_get_ext_count
...50
Function: EC_curve_nist2nid
...60
Function: ASN1_OCTET_STRING_cmp

Generated by Squish Coco 4.2.2