| Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
sshbuf_get_ec| Name: | sshbuf_get_ec | | Prototype: | int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-crypto.c | | Lines: | 89-108 |
| | 18 | 4 |
sshbuf_consume_end| Name: | sshbuf_consume_end | | Prototype: | int sshbuf_consume_end(struct sshbuf *buf, size_t len) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 383-398 |
| | 9 | 4 |
option_clear_or_none| Name: | option_clear_or_none | | Prototype: | static int option_clear_or_none(const char *o) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 186-190 |
| | 5 | 1 |
mac_alg_list| Name: | mac_alg_list | | Prototype: | char * mac_alg_list(char sep) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c | | Lines: | 86-106 |
| | 29 | 4 |
kex_alg_list| Name: | kex_alg_list | | Prototype: | char * kex_alg_list(char sep) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 109-129 |
| | 29 | 4 |
cipher_ivlen| Name: | cipher_ivlen | | Prototype: | u_int cipher_ivlen(const struct sshcipher *c) | | Coverage: | 80.000% (4/5) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 169-178 |
| | 2 | 1 |
cipher_free| Name: | cipher_free | | Prototype: | void cipher_free(struct sshcipher_ctx *cc) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 410-425 |
| | 16 | 4 |
strlcpy| Name: | strlcpy | | Prototype: | size_t strlcpy(char *dst, const char *src, size_t siz) | | Coverage: | 78.947% (15/19) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/strlcpy.c | | Lines: | 32-56 |
| | 12 | 7 |
ssh_init| Name: | ssh_init | | Prototype: | int ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params) | | Coverage: | 78.947% (15/19) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c | | Lines: | 72-135 |
| | 49 | 6 |
sshbuf_set_max_size| Name: | sshbuf_set_max_size | | Prototype: | int sshbuf_set_max_size(struct sshbuf *buf, size_t max_size) | | Coverage: | 78.788% (26/33) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 214-250 |
| | 28 | 10 |
sshbuf_check_reserve| Name: | sshbuf_check_reserve | | Prototype: | int sshbuf_check_reserve(const struct sshbuf *buf, size_t len) | | Coverage: | 78.571% (11/14) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 284-298 |
| | 8 | 4 |
chachapoly_crypt| Name: | chachapoly_crypt | | Prototype: | int chachapoly_crypt(struct chachapoly_ctx *ctx, u_int seqnr, u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt) | | Coverage: | 78.571% (11/14) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher-chachapoly.c | | Lines: | 51-103 |
| | 37 | 6 |
bitmap_nbits| Name: | bitmap_nbits | | Prototype: | size_t bitmap_nbits(struct bitmap *b) | | Coverage: | 78.571% (11/14) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 140-159 |
| | 13 | 4 |
vasnmprintf| Name: | vasnmprintf | | Prototype: | static int vasnmprintf(char **str, size_t maxsz, int *wp, const char *fmt, va_list ap) | | Coverage: | 78.261% (72/92) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/utf8.c | | Lines: | 104-238 |
| | 131 | 25 |
rsa_hash_alg_oid| Name: | rsa_hash_alg_oid | | Prototype: | static int rsa_hash_alg_oid(int hash_alg, const u_char **oidp, size_t *oidlenp) | | Coverage: | 77.778% (7/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | | Lines: | 380-400 |
| | 12 | 5 |
retop| Name: | retop | | Prototype: | static void retop(struct bitmap *b) | | Coverage: | 77.778% (7/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 116-123 |
| | 4 | 3 |
chop| Name: | chop | | Prototype: | char * chop(char *s) | | Coverage: | 77.778% (7/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | | Lines: | 75-88 |
| | 7 | 3 |
bitmap_to_string| Name: | bitmap_to_string | | Prototype: | int bitmap_to_string(struct bitmap *b, void *p, size_t l) | | Coverage: | 77.778% (14/18) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 167-186 |
| | 12 | 6 |
cert_parse| Name: | cert_parse | | Prototype: | static int cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf) | | Coverage: | 77.108% (64/83) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 1878-2001 |
| | 167 | 19 |
dump_base64| Name: | dump_base64 | | Prototype: | void dump_base64(FILE *fp, const u_char *data, u_int len) | | Coverage: | 76.923% (10/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/uuencode.c | | Lines: | 75-95 |
| | 18 | 5 |
sshbuf_get_bignum2_bytes_direct| Name: | sshbuf_get_bignum2_bytes_direct | | Prototype: | int sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) | | Coverage: | 76.667% (23/30) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 430-464 |
| | 25 | 8 |
kex_derive_keys| Name: | kex_derive_keys | | Prototype: | int kex_derive_keys(struct ssh *ssh, u_char *hash, u_int hashlen, const struct sshbuf *shared_secret) | | Coverage: | 76.190% (16/21) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 991-1016 |
| | 17 | 5 |
sshpkt_ptr| Name: | sshpkt_ptr | | Prototype: | const u_char * sshpkt_ptr(struct ssh *ssh, size_t *lenp) | | Coverage: | 75.000% (3/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 2563-2569 |
| | 5 | 2 |
sshbuf_dup_string| Name: | sshbuf_dup_string | | Prototype: | char * sshbuf_dup_string(struct sshbuf *buf) | | Coverage: | 75.000% (15/20) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-misc.c | | Lines: | 139-160 |
| | 41 | 6 |
sshbuf_avail| Name: | sshbuf_avail | | Prototype: | size_t sshbuf_avail(const struct sshbuf *buf) | | Coverage: | 75.000% (6/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 260-266 |
| | 3 | 2 |
sshbuf_allocate| Name: | sshbuf_allocate | | Prototype: | int sshbuf_allocate(struct sshbuf *buf, size_t len) | | Coverage: | 75.000% (12/16) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 300-341 |
| | 21 | 6 |
rsa_hash_alg_nid| Name: | rsa_hash_alg_nid | | Prototype: | static int rsa_hash_alg_nid(int type) | | Coverage: | 75.000% (6/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | | Lines: | 93-106 |
| | 17 | 5 |
bitmap_from_string| Name: | bitmap_from_string | | Prototype: | int bitmap_from_string(struct bitmap *b, const void *p, size_t l) | | Coverage: | 75.000% (12/16) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 188-214 |
| | 20 | 6 |
_rs_stir_if_needed| Name: | _rs_stir_if_needed | | Prototype: | static __inline void _rs_stir_if_needed(size_t len) | | Coverage: | 75.000% (6/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c | | Lines: | 143-153 |
| | 5 | 2 |
_rs_stir| Name: | _rs_stir | | Prototype: | static void _rs_stir(void) | | Coverage: | 75.000% (6/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c | | Lines: | 116-141 |
| | 12 | 3 |
sshkey_from_blob_internal| Name: | sshkey_from_blob_internal | | Prototype: | static int sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, int allow_cert) | | Coverage: | 74.101% (103/139) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2016-2269 |
| | 303 | 44 |
ssh_free| Name: | ssh_free | | Prototype: | void ssh_free(struct ssh *ssh) | | Coverage: | 73.913% (17/23) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c | | Lines: | 137-160 |
| | 23 | 7 |
__b64_ntop| Name: | __b64_ntop | | Prototype: | int # 134 "base64.c" 3 4 __b64_ntop # 134 "base64.c" (u_char const *src,size_t srclength,char *target,size_t targsize) | | Coverage: | 73.913% (17/23) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/base64.c | | Lines: | 133-185 |
| | 38 | 8 |
fingerprint_bubblebabble| Name: | fingerprint_bubblebabble | | Prototype: | static char * fingerprint_bubblebabble(u_char *dgst_raw, size_t dgst_raw_len) | | Coverage: | 73.333% (11/15) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 985-1031 |
| | 44 | 5 |
hostkeys_foreach| Name: | hostkeys_foreach | | Prototype: | int hostkeys_foreach(const char *path, hostkeys_foreach_fn *callback, void *ctx, const char *host, const char *ip, u_int options) | | Coverage: | 72.269% (86/119) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c | | Lines: | 661-834 |
| | 168 | 31 |
sshkey_type| Name: | sshkey_type | | Prototype: | const char * sshkey_type(const struct sshkey *k) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 149-159 |
| | 5 | 3 |
ssh_hmac_free| Name: | ssh_hmac_free | | Prototype: | void ssh_hmac_free(struct ssh_hmac_ctx *ctx) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c | | Lines: | 121-135 |
| | 11 | 3 |
ssh_dispatch_range| Name: | ssh_dispatch_range | | Prototype: | void ssh_dispatch_range(struct ssh *ssh, u_int from, u_int to, dispatch_fn *fn) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c | | Lines: | 69-79 |
| | 5 | 3 |
ssh_digest_alg_by_name| Name: | ssh_digest_alg_by_name | | Prototype: | int ssh_digest_alg_by_name(const char *name) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c | | Lines: | 78-88 |
| | 5 | 3 |
kex_prop_free| Name: | kex_prop_free | | Prototype: | void kex_prop_free(char **proposal) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 365-375 |
| | 8 | 3 |
compat_datafellows| Name: | compat_datafellows | | Prototype: | u_int compat_datafellows(const char *version) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/compat.c | | Lines: | 44-158 |
| | 9 | 3 |
bitmap_set_bit| Name: | bitmap_set_bit | | Prototype: | int bitmap_set_bit(struct bitmap *b, u_int n) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 100-113 |
| | 9 | 3 |
add_listen_addr| Name: | add_listen_addr | | Prototype: | static void add_listen_addr(ServerOptions *options, const char *addr, const char *rdomain, int port) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 714-728 |
| | 6 | 3 |
ECDSA_SIG_get0| Name: | ECDSA_SIG_get0 | | Prototype: | void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 421-428 |
| | 8 | 3 |
DSA_SIG_get0| Name: | DSA_SIG_get0 | | Prototype: | void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 394-401 |
| | 8 | 3 |
sshkey_new| Name: | sshkey_new | | Prototype: | struct sshkey * sshkey_new(int type) | | Coverage: | 70.588% (24/34) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 493-558 |
| | 96 | 18 |
match_pattern_list| Name: | match_pattern_list | | Prototype: | int match_pattern_list(const char *string, const char *pattern, int dolower) | | Coverage: | 70.455% (31/44) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c | | Lines: | 120-171 |
| | 57 | 10 |
sshkey_fingerprint| Name: | sshkey_fingerprint | | Prototype: | char * sshkey_fingerprint(const struct sshkey *k, int dgst_alg, enum sshkey_fp_rep dgst_rep) | | Coverage: | 70.000% (14/20) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 1163-1206 |
| | 41 | 9 |
grow_dst| Name: | grow_dst | | Prototype: | static int grow_dst(char **dst, size_t *sz, size_t maxsz, char **dp, size_t need) | | Coverage: | 70.000% (7/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/utf8.c | | Lines: | 73-90 |
| | 15 | 4 |
DH_get0_pqg| Name: | DH_get0_pqg | | Prototype: | void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g) | | Coverage: | 70.000% (7/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 447-456 |
| | 12 | 4 |
addr_match_list| Name: | addr_match_list | | Prototype: | int addr_match_list(const char *addr, const char *_list) | | Coverage: | 69.565% (32/46) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c | | Lines: | 375-424 |
| | 150 | 13 |
sshkey_load_public| Name: | sshkey_load_public | | Prototype: | int sshkey_load_public(const char *filename, struct sshkey **keyp, char **commentp) | | Coverage: | 68.966% (20/29) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c | | Lines: | 312-354 |
| | 65 | 11 |
sshbuf_reset| Name: | sshbuf_reset | | Prototype: | void sshbuf_reset(struct sshbuf *buf) | | Coverage: | 66.667% (8/12) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 168-188 |
| | 14 | 4 |
sshbuf_get_bignum2| Name: | sshbuf_get_bignum2 | | Prototype: | int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v) | | Coverage: | 66.667% (6/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-crypto.c | | Lines: | 34-46 |
| | 14 | 3 |
ssh_digest_bytes| Name: | ssh_digest_bytes | | Prototype: | size_t ssh_digest_bytes(int alg) | | Coverage: | 66.667% (2/3) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c | | Lines: | 98-104 |
| | 6 | 1 |
ssh_digest_alg_name| Name: | ssh_digest_alg_name | | Prototype: | const char * ssh_digest_alg_name(int alg) | | Coverage: | 66.667% (2/3) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c | | Lines: | 90-96 |
| | 10 | 1 |
queue_listen_addr| Name: | queue_listen_addr | | Prototype: | static void queue_listen_addr(ServerOptions *options, const char *addr, const char *rdomain, int port) | | Coverage: | 66.667% (2/3) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 816-830 |
| | 17 | 1 |
parse_token| Name: | parse_token | | Prototype: | static ServerOpCodes parse_token(const char *cp, const char *filename, int linenum, u_int *flags) | | Coverage: | 66.667% (4/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 680-695 |
| | 8 | 3 |
fingerprint_hex| Name: | fingerprint_hex | | Prototype: | static char * fingerprint_hex(const char *alg, u_char *dgst_raw, size_t dgst_raw_len) | | Coverage: | 66.667% (6/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 967-983 |
| | 17 | 3 |
convtime| Name: | convtime | | Prototype: | long convtime(const char *s) | | Coverage: | 66.667% (32/48) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | | Lines: | 402-461 |
| | 55 | 19 |
cipher_alg_list| Name: | cipher_alg_list | | Prototype: | char * cipher_alg_list(char sep, int auth_only) | | Coverage: | 66.667% (12/18) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 117-141 |
| | 33 | 6 |
bitmap_test_bit| Name: | bitmap_test_bit | | Prototype: | int bitmap_test_bit(struct bitmap *b, u_int n) | | Coverage: | 66.667% (6/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 71-79 |
| | 5 | 3 |
bitmap_free| Name: | bitmap_free | | Prototype: | void bitmap_free(struct bitmap *b) | | Coverage: | 66.667% (4/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 53-62 |
| | 15 | 2 |
DSA_set0_key| Name: | DSA_set0_key | | Prototype: | int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key) | | Coverage: | 66.667% (8/12) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 208-224 |
| | 19 | 4 |
type_bits_valid| Name: | type_bits_valid | | Prototype: | static void type_bits_valid(int type, const char *name, u_int32_t *bitsp) | | Coverage: | 65.854% (27/41) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 205-249 |
| | 40 | 14 |
_ssh_exchange_banner| Name: | _ssh_exchange_banner | | Prototype: | int _ssh_exchange_banner(struct ssh *ssh) | | Coverage: | 65.789% (25/38) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c | | Lines: | 398-435 |
| | 46 | 9 |
bcrypt_pbkdf| Name: | bcrypt_pbkdf | | Prototype: | int bcrypt_pbkdf(const char *pass, size_t passlen, const u_int8_t *salt, size_t saltlen, u_int8_t *key, size_t keylen, unsigned int rounds) | | Coverage: | 65.714% (23/35) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bcrypt_pbkdf.c | | Lines: | 110-178 |
| | 44 | 9 |
sshkey_generate| Name: | sshkey_generate | | Prototype: | int sshkey_generate(int type, u_int bits, struct sshkey **keyp) | | Coverage: | 65.385% (17/26) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 1613-1662 |
| | 42 | 10 |
__b64_pton| Name: | __b64_pton | | Prototype: | int # 197 "base64.c" 3 4 __b64_pton # 197 "base64.c" (char const *src,u_char *target,size_t targsize) | | Coverage: | 65.060% (54/83) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/base64.c | | Lines: | 196-312 |
| | 111 | 29 |
addr_pton_cidr| Name: | addr_pton_cidr | | Prototype: | static int addr_pton_cidr(const char *p, struct xaddr *n, u_int *l) | | Coverage: | 65.000% (26/40) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c | | Lines: | 311-346 |
| | 68 | 10 |
addr_pton| Name: | addr_pton | | Prototype: | static int addr_pton(const char *p, struct xaddr *n) | | Coverage: | 65.000% (13/20) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c | | Lines: | 205-226 |
| | 42 | 6 |
sshbuf_put_bignum2| Name: | sshbuf_put_bignum2 | | Prototype: | int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) | | Coverage: | 64.706% (11/17) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-crypto.c | | Lines: | 146-166 |
| | 22 | 5 |
sshkey_private_to_fileblob| Name: | sshkey_private_to_fileblob | | Prototype: | int sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob, const char *passphrase, const char *comment, int force_new_format, const char *new_format_cipher, int new_format_rounds) | | Coverage: | 63.636% (7/11) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 3826-3852 |
| | 9 | 7 |
sshkey_verify| Name: | sshkey_verify | | Prototype: | int sshkey_verify(const struct sshkey *key, const u_char *sig, size_t siglen, const u_char *data, size_t dlen, const char *alg, u_int compat) | | Coverage: | 63.158% (12/19) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2435-2467 |
| | 8 | 11 |
RSA_set0_key| Name: | RSA_set0_key | | Prototype: | int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) | | Coverage: | 63.158% (12/19) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 241-261 |
| | 34 | 5 |
log_level_number| Name: | log_level_number | | Prototype: | LogLevel log_level_number(char *name) | | Coverage: | 62.500% (5/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c | | Lines: | 137-147 |
| | 8 | 4 |
uudecode| Name: | uudecode | | Prototype: | int uudecode(const char *src, u_char *target, size_t targsize) | | Coverage: | 61.538% (8/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/uuencode.c | | Lines: | 55-73 |
| | 13 | 3 |
fingerprint_one_key| Name: | fingerprint_one_key | | Prototype: | static void fingerprint_one_key(const struct sshkey *public, const char *comment) | | Coverage: | 61.538% (8/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 855-874 |
| | 29 | 3 |
sshbuf_get_bignum1| Name: | sshbuf_get_bignum1 | | Prototype: | int sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v) | | Coverage: | 61.111% (11/18) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-crypto.c | | Lines: | 48-72 |
| | 22 | 6 |
kex_prop2buf| Name: | kex_prop2buf | | Prototype: | int kex_prop2buf(struct sshbuf *b, char *proposal[PROPOSAL_MAX]) | | Coverage: | 61.111% (11/18) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 297-321 |
| | 13 | 6 |
get_line| Name: | get_line | | Prototype: | static int get_line(FILE *fp, char *line, size_t len) | | Coverage: | 61.111% (11/18) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 580-604 |
| | 27 | 6 |
kex_choose_conf| Name: | kex_choose_conf | | Prototype: | static int kex_choose_conf(struct ssh *ssh) | | Coverage: | 60.526% (46/76) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 815-925 |
| | 126 | 15 |
compat_init_setproctitle| Name: | compat_init_setproctitle | | Prototype: | void compat_init_setproctitle(int argc, char *argv[]) | | Coverage: | 60.526% (23/38) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/setproctitle.c | | Lines: | 67-119 |
| | 83 | 10 |
sshkey_ec_nid_to_hash_alg| Name: | sshkey_ec_nid_to_hash_alg | | Prototype: | int sshkey_ec_nid_to_hash_alg(int nid) | | Coverage: | 60.000% (6/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 436-451 |
| | 8 | 4 |
sshbuf_put_bignum1| Name: | sshbuf_put_bignum1 | | Prototype: | int sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v) | | Coverage: | 60.000% (9/15) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-crypto.c | | Lines: | 168-188 |
| | 15 | 5 |
snmprintf| Name: | snmprintf | | Prototype: | int snmprintf(char *str, size_t sz, int *wp, const char *fmt, ...) | | Coverage: | 60.000% (3/5) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/utf8.c | | Lines: | 240-256 |
| | 29 | 2 |
rsa_generate_private_key| Name: | rsa_generate_private_key | | Prototype: | static int rsa_generate_private_key(u_int bits, RSA **rsap) | | Coverage: | 60.000% (12/20) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 1473-1502 |
| | 54 | 6 |
process_queued_listen_addrs| Name: | process_queued_listen_addrs | | Prototype: | static void process_queued_listen_addrs(ServerOptions *options) | | Coverage: | 60.000% (6/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 835-855 |
| | 22 | 4 |
chacha_keysetup| Name: | chacha_keysetup | | Prototype: | void chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) | | Coverage: | 60.000% (3/5) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/chacha.c | | Lines: | 55-78 |
| | 17 | 2 |
chacha_keysetup| Name: | chacha_keysetup | | Prototype: | static void chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ivbits) | | Coverage: | 60.000% (3/5) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/chacha_private.h | | Lines: | 54-77 |
| | 17 | 2 |
sshkey_alg_list| Name: | sshkey_alg_list | | Prototype: | char * sshkey_alg_list(int certs_only, int plain_only, int include_sigonly, char sep) | | Coverage: | 59.259% (16/27) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 226-252 |
| | 34 | 7 |
load_server_config| Name: | load_server_config | | Prototype: | void load_server_config(const char *filename, struct sshbuf *conf) | | Coverage: | 59.091% (13/22) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 2175-2207 |
| | 73 | 6 |
hostfile_read_key| Name: | hostfile_read_key | | Prototype: | int hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret) | | Coverage: | 58.824% (10/17) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c | | Lines: | 162-184 |
| | 12 | 5 |
ssh_packet_next| Name: | ssh_packet_next | | Prototype: | int ssh_packet_next(struct ssh *ssh, u_char *typep) | | Coverage: | 58.333% (14/24) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c | | Lines: | 227-266 |
| | 25 | 6 |
reserve| Name: | reserve | | Prototype: | static int reserve(struct bitmap *b, u_int n) | | Coverage: | 58.333% (7/12) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 81-98 |
| | 14 | 4 |
sshkey_parse_private_fileblob| Name: | sshkey_parse_private_fileblob | | Prototype: | int sshkey_parse_private_fileblob(struct sshbuf *buffer, const char *passphrase, struct sshkey **keyp, char **commentp) | | Coverage: | 57.143% (4/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 4052-4063 |
| | 18 | 3 |
kex_derive_keys_bn| Name: | kex_derive_keys_bn | | Prototype: | int kex_derive_keys_bn(struct ssh *ssh, u_char *hash, u_int hashlen, const BIGNUM *secret) | | Coverage: | 57.143% (4/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 1019-1032 |
| | 10 | 3 |
get_sigtype| Name: | get_sigtype | | Prototype: | static int get_sigtype(const u_char *sig, size_t siglen, char **sigtypep) | | Coverage: | 57.143% (8/14) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2303-2326 |
| | 42 | 6 |
DH_get0_key| Name: | DH_get0_key | | Prototype: | void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) | | Coverage: | 57.143% (4/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 484-491 |
| | 8 | 3 |
recallocarray| Name: | recallocarray | | Prototype: | void * recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size) | | Coverage: | 56.757% (21/37) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/recallocarray.c | | Lines: | 37-87 |
| | 65 | 8 |