OpenCoverage

LibreSSL Portable Test Coverage

Functions

Page:<>1
Function: xsyslog
...30
Function: X509_NAME_get_text_by_NID
...40
Function: PEM_write_X509_AUX
...50
Function: EC_curve_nist2nid
...56
Function: BN_is_bit_set
57
Function: BN_CTX_get
58
Function: BIO_get_host_ip
59
Function: ASN1_item_dup
60
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
ASN1_OCTET_STRING_cmp
Name: ASN1_OCTET_STRING_cmp
Prototype: int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a, const ASN1_OCTET_STRING *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_octet.c
Lines: 69-73
100.000% (1/1)
11
ASN1_OBJECT_new
Name: ASN1_OBJECT_new
Prototype: ASN1_OBJECT * ASN1_OBJECT_new(void)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_object.c
Lines: 349-366
 50.000% (2/4)
302
ASN1_OBJECT_free
Name: ASN1_OBJECT_free
Prototype: void ASN1_OBJECT_free(ASN1_OBJECT *a)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_object.c
Lines: 368-385
100.000% (13/13)
225
ASN1_OBJECT_create
Name: ASN1_OBJECT_create
Prototype: ASN1_OBJECT * ASN1_OBJECT_create(int nid, unsigned char *data, int len, const char *sn, const char *ln)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_object.c
Lines: 387-401
100.000% (1/1)
91
ASN1_NULL_new
Name: ASN1_NULL_new
Prototype: ASN1_NULL * ASN1_NULL_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 211-215
  0.000% (0/1)
