| Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
bitmap_clear_bit| Name: | bitmap_clear_bit | | Prototype: | void bitmap_clear_bit(struct bitmap *b, u_int n) | | Coverage: | 44.444% (4/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 125-138 |
| | 8 | 3 |
kexgex_client| Name: | kexgex_client | | Prototype: | int kexgex_client(struct ssh *ssh) | | Coverage: | 44.444% (8/18) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexgexc.c | | Lines: | 59-91 |
| | 21 | 4 |
ssh_rsa_complete_crt_parameters| Name: | ssh_rsa_complete_crt_parameters | | Prototype: | int ssh_rsa_complete_crt_parameters(struct sshkey *key, const BIGNUM *iqmp) | | Coverage: | 44.444% (16/36) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | | Lines: | 108-160 |
| | 154 | 8 |
sshkey_perm_ok| Name: | sshkey_perm_ok | | Prototype: | int sshkey_perm_ok(int fd, const char *filename) | | Coverage: | 44.444% (4/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c | | Lines: | 139-165 |
| | 13 | 3 |
cipher_init| Name: | cipher_init | | Prototype: | int cipher_init(struct sshcipher_ctx **ccp, const struct sshcipher *cipher, const u_char *key, u_int keylen, const u_char *iv, u_int ivlen, int do_encrypt) | | Coverage: | 44.681% (21/47) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 235-322 |
| | 83 | 14 |
sshkey_load_private| Name: | sshkey_load_private | | Prototype: | int sshkey_load_private(const char *filename, const char *passphrase, struct sshkey **keyp, char **commentp) | | Coverage: | 44.828% (13/29) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c | | Lines: | 227-262 |
| | 47 | 9 |
input_kex_ecdh_init| Name: | input_kex_ecdh_init | | Prototype: | static int input_kex_ecdh_init(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 44.928% (31/69) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexecdhs.c | | Lines: | 60-201 |
| | 150 | 19 |
input_kex_c25519_init| Name: | input_kex_c25519_init | | Prototype: | static int input_kex_c25519_init(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 45.283% (24/53) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519s.c | | Lines: | 54-158 |
| | 105 | 15 |
cert_new| Name: | cert_new | | Prototype: | static struct sshkey_cert * cert_new(void) | | Coverage: | 45.455% (5/11) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 473-491 |
| | 49 | 3 |
host_hash| Name: | host_hash | | Prototype: | char * host_hash(const char *host, const char *name_from_hostfile, u_int src_len) | | Coverage: | 45.455% (10/22) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c | | Lines: | 119-155 |
| | 38 | 5 |
sshkey_save_private| Name: | sshkey_save_private | | Prototype: | int sshkey_save_private(struct sshkey *key, const char *filename, const char *passphrase, const char *comment, int force_new_format, const char *new_format_cipher, int new_format_rounds) | | Coverage: | 45.455% (5/11) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c | | Lines: | 74-93 |
| | 18 | 5 |
kex_c25519_hash| Name: | kex_c25519_hash | | Prototype: | int kex_c25519_hash( int hash_alg, const char *client_version_string, const char *server_version_string, const u_char *ckexinit, size_t ckexinitlen, const u_char *skexinit, size_t skexinitlen, const u_char *serverhostkeyblob, size_t sbloblen, const u_char client_dh_pub[32], const u_char server_dh_pub[32], const u_char *shared_secret, size_t secretlen, u_char *hash, size_t *hashlen) | | Coverage: | 45.714% (16/35) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519.c | | Lines: | 84-133 |
| | 29 | 5 |
kex_dh_hash| Name: | kex_dh_hash | | Prototype: | int kex_dh_hash( int hash_alg, const char *client_version_string, const char *server_version_string, const u_char *ckexinit, size_t ckexinitlen, const u_char *skexinit, size_t skexinitlen, const u_char *serverhostkeyblob, size_t sbloblen, const BIGNUM *client_dh_pub, const BIGNUM *server_dh_pub, const BIGNUM *shared_secret, u_char *hash, size_t *hashlen) | | Coverage: | 45.714% (16/35) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexdh.c | | Lines: | 46-95 |
| | 29 | 5 |
kex_ecdh_hash| Name: | kex_ecdh_hash | | Prototype: | int kex_ecdh_hash( int hash_alg, const EC_GROUP *ec_group, const char *client_version_string, const char *server_version_string, const u_char *ckexinit, size_t ckexinitlen, const u_char *skexinit, size_t skexinitlen, const u_char *serverhostkeyblob, size_t sbloblen, const EC_POINT *client_dh_pub, const EC_POINT *server_dh_pub, const BIGNUM *shared_secret, u_char *hash, size_t *hashlen) | | Coverage: | 45.714% (16/35) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexecdh.c | | Lines: | 49-99 |
| | 29 | 5 |
ssh_packet_set_state| Name: | ssh_packet_set_state | | Prototype: | int ssh_packet_set_state(struct ssh *ssh, struct sshbuf *m) | | Coverage: | 45.833% (22/48) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 2370-2417 |
| | 35 | 6 |
input_kex_dh_gex_init| Name: | input_kex_dh_gex_init | | Prototype: | static int input_kex_dh_gex_init(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 46.032% (29/63) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexgexs.c | | Lines: | 125-254 |
| | 141 | 17 |
input_kex_dh_init| Name: | input_kex_dh_init | | Prototype: | int input_kex_dh_init(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 46.032% (29/63) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexdhs.c | | Lines: | 95-221 |
| | 135 | 17 |
ssh_hmac_final| Name: | ssh_hmac_final | | Prototype: | int ssh_hmac_final(struct ssh_hmac_ctx *ctx, u_char *d, size_t dlen) | | Coverage: | 46.154% (6/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c | | Lines: | 104-119 |
| | 10 | 3 |
input_kex_dh_gex_request| Name: | input_kex_dh_gex_request | | Prototype: | static int input_kex_dh_gex_request(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 46.667% (21/45) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexgexs.c | | Lines: | 71-123 |
| | 45 | 7 |
kexecdh_client| Name: | kexecdh_client | | Prototype: | int kexecdh_client(struct ssh *ssh) | | Coverage: | 46.667% (7/15) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexecdhc.c | | Lines: | 54-94 |
| | 36 | 5 |
ssh_packet_set_connection| Name: | ssh_packet_set_connection | | Prototype: | struct ssh * ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) | | Coverage: | 46.667% (7/15) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 282-317 |
| | 54 | 5 |
input_kex_dh_gex_reply| Name: | input_kex_dh_gex_reply | | Prototype: | static int input_kex_dh_gex_reply(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 46.875% (30/64) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexgexc.c | | Lines: | 147-269 |
| | 140 | 18 |
kexgex_hash| Name: | kexgex_hash | | Prototype: | int kexgex_hash( int hash_alg, const char *client_version_string, const char *server_version_string, const u_char *ckexinit, size_t ckexinitlen, const u_char *skexinit, size_t skexinitlen, const u_char *serverhostkeyblob, size_t sbloblen, int min, int wantbits, int max, const BIGNUM *prime, const BIGNUM *gen, const BIGNUM *client_dh_pub, const BIGNUM *server_dh_pub, const BIGNUM *shared_secret, u_char *hash, size_t *hashlen) | | Coverage: | 46.939% (23/49) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexgex.c | | Lines: | 46-103 |
| | 34 | 5 |
input_kex_c25519_reply| Name: | input_kex_c25519_reply | | Prototype: | static int input_kex_c25519_reply(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 47.059% (24/51) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519c.c | | Lines: | 71-169 |
| | 98 | 15 |
input_kex_dh| Name: | input_kex_dh | | Prototype: | static int input_kex_dh(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 47.541% (29/61) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexdhc.c | | Lines: | 107-223 |
| | 130 | 17 |
input_kex_ecdh_reply| Name: | input_kex_ecdh_reply | | Prototype: | static int input_kex_ecdh_reply(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 47.541% (29/61) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexecdhc.c | | Lines: | 96-220 |
| | 137 | 17 |
sshkey_parse_private_fileblob_type| Name: | sshkey_parse_private_fileblob_type | | Prototype: | int sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type, const char *passphrase, struct sshkey **keyp, char **commentp) | | Coverage: | 47.619% (10/21) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 4010-4050 |
| | 29 | 10 |
sshkey_size| Name: | sshkey_size | | Prototype: | u_int sshkey_size(const struct sshkey *k) | | Coverage: | 47.619% (10/21) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 291-323 |
| | 33 | 13 |
ssh_dss_sign| Name: | ssh_dss_sign | | Prototype: | int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, u_int compat) | | Coverage: | 47.826% (22/46) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-dss.c | | Lines: | 51-117 |
| | 99 | 14 |
ssh_ecdsa_sign| Name: | ssh_ecdsa_sign | | Prototype: | int ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, u_int compat) | | Coverage: | 48.000% (24/50) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ecdsa.c | | Lines: | 49-110 |
| | 89 | 14 |
strdelim_internal| Name: | strdelim_internal | | Prototype: | static char * strdelim_internal(char **s, int split_equals) | | Coverage: | 48.000% (12/25) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | | Lines: | 241-280 |
| | 97 | 7 |
sshkey_read| Name: | sshkey_read | | Prototype: | int sshkey_read(struct sshkey *ret, char **cpp) | | Coverage: | 48.352% (44/91) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 1227-1387 |
| | 168 | 34 |
openssh_RSA_verify| Name: | openssh_RSA_verify | | Prototype: | static int openssh_RSA_verify(int hash_alg, u_char *hash, size_t hashlen, u_char *sigbuf, size_t siglen, RSA *rsa) | | Coverage: | 48.485% (16/33) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | | Lines: | 402-448 |
| | 48 | 9 |
ssh_rsa_sign| Name: | ssh_rsa_sign | | Prototype: | int ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg_ident) | | Coverage: | 48.485% (32/66) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | | Lines: | 163-242 |
| | 106 | 19 |
do_convert_from| Name: | do_convert_from | | Prototype: | static void do_convert_from(struct passwd *pw) | | Coverage: | 48.571% (17/35) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 717-774 |
| | 112 | 15 |
kex_input_kexinit| Name: | kex_input_kexinit | | Prototype: | int kex_input_kexinit(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 48.649% (18/37) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 528-578 |
| | 58 | 12 |
DH_set_length| Name: | DH_set_length | | Prototype: | int DH_set_length(DH *dh, long length) | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 512-520 |
| | 4 | 2 |
DSA_SIG_set0| Name: | DSA_SIG_set0 | | Prototype: | int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s) | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 405-417 |
| | 13 | 2 |
ECDSA_SIG_set0| Name: | ECDSA_SIG_set0 | | Prototype: | int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 432-443 |
| | 13 | 2 |
EVP_MD_CTX_free| Name: | EVP_MD_CTX_free | | Prototype: | void EVP_MD_CTX_free(EVP_MD_CTX *ctx) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 624-633 |
| | 6 | 2 |
RSA_get0_crt_params| Name: | RSA_get0_crt_params | | Prototype: | void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, const BIGNUM **iqmp) | | Coverage: | 50.000% (5/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 265-275 |
| | 12 | 4 |
_rs_init| Name: | _rs_init | | Prototype: | static __inline void _rs_init(u_char *buf, size_t n) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c | | Lines: | 75-82 |
| | 4 | 2 |
a2port| Name: | a2port | | Prototype: | int a2port(const char *s) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | | Lines: | 332-342 |
| | 8 | 2 |
accumulate_host_timing_secret| Name: | accumulate_host_timing_secret | | Prototype: | static void accumulate_host_timing_secret(struct sshbuf *server_cfg, const struct sshkey *key) | | Coverage: | 50.000% (12/24) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c | | Lines: | 1426-1461 |
| | 41 | 8 |
addr_hostmask| Name: | addr_hostmask | | Prototype: | static int addr_hostmask(int af, u_int l, struct xaddr *n) | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c | | Lines: | 258-264 |
| | 3 | 2 |
arc4random_uniform| Name: | arc4random_uniform | | Prototype: | u_int32_t arc4random_uniform(u_int32_t upper_bound) | | Coverage: | 50.000% (4/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c | | Lines: | 291-315 |
| | 9 | 4 |
array_append| Name: | array_append | | Prototype: | static void array_append(const char *file, const int line, const char *directive, char ***array, u_int *lp, const char *s) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 223-234 |
| | 5 | 2 |
chachapoly_init| Name: | chachapoly_init | | Prototype: | int chachapoly_init(struct chachapoly_ctx *ctx, const u_char *key, u_int keylen) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher-chachapoly.c | | Lines: | 31-40 |
| | 5 | 2 |
cipher_warning_message| Name: | cipher_warning_message | | Prototype: | const char * cipher_warning_message(const struct sshcipher_ctx *cc) | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 226-233 |
| | 17 | 2 |
closefrom| Name: | closefrom | | Prototype: | void closefrom(int lowfd) | | Coverage: | 50.000% (15/30) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bsd-closefrom.c | | Lines: | 68-107 |
| | 28 | 6 |
convert_libcrypto_error| Name: | convert_libcrypto_error | | Prototype: | static int convert_libcrypto_error(void) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 3903-3914 |
| | 4 | 2 |
crypto_hash_sha512| Name: | crypto_hash_sha512 | | Prototype: | int crypto_hash_sha512(unsigned char *out, const unsigned char *in, unsigned long long inlen) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hash.c | | Lines: | 17-27 |
| | 5 | 2 |
default_key_sign| Name: | default_key_sign | | Prototype: | static int default_key_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg, u_int compat, void *ctx) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2665-2673 |
| | 5 | 2 |
do_convert_to_ssh2| Name: | do_convert_to_ssh2 | | Prototype: | static void do_convert_to_ssh2(struct passwd *pw, struct sshkey *k) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 328-351 |
| | 33 | 2 |
filter_list| Name: | filter_list | | Prototype: | static char * filter_list(const char *proposal, const char *filter, int blacklist) | | Coverage: | 50.000% (15/30) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c | | Lines: | 303-330 |
| | 131 | 6 |
kex_buf2prop| Name: | kex_buf2prop | | Prototype: | int kex_buf2prop(struct sshbuf *raw, int *first_kex_follows, char ***propp) | | Coverage: | 50.000% (15/30) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 324-363 |
| | 54 | 10 |
kex_to_blob| Name: | kex_to_blob | | Prototype: | static int kex_to_blob(struct sshbuf *m, struct kex *kex) | | Coverage: | 50.000% (12/24) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 2164-2183 |
| | 15 | 2 |
kexc25519_client| Name: | kexc25519_client | | Prototype: | int kexc25519_client(struct ssh *ssh) | | Coverage: | 50.000% (4/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519c.c | | Lines: | 49-69 |
| | 11 | 2 |
kexc25519_shared_key| Name: | kexc25519_shared_key | | Prototype: | int kexc25519_shared_key(const u_char key[32], const u_char pub[32], struct sshbuf *out) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519.c | | Lines: | 62-82 |
| | 10 | 2 |
ssh_clear_newkeys| Name: | ssh_clear_newkeys | | Prototype: | void ssh_clear_newkeys(struct ssh *ssh, int mode) | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 819-826 |
| | 7 | 2 |
ssh_digest_update| Name: | ssh_digest_update | | Prototype: | int ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c | | Lines: | 143-149 |
| | 3 | 2 |
ssh_packet_get_state| Name: | ssh_packet_get_state | | Prototype: | int ssh_packet_get_state(struct ssh *ssh, struct sshbuf *m) | | Coverage: | 50.000% (16/32) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 2230-2254 |
| | 19 | 2 |
ssh_packet_set_postauth| Name: | ssh_packet_set_postauth | | Prototype: | static int ssh_packet_set_postauth(struct ssh *ssh) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 2147-2159 |
| | 7 | 2 |
sshbuf_check_sanity| Name: | sshbuf_check_sanity | | Prototype: | static inline int sshbuf_check_sanity(const struct sshbuf *buf) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 31-50 |
| | 25 | 2 |
sshbuf_from| Name: | sshbuf_from | | Prototype: | struct sshbuf * sshbuf_from(const void *blob, size_t len) | | Coverage: | 50.000% (4/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 87-102 |
| | 29 | 2 |
sshbuf_get_eckey| Name: | sshbuf_get_eckey | | Prototype: | int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v) | | Coverage: | 50.000% (8/16) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-crypto.c | | Lines: | 110-143 |
| | 29 | 6 |
sshbuf_get_stringb| Name: | sshbuf_get_stringb | | Prototype: | int sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v) | | Coverage: | 50.000% (5/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 215-233 |
| | 17 | 2 |
sshbuf_len| Name: | sshbuf_len | | Prototype: | size_t sshbuf_len(const struct sshbuf *buf) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 252-258 |
| | 3 | 2 |
sshbuf_ptr| Name: | sshbuf_ptr | | Prototype: | const u_char * sshbuf_ptr(const struct sshbuf *buf) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 268-274 |
| | 7 | 2 |
sshbuf_put_u8| Name: | sshbuf_put_u8 | | Prototype: | int sshbuf_put_u8(struct sshbuf *buf, u_char val) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 335-345 |
| | 6 | 2 |
sshbuf_set_parent| Name: | sshbuf_set_parent | | Prototype: | int sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent) | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 104-115 |
| | 7 | 2 |
sshkey_ecdsa_bits_to_nid| Name: | sshkey_ecdsa_bits_to_nid | | Prototype: | int sshkey_ecdsa_bits_to_nid(int bits) | | Coverage: | 50.000% (4/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 402-417 |
| | 17 | 5 |
sshkey_equal| Name: | sshkey_equal | | Prototype: | int sshkey_equal(const struct sshkey *a, const struct sshkey *b) | | Coverage: | 50.000% (7/14) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 712-722 |
| | 14 | 4 |
sshkey_format_text| Name: | sshkey_format_text | | Prototype: | int sshkey_format_text(const struct sshkey *key, struct sshbuf *b) | | Coverage: | 50.000% (4/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 1419-1434 |
| | 14 | 4 |
sshkey_from_blob| Name: | sshkey_from_blob | | Prototype: | int sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2271-2282 |
| | 9 | 2 |
sshkey_is_cert| Name: | sshkey_is_cert | | Prototype: | int sshkey_is_cert(const struct sshkey *k) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 340-346 |
| | 5 | 2 |
sshkey_set_filename| Name: | sshkey_set_filename | | Prototype: | int sshkey_set_filename(struct sshkey *k, const char *filename) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 4143-4149 |
| | 5 | 2 |
sshkey_type_is_valid_ca| Name: | sshkey_type_is_valid_ca | | Prototype: | static int sshkey_type_is_valid_ca(int type) | | Coverage: | 50.000% (4/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 325-338 |
| | 3 | 7 |
sshpkt_get_end| Name: | sshpkt_get_end | | Prototype: | int sshpkt_get_end(struct ssh *ssh) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 2555-2561 |
| | 3 | 2 |
sshpkt_send| Name: | sshpkt_send | | Prototype: | int sshpkt_send(struct ssh *ssh) | | Coverage: | 50.000% (3/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 2648-2654 |
| | 3 | 2 |
xreallocarray| Name: | xreallocarray | | Prototype: | void * xreallocarray(void *ptr, size_t nmemb, size_t size) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c | | Lines: | 68-78 |
| | 8 | 2 |
xrecallocarray| Name: | xrecallocarray | | Prototype: | void * xrecallocarray(void *ptr, size_t onmemb, size_t nmemb, size_t size) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c | | Lines: | 80-90 |
| | 8 | 2 |
ssh_ed25519_sign| Name: | ssh_ed25519_sign | | Prototype: | int ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, u_int compat) | | Coverage: | 51.111% (23/45) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ed25519.c | | Lines: | 35-92 |
| | 77 | 13 |
derive_key| Name: | derive_key | | Prototype: | static int derive_key(struct ssh *ssh, int id, u_int need, u_char *hash, u_int hashlen, const struct sshbuf *shared_secret, u_char **keyp) | | Coverage: | 51.429% (18/35) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 927-988 |
| | 65 | 7 |
ssh_packet_need_rekeying| Name: | ssh_packet_need_rekeying | | Prototype: | static int ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len) | | Coverage: | 51.429% (18/35) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 924-969 |
| | 26 | 7 |
dh_pub_is_valid| Name: | dh_pub_is_valid | | Prototype: | int dh_pub_is_valid(const DH *dh, const BIGNUM *dh_pub) | | Coverage: | 52.174% (12/23) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/dh.c | | Lines: | 222-268 |
| | 44 | 8 |
sshkey_parse_private_pem_fileblob| Name: | sshkey_parse_private_pem_fileblob | | Prototype: | static int sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type, const char *passphrase, struct sshkey **keyp) | | Coverage: | 52.308% (34/65) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 3916-4007 |
| | 125 | 16 |
DH_set0_pqg| Name: | DH_set0_pqg | | Prototype: | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) | | Coverage: | 52.632% (10/19) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 460-480 |
| | 34 | 5 |
sshbuf_froms| Name: | sshbuf_froms | | Prototype: | int sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp) | | Coverage: | 52.941% (9/17) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 377-399 |
| | 29 | 5 |
sshkey_load_cert| Name: | sshkey_load_cert | | Prototype: | int sshkey_load_cert(const char *filename, struct sshkey **keyp) | | Coverage: | 52.941% (9/17) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c | | Lines: | 357-385 |
| | 44 | 7 |
sshkey_to_base64| Name: | sshkey_to_base64 | | Prototype: | int sshkey_to_base64(const struct sshkey *key, char **b64p) | | Coverage: | 52.941% (9/17) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 1390-1417 |
| | 43 | 7 |
fill_default_server_options| Name: | fill_default_server_options | | Prototype: | void fill_default_server_options(ServerOptions *options) | | Coverage: | 53.160% (143/269) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 258-460 |
| | 404 | 85 |
parse_server_config| Name: | parse_server_config | | Prototype: | void parse_server_config(ServerOptions *options, const char *filename, struct sshbuf *conf, struct connection_info *connectinfo) | | Coverage: | 53.333% (8/15) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 2359-2382 |
| | 88 | 5 |
to_blob_buf| Name: | to_blob_buf | | Prototype: | static int to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain, enum sshkey_serialize_rep opts) | | Coverage: | 53.333% (40/75) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 724-820 |
| | 72 | 23 |
mysignal| Name: | mysignal | | Prototype: | mysig_t mysignal(int sig, mysig_t act) | | Coverage: | 53.846% (7/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bsd-signal.c | | Lines: | 27-51 |
| | 39 | 5 |
sshbuf_b64tod| Name: | sshbuf_b64tod | | Prototype: | int sshbuf_b64tod(struct sshbuf *buf, const char *b64) | | Coverage: | 53.846% (7/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-misc.c | | Lines: | 113-137 |
| | 24 | 5 |
_ssh_host_private_key| Name: | _ssh_host_private_key | | Prototype: | struct sshkey * _ssh_host_private_key(int type, int nid, struct ssh *ssh) | | Coverage: | 54.545% (6/11) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c | | Lines: | 452-465 |
| | 15 | 3 |
_ssh_host_public_key| Name: | _ssh_host_public_key | | Prototype: | struct sshkey * _ssh_host_public_key(int type, int nid, struct ssh *ssh) | | Coverage: | 54.545% (6/11) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c | | Lines: | 437-450 |
| | 15 | 3 |
ssh_packet_type_is_kex| Name: | ssh_packet_type_is_kex | | Prototype: | static int ssh_packet_type_is_kex(u_char type) | | Coverage: | 54.545% (6/11) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 1185-1194 |
| | 6 | 1 |
sshkey_equal_public| Name: | sshkey_equal_public | | Prototype: | int sshkey_equal_public(const struct sshkey *a, const struct sshkey *b) | | Coverage: | 54.545% (36/66) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 635-710 |
| | 103 | 16 |