11
ASN1_NULL_free
Name: ASN1_NULL_free
Prototype: void ASN1_NULL_free(ASN1_NULL *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 217-221
100.000% (1/1)
11
ASN1_INTEGER_to_BN
Name: ASN1_INTEGER_to_BN
Prototype: BIGNUM * ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_int.c
Lines: 451-461
 42.857% (3/7)
83
ASN1_INTEGER_set
Name: ASN1_INTEGER_set
Prototype: int ASN1_INTEGER_set(ASN1_INTEGER *a, long v)
Coverage:  68.421% (13/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_int.c
Lines: 341-376
 68.421% (13/19)
277
ASN1_INTEGER_new
Name: ASN1_INTEGER_new
Prototype: ASN1_INTEGER * ASN1_INTEGER_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 83-87
100.000% (1/1)
11
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_INTEGER_free
Name: ASN1_INTEGER_free
Prototype: void ASN1_INTEGER_free(ASN1_INTEGER *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 89-93
100.000% (1/1)
11
ASN1_INTEGER_dup
Name: ASN1_INTEGER_dup
Prototype: ASN1_INTEGER * ASN1_INTEGER_dup(const ASN1_INTEGER *x)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_int.c
Lines: 66-70
  0.000% (0/1)
11
ASN1_INTEGER_cmp
Name: ASN1_INTEGER_cmp
Prototype: int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_int.c
Lines: 72-92
  0.000% (0/10)
104
ASN1_IA5STRING_new
Name: ASN1_IA5STRING_new
Prototype: ASN1_IA5STRING * ASN1_IA5STRING_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 347-351
  0.000% (0/1)
11
ASN1_IA5STRING_free
Name: ASN1_IA5STRING_free
Prototype: void ASN1_IA5STRING_free(ASN1_IA5STRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 353-357
100.000% (1/1)
11
ASN1_GENERALSTRING_new
Name: ASN1_GENERALSTRING_new
Prototype: ASN1_GENERALSTRING * ASN1_GENERALSTRING_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 380-384
  0.000% (0/1)
11
ASN1_GENERALSTRING_free
Name: ASN1_GENERALSTRING_free
Prototype: void ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 386-390
100.000% (1/1)
11
ASN1_GENERALIZEDTIME_set_string
Name: ASN1_GENERALIZEDTIME_set_string
Prototype: int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str)
Coverage:  66.667% (4/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_time_tm.c
Lines: 452-458
 66.667% (4/6)
72
ASN1_GENERALIZEDTIME_set
Name: ASN1_GENERALIZEDTIME_set
Prototype: ASN1_GENERALIZEDTIME * ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, time_t t)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_time_tm.c
Lines: 460-464
100.000% (1/1)
11
ASN1_GENERALIZEDTIME_print
Name: ASN1_GENERALIZEDTIME_print
Prototype: int ASN1_GENERALIZEDTIME_print(BIO *bp, const ASN1_GENERALIZEDTIME *tm)
Coverage:  0.000% (0/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/t_x509.c
Lines: 395-447
  0.000% (0/46)
4011
ASN1_GENERALIZEDTIME_new
Name: ASN1_GENERALIZEDTIME_new
Prototype: ASN1_GENERALIZEDTIME * ASN1_GENERALIZEDTIME_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 445-449
100.000% (1/1)
11
ASN1_GENERALIZEDTIME_free
Name: ASN1_GENERALIZEDTIME_free
Prototype: void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 451-455
100.000% (1/1)
11
ASN1_GENERALIZEDTIME_check
Name: ASN1_GENERALIZEDTIME_check
Prototype: int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *d)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_time_tm.c
Lines: 444-450
  0.000% (0/4)
72
ASN1_GENERALIZEDTIME_adj
Name: ASN1_GENERALIZEDTIME_adj
Prototype: ASN1_GENERALIZEDTIME * ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s, time_t t, int offset_day, long offset_sec)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_time_tm.c
Lines: 466-472
100.000% (1/1)
21
ASN1_ENUMERATED_to_BN
Name: ASN1_ENUMERATED_to_BN
Prototype: BIGNUM * ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_enum.c
Lines: 179-189
  0.000% (0/7)
83
ASN1_ENUMERATED_set
Name: ASN1_ENUMERATED_set
Prototype: int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_enum.c
Lines: 70-104
  0.000% (0/19)
277
ASN1_ENUMERATED_new
Name: ASN1_ENUMERATED_new
Prototype: ASN1_ENUMERATED * ASN1_ENUMERATED_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 115-119
  0.000% (0/1)
11
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_ENUMERATED_free
Name: ASN1_ENUMERATED_free
Prototype: void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 121-125
100.000% (1/1)
11
ASN1_BMPSTRING_new
Name: ASN1_BMPSTRING_new
Prototype: ASN1_BMPSTRING * ASN1_BMPSTRING_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 543-547
  0.000% (0/1)
11
ASN1_BMPSTRING_free
Name: ASN1_BMPSTRING_free
Prototype: void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 549-553
100.000% (1/1)
11
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_BIT_STRING_set_asc
Name: ASN1_BIT_STRING_set_asc
Prototype: int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, const char *name, int value, BIT_STRING_BITNAME *tbl)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/t_bitst.c
Lines: 85-99
  0.000% (0/10)
84
ASN1_BIT_STRING_set
Name: ASN1_BIT_STRING_set
Prototype: int ASN1_BIT_STRING_set(ASN1_BIT_STRING *x, unsigned char *d, int len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_bitstr.c
Lines: 65-69
  0.000% (0/1)
11
ASN1_BIT_STRING_num_asc
Name: ASN1_BIT_STRING_num_asc
Prototype: int ASN1_BIT_STRING_num_asc(const char *name, BIT_STRING_BITNAME *tbl)
Coverage:  0.000% (0/69)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/t_bitst.c
Lines: 101-112
  0.000% (0/69)
33215
ASN1_BIT_STRING_new
Name: ASN1_BIT_STRING_new
Prototype: ASN1_BIT_STRING * ASN1_BIT_STRING_new(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 147-151
100.000% (1/1)
11
ASN1_BIT_STRING_name_print
Name: ASN1_BIT_STRING_name_print
Prototype: int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, BIT_STRING_BITNAME *tbl, int indent)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/t_bitst.c
Lines: 65-83
  0.000% (0/10)
114
ASN1_BIT_STRING_get_bit
Name: ASN1_BIT_STRING_get_bit
Prototype: int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n)
Coverage:  75.000% (6/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_bitstr.c
Lines: 229-239
 75.000% (6/8)
142
ASN1_BIT_STRING_free
Name: ASN1_BIT_STRING_free
Prototype: void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c
Lines: 153-157
100.000% (1/1)
11
ASN1_BIT_STRING_check
Name: ASN1_BIT_STRING_check
Prototype: int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a, const unsigned char *flags, int flags_len)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_bitstr.c
Lines: 247-265
  0.000% (0/13)
83
AES_wrap_key
Name: AES_wrap_key
Prototype: int AES_wrap_key(AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen)
Coverage:  66.667% (12/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_wrap.c
Lines: 63-95
 66.667% (12/18)
236
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
AES_options
Name: AES_options
Prototype: const char * AES_options(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_misc.c
Lines: 57-65
  0.000% (0/1)
11
AES_ofb128_encrypt
Name: AES_ofb128_encrypt
Prototype: void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_ofb.c
Lines: 55-61
  0.000% (0/1)
21
AES_ige_encrypt
Name: AES_ige_encrypt
Prototype: void AES_ige_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, const int enc)
Coverage: 100.000% (46/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_ige.c
Lines: 79-194
100.000% (46/46)
8616
AES_ecb_encrypt
Name: AES_ecb_encrypt
Prototype: void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key, const int enc)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_ecb.c
Lines: 61-69
  0.000% (0/4)
32
AES_ctr128_encrypt
Name: AES_ctr128_encrypt
Prototype: void AES_ctr128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char ivec[16], unsigned char ecount_buf[16], unsigned int *num)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_ctr.c
Lines: 55-62
  0.000% (0/1)
21
AES_cfb8_encrypt
Name: AES_cfb8_encrypt
Prototype: void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_cfb.c
Lines: 77-83
  0.000% (0/1)
21
AES_cfb1_encrypt
Name: AES_cfb1_encrypt
Prototype: void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_cfb.c
Lines: 69-75
  0.000% (0/1)
21
AES_cfb128_encrypt
Name: AES_cfb128_encrypt
Prototype: void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/aes/aes_cfb.c
Lines: 60-66
  0.000% (0/1)
21
ACCESS_DESCRIPTION_new
Name: ACCESS_DESCRIPTION_new
Prototype: ACCESS_DESCRIPTION * ACCESS_DESCRIPTION_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_info.c
Lines: 149-153
  0.000% (0/1)
11
ACCESS_DESCRIPTION_free
Name: ACCESS_DESCRIPTION_free
Prototype: void ACCESS_DESCRIPTION_free(ACCESS_DESCRIPTION *a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_info.c
Lines: 155-159
100.000% (1/1)
11
Page:<>1
Function: xsyslog
...30
Function: X509_NAME_get_text_by_NID
...40
Function: PEM_write_X509_AUX
...50
Function: EC_curve_nist2nid
...56
Function: BN_is_bit_set
57
Function: BN_CTX_get
58
Function: BIO_get_host_ip
59
Function: ASN1_item_dup
60

Generated by Squish Coco 4.2.2