| Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
equal| Name: | equal | | Prototype: | static unsigned char equal(signed char b,signed char c) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c | | Lines: | 152-161 |
| | 7 | 1 |
dh_new_group18| Name: | dh_new_group18 | | Prototype: | DH * dh_new_group18(void) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/dh.c | | Lines: | 406-455 |
| | 1 | 1 |
dh_new_group14| Name: | dh_new_group14 | | Prototype: | DH * dh_new_group14(void) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/dh.c | | Lines: | 355-372 |
| | 1 | 1 |
dh_new_group1| Name: | dh_new_group1 | | Prototype: | DH * dh_new_group1(void) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/dh.c | | Lines: | 340-352 |
| | 1 | 1 |
debug3| Name: | debug3 | | Prototype: | void debug3(const char *fmt,...) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c | | Lines: | 242-250 |
| | 20 | 1 |
debug2| Name: | debug2 | | Prototype: | void debug2(const char *fmt,...) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c | | Lines: | 232-240 |
| | 20 | 1 |
debug| Name: | debug | | Prototype: | void debug(const char *fmt,...) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c | | Lines: | 222-230 |
| | 20 | 1 |
dbl_p1p1| Name: | dbl_p1p1 | | Prototype: | static void dbl_p1p1(ge25519_p1p1 *r, const ge25519_p2 *p) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c | | Lines: | 127-143 |
| | 13 | 1 |
crypto_verify_32| Name: | crypto_verify_32 | | Prototype: | int crypto_verify_32(const unsigned char *x,const unsigned char *y) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/verify.c | | Lines: | 12-49 |
| | 34 | 1 |
crypto_sign_ed25519_ref_unpackneg_vartime| Name: | crypto_sign_ed25519_ref_unpackneg_vartime | | Prototype: | int crypto_sign_ed25519_ref_unpackneg_vartime(crypto_sign_ed25519_ref_ge25519 *r, const unsigned char p[32]) | | Coverage: | 100.000% (10/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c | | Lines: | 196-241 |
| | 31 | 4 |
crypto_sign_ed25519_ref_scalarmult_base| Name: | crypto_sign_ed25519_ref_scalarmult_base | | Prototype: | void crypto_sign_ed25519_ref_scalarmult_base(crypto_sign_ed25519_ref_ge25519 *r, const crypto_sign_ed25519_ref_sc25519 *s) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c | | Lines: | 306-321 |
| | 10 | 2 |
crypto_sign_ed25519_ref_sc25519_window3| Name: | crypto_sign_ed25519_ref_sc25519_window3 | | Prototype: | void crypto_sign_ed25519_ref_sc25519_window3(signed char r[85], const crypto_sign_ed25519_ref_sc25519 *s) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c | | Lines: | 221-256 |
| | 27 | 3 |
crypto_sign_ed25519_ref_sc25519_to32bytes| Name: | crypto_sign_ed25519_ref_sc25519_to32bytes | | Prototype: | void crypto_sign_ed25519_ref_sc25519_to32bytes(unsigned char r[32], const crypto_sign_ed25519_ref_sc25519 *x) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c | | Lines: | 134-138 |
| | 2 | 2 |
crypto_sign_ed25519_ref_sc25519_mul| Name: | crypto_sign_ed25519_ref_sc25519_mul | | Prototype: | void crypto_sign_ed25519_ref_sc25519_mul(crypto_sign_ed25519_ref_sc25519 *r, const crypto_sign_ed25519_ref_sc25519 *x, const crypto_sign_ed25519_ref_sc25519 *y) | | Coverage: | 100.000% (12/12) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c | | Lines: | 193-212 |
| | 11 | 5 |
crypto_sign_ed25519_ref_sc25519_from64bytes| Name: | crypto_sign_ed25519_ref_sc25519_from64bytes | | Prototype: | void crypto_sign_ed25519_ref_sc25519_from64bytes(crypto_sign_ed25519_ref_sc25519 *r, const unsigned char x[64]) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c | | Lines: | 117-123 |
| | 4 | 2 |
crypto_sign_ed25519_ref_sc25519_from32bytes| Name: | crypto_sign_ed25519_ref_sc25519_from32bytes | | Prototype: | void crypto_sign_ed25519_ref_sc25519_from32bytes(crypto_sign_ed25519_ref_sc25519 *r, const unsigned char x[32]) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c | | Lines: | 102-109 |
| | 5 | 3 |
crypto_sign_ed25519_ref_sc25519_add| Name: | crypto_sign_ed25519_ref_sc25519_add | | Prototype: | void crypto_sign_ed25519_ref_sc25519_add(crypto_sign_ed25519_ref_sc25519 *r, const crypto_sign_ed25519_ref_sc25519 *x, const crypto_sign_ed25519_ref_sc25519 *y) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c | | Lines: | 167-178 |
| | 7 | 3 |
crypto_sign_ed25519_ref_sc25519_2interleave2| Name: | crypto_sign_ed25519_ref_sc25519_2interleave2 | | Prototype: | void crypto_sign_ed25519_ref_sc25519_2interleave2(unsigned char r[127], const crypto_sign_ed25519_ref_sc25519 *s1, const crypto_sign_ed25519_ref_sc25519 *s2) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c | | Lines: | 295-308 |
| | 9 | 2 |
crypto_sign_ed25519_ref_pack| Name: | crypto_sign_ed25519_ref_pack | | Prototype: | void crypto_sign_ed25519_ref_pack(unsigned char r[32], const crypto_sign_ed25519_ref_ge25519 *p) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c | | Lines: | 243-251 |
| | 6 | 1 |
crypto_sign_ed25519_ref_fe25519_unpack| Name: | crypto_sign_ed25519_ref_fe25519_unpack | | Prototype: | void crypto_sign_ed25519_ref_fe25519_unpack(crypto_sign_ed25519_ref_fe25519 *r, const unsigned char x[32]) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 100-105 |
| | 3 | 2 |
crypto_sign_ed25519_ref_fe25519_sub| Name: | crypto_sign_ed25519_ref_fe25519_sub | | Prototype: | void crypto_sign_ed25519_ref_fe25519_sub(crypto_sign_ed25519_ref_fe25519 *r, const crypto_sign_ed25519_ref_fe25519 *x, const crypto_sign_ed25519_ref_fe25519 *y) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 185-194 |
| | 7 | 3 |
crypto_sign_ed25519_ref_fe25519_square| Name: | crypto_sign_ed25519_ref_fe25519_square | | Prototype: | void crypto_sign_ed25519_ref_fe25519_square(crypto_sign_ed25519_ref_fe25519 *r, const crypto_sign_ed25519_ref_fe25519 *x) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 213-216 |
| | 1 | 1 |
crypto_sign_ed25519_ref_fe25519_setzero| Name: | crypto_sign_ed25519_ref_fe25519_setzero | | Prototype: | void crypto_sign_ed25519_ref_fe25519_setzero(crypto_sign_ed25519_ref_fe25519 *r) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 163-167 |
| | 2 | 2 |
crypto_sign_ed25519_ref_fe25519_setone| Name: | crypto_sign_ed25519_ref_fe25519_setone | | Prototype: | void crypto_sign_ed25519_ref_fe25519_setone(crypto_sign_ed25519_ref_fe25519 *r) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 156-161 |
| | 3 | 2 |
crypto_sign_ed25519_ref_fe25519_pow2523| Name: | crypto_sign_ed25519_ref_fe25519_pow2523 | | Prototype: | void crypto_sign_ed25519_ref_fe25519_pow2523(crypto_sign_ed25519_ref_fe25519 *r, const crypto_sign_ed25519_ref_fe25519 *x) | | Coverage: | 100.000% (22/22) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 285-337 |
| | 41 | 8 |
crypto_sign_ed25519_ref_fe25519_pack| Name: | crypto_sign_ed25519_ref_fe25519_pack | | Prototype: | void crypto_sign_ed25519_ref_fe25519_pack(unsigned char r[32], const crypto_sign_ed25519_ref_fe25519 *x) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 108-115 |
| | 5 | 2 |
crypto_sign_ed25519_ref_fe25519_neg| Name: | crypto_sign_ed25519_ref_fe25519_neg | | Prototype: | void crypto_sign_ed25519_ref_fe25519_neg(crypto_sign_ed25519_ref_fe25519 *r, const crypto_sign_ed25519_ref_fe25519 *x) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 169-176 |
| | 5 | 2 |
crypto_sign_ed25519_ref_fe25519_mul| Name: | crypto_sign_ed25519_ref_fe25519_mul | | Prototype: | void crypto_sign_ed25519_ref_fe25519_mul(crypto_sign_ed25519_ref_fe25519 *r, const crypto_sign_ed25519_ref_fe25519 *x, const crypto_sign_ed25519_ref_fe25519 *y) | | Coverage: | 100.000% (12/12) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 196-211 |
| | 10 | 5 |
crypto_sign_ed25519_ref_fe25519_iseq_vartime| Name: | crypto_sign_ed25519_ref_fe25519_iseq_vartime | | Prototype: | int crypto_sign_ed25519_ref_fe25519_iseq_vartime(const crypto_sign_ed25519_ref_fe25519 *x, const crypto_sign_ed25519_ref_fe25519 *y) | | Coverage: | 100.000% (6/6) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 129-139 |
| | 8 | 3 |
crypto_sign_ed25519_ref_fe25519_invert| Name: | crypto_sign_ed25519_ref_fe25519_invert | | Prototype: | void crypto_sign_ed25519_ref_fe25519_invert(crypto_sign_ed25519_ref_fe25519 *r, const crypto_sign_ed25519_ref_fe25519 *x) | | Coverage: | 100.000% (19/19) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 218-283 |
| | 54 | 7 |
crypto_sign_ed25519_ref_fe25519_getparity| Name: | crypto_sign_ed25519_ref_fe25519_getparity | | Prototype: | unsigned char crypto_sign_ed25519_ref_fe25519_getparity(const crypto_sign_ed25519_ref_fe25519 *x) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 149-154 |
| | 3 | 1 |
crypto_sign_ed25519_ref_fe25519_freeze| Name: | crypto_sign_ed25519_ref_fe25519_freeze | | Prototype: | void crypto_sign_ed25519_ref_fe25519_freeze(crypto_sign_ed25519_ref_fe25519 *r) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 84-98 |
| | 10 | 3 |
crypto_sign_ed25519_ref_fe25519_cmov| Name: | crypto_sign_ed25519_ref_fe25519_cmov | | Prototype: | void crypto_sign_ed25519_ref_fe25519_cmov(crypto_sign_ed25519_ref_fe25519 *r, const crypto_sign_ed25519_ref_fe25519 *x, unsigned char b) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 141-147 |
| | 4 | 2 |
crypto_sign_ed25519_ref_fe25519_add| Name: | crypto_sign_ed25519_ref_fe25519_add | | Prototype: | void crypto_sign_ed25519_ref_fe25519_add(crypto_sign_ed25519_ref_fe25519 *r, const crypto_sign_ed25519_ref_fe25519 *x, const crypto_sign_ed25519_ref_fe25519 *y) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c | | Lines: | 178-183 |
| | 3 | 2 |
crypto_sign_ed25519_ref_double_scalarmult_vartime| Name: | crypto_sign_ed25519_ref_double_scalarmult_vartime | | Prototype: | void crypto_sign_ed25519_ref_double_scalarmult_vartime(crypto_sign_ed25519_ref_ge25519 *r, const crypto_sign_ed25519_ref_ge25519 *p1, const crypto_sign_ed25519_ref_sc25519 *s1, const crypto_sign_ed25519_ref_ge25519 *p2, const crypto_sign_ed25519_ref_sc25519 *s2) | | Coverage: | 100.000% (10/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c | | Lines: | 262-304 |
| | 31 | 4 |
crypto_sign_ed25519_keypair| Name: | crypto_sign_ed25519_keypair | | Prototype: | int crypto_sign_ed25519_keypair( unsigned char *pk, unsigned char *sk ) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ed25519.c | | Lines: | 26-49 |
| | 15 | 2 |
crypto_sign_ed25519| Name: | crypto_sign_ed25519 | | Prototype: | int crypto_sign_ed25519( unsigned char *sm,unsigned long long *smlen, const unsigned char *m,unsigned long long mlen, const unsigned char *sk ) | | Coverage: | 100.000% (13/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ed25519.c | | Lines: | 51-101 |
| | 32 | 5 |
crypto_scalarmult_curve25519| Name: | crypto_scalarmult_curve25519 | | Prototype: | int crypto_scalarmult_curve25519(unsigned char *q, const unsigned char *n, const unsigned char *p) | | Coverage: | 100.000% (10/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/smult_curve25519_ref.c | | Lines: | 247-265 |
| | 14 | 4 |
cmov_aff| Name: | cmov_aff | | Prototype: | static void cmov_aff(ge25519_aff *r, const ge25519_aff *p, unsigned char b) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c | | Lines: | 146-150 |
| | 2 | 1 |
clear_libcrypto_errors| Name: | clear_libcrypto_errors | | Prototype: | static void clear_libcrypto_errors(void) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 3892-3897 |
| | 1 | 2 |
cipher_keylen| Name: | cipher_keylen | | Prototype: | u_int cipher_keylen(const struct sshcipher *c) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 149-153 |
| | 1 | 1 |
cipher_ctx_is_plaintext| Name: | cipher_ctx_is_plaintext | | Prototype: | u_int cipher_ctx_is_plaintext(struct sshcipher_ctx *cc) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 186-190 |
| | 1 | 1 |
cipher_blocksize| Name: | cipher_blocksize | | Prototype: | u_int cipher_blocksize(const struct sshcipher *c) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 143-147 |
| | 1 | 1 |
cipher_authlen| Name: | cipher_authlen | | Prototype: | u_int cipher_authlen(const struct sshcipher *c) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 163-167 |
| | 1 | 1 |
choose_t| Name: | choose_t | | Prototype: | static void choose_t(ge25519_aff *t, unsigned long long pos, signed char b) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c | | Lines: | 170-181 |
| | 8 | 1 |
check_rsa_length| Name: | check_rsa_length | | Prototype: | static int check_rsa_length(const RSA *rsa) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2004-2013 |
| | 13 | 2 |
chachapoly_get_length| Name: | chachapoly_get_length | | Prototype: | int chachapoly_get_length(struct chachapoly_ctx *ctx, u_int *plenp, u_int seqnr, const u_char *cp, u_int len) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher-chachapoly.c | | Lines: | 106-119 |
| | 12 | 2 |
chacha_ivsetup| Name: | chacha_ivsetup | | Prototype: | void chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) | | Coverage: | 100.000% (5/5) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/chacha.c | | Lines: | 80-87 |
| | 12 | 1 |
chacha_ivsetup| Name: | chacha_ivsetup | | Prototype: | static void chacha_ivsetup(chacha_ctx *x,const u8 *iv) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/chacha_private.h | | Lines: | 79-86 |
| | 4 | 1 |
cert_free| Name: | cert_free | | Prototype: | static void cert_free(struct sshkey_cert *cert) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 454-471 |
| | 15 | 3 |
blf_enc| Name: | blf_enc | | Prototype: | void blf_enc(blf_ctx *c, u_int32_t *data, u_int16_t blocks) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c | | Lines: | 514-525 |
| | 6 | 2 |
bitmap_zero| Name: | bitmap_zero | | Prototype: | void bitmap_zero(struct bitmap *b) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 64-69 |
| | 2 | 1 |
bitmap_nbytes| Name: | bitmap_nbytes | | Prototype: | size_t bitmap_nbytes(struct bitmap *b) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c | | Lines: | 161-165 |
| | 1 | 1 |
bcrypt_hash| Name: | bcrypt_hash | | Prototype: | static void bcrypt_hash(u_int8_t *sha2pass, u_int8_t *sha2salt, u_int8_t *out) | | Coverage: | 100.000% (13/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bcrypt_pbkdf.c | | Lines: | 69-108 |
| | 26 | 5 |
barrett_reduce| Name: | barrett_reduce | | Prototype: | static void barrett_reduce(crypto_sign_ed25519_ref_sc25519 *r, const crypto_uint32 x[64]) | | Coverage: | 100.000% (30/30) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c | | Lines: | 51-100 |
| | 32 | 12 |
atomicio| Name: | atomicio | | Prototype: | size_t atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/atomicio.c | | Lines: | 91-95 |
| | 9 | 1 |
arc4random_buf| Name: | arc4random_buf | | Prototype: | void arc4random_buf(void *buf, size_t n) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c | | Lines: | 251-257 |
| | 1 | 1 |
arc4random| Name: | arc4random | | Prototype: | u_int32_t arc4random(void) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c | | Lines: | 235-244 |
| | 3 | 1 |
add_p1p1| Name: | add_p1p1 | | Prototype: | static void add_p1p1(ge25519_p1p1 *r, const crypto_sign_ed25519_ref_ge25519 *p, const crypto_sign_ed25519_ref_ge25519 *q) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c | | Lines: | 106-124 |
| | 15 | 1 |
add| Name: | add | | Prototype: | static void add(unsigned int out[32],const unsigned int a[32],const unsigned int b[32]) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/smult_curve25519_ref.c | | Lines: | 11-18 |
| | 5 | 2 |
_ssh_host_key_sign| Name: | _ssh_host_key_sign | | Prototype: | int _ssh_host_key_sign(struct sshkey *privkey, struct sshkey *pubkey, u_char **signature, size_t *slen, const u_char *data, size_t dlen, const char *alg, u_int compat) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c | | Lines: | 534-540 |
| | 1 | 1 |
_rs_random_u32| Name: | _rs_random_u32 | | Prototype: | static __inline void _rs_random_u32(u_int32_t *val) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c | | Lines: | 198-208 |
| | 11 | 2 |
_rs_random_buf| Name: | _rs_random_buf | | Prototype: | static __inline void _rs_random_buf(void *_buf, size_t n) | | Coverage: | 100.000% (12/12) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c | | Lines: | 177-196 |
| | 37 | 4 |
RSA_get0_key| Name: | RSA_get0_key | | Prototype: | void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) | | Coverage: | 100.000% (10/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 228-237 |
| | 12 | 4 |
RSA_get0_factors| Name: | RSA_get0_factors | | Prototype: | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 305-312 |
| | 8 | 3 |
EVP_MD_CTX_new| Name: | EVP_MD_CTX_new | | Prototype: | EVP_MD_CTX * EVP_MD_CTX_new(void) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 616-620 |
| | 1 | 1 |
DSA_get0_pqg| Name: | DSA_get0_pqg | | Prototype: | void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g) | | Coverage: | 100.000% (10/10) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 159-168 |
| | 12 | 4 |
DSA_get0_key| Name: | DSA_get0_key | | Prototype: | void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/libressl-api-compat.c | | Lines: | 197-204 |
| | 8 | 3 |
Blowfish_stream2word| Name: | Blowfish_stream2word | | Prototype: | u_int32_t Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, u_int16_t *current) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c | | Lines: | 402-421 |
| | 11 | 3 |
Blowfish_initstate| Name: | Blowfish_initstate | | Prototype: | void Blowfish_initstate(blf_ctx *c) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c | | Lines: | 123-400 |
| | 1 | 1 |
Blowfish_expandstate| Name: | Blowfish_expandstate | | Prototype: | void Blowfish_expandstate(blf_ctx *c, const u_int8_t *data, u_int16_t databytes, const u_int8_t *key, u_int16_t keybytes) | | Coverage: | 100.000% (13/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c | | Lines: | 461-502 |
| | 26 | 5 |
Blowfish_expand0state| Name: | Blowfish_expand0state | | Prototype: | void Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) | | Coverage: | 100.000% (13/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c | | Lines: | 423-458 |
| | 22 | 5 |
Blowfish_encipher| Name: | Blowfish_encipher | | Prototype: | void Blowfish_encipher(blf_ctx *c, u_int32_t *xl, u_int32_t *xr) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c | | Lines: | 73-96 |
| | 17 | 1 |
BSDgetopt| Name: | BSDgetopt | | Prototype: | int BSDgetopt(int nargc, char * const *nargv, const char *options) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getopt_long.c | | Lines: | 489-502 |
| | 9 | 1 |
sshbuf_dump_data| Name: | sshbuf_dump_data | | Prototype: | void sshbuf_dump_data(const void *s, size_t len, FILE *f) | | Coverage: | 95.238% (20/21) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-misc.c | | Lines: | 38-63 |
| | 27 | 7 |
peek_type_nid| Name: | peek_type_nid | | Prototype: | static int peek_type_nid(const char *s, size_t l, int *nid) | | Coverage: | 94.118% (16/17) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 1208-1224 |
| | 14 | 5 |
sshkey_free| Name: | sshkey_free | | Prototype: | void sshkey_free(struct sshkey *k) | | Coverage: | 91.304% (21/23) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 560-614 |
| | 44 | 13 |
sshbuf_get_string| Name: | sshbuf_get_string | | Prototype: | int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) | | Coverage: | 90.909% (20/22) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 96-121 |
| | 32 | 8 |
sshbuf_get_string_direct| Name: | sshbuf_get_string_direct | | Prototype: | int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) | | Coverage: | 89.474% (17/19) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 123-147 |
| | 28 | 7 |
sshbuf_get| Name: | sshbuf_get | | Prototype: | int sshbuf_get(struct sshbuf *buf, void *v, size_t len) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 31-42 |
| | 11 | 3 |
_rs_rekey| Name: | _rs_rekey | | Prototype: | static __inline void _rs_rekey(u_char *dat, size_t datlen) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c | | Lines: | 155-175 |
| | 29 | 3 |
crypto_sign_ed25519_open| Name: | crypto_sign_ed25519_open | | Prototype: | int crypto_sign_ed25519_open( unsigned char *m,unsigned long long *mlen, const unsigned char *sm,unsigned long long smlen, const unsigned char *pk ) | | Coverage: | 88.235% (15/17) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ed25519.c | | Lines: | 103-144 |
| | 22 | 6 |
sshbuf_mutable_ptr| Name: | sshbuf_mutable_ptr | | Prototype: | u_char * sshbuf_mutable_ptr(const struct sshbuf *buf) | | Coverage: | 87.500% (7/8) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 276-282 |
| | 7 | 2 |
match_pattern| Name: | match_pattern | | Prototype: | int match_pattern(const char *s, const char *pattern) | | Coverage: | 86.111% (31/36) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c | | Lines: | 56-112 |
| | 23 | 12 |
sshbuf_get_u64| Name: | sshbuf_get_u64 | | Prototype: | int sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) | | Coverage: | 85.714% (6/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 44-55 |
| | 9 | 3 |
sshbuf_get_u16| Name: | sshbuf_get_u16 | | Prototype: | int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) | | Coverage: | 85.714% (6/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 70-81 |
| | 9 | 3 |
ssh_packet_is_rekeying| Name: | ssh_packet_is_rekeying | | Prototype: | int ssh_packet_is_rekeying(struct ssh *ssh) | | Coverage: | 85.714% (6/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 272-277 |
| | 6 | 1 |
rsa_hash_alg_ident| Name: | rsa_hash_alg_ident | | Prototype: | static const char * rsa_hash_alg_ident(int hash_alg) | | Coverage: | 85.714% (6/7) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | | Lines: | 42-54 |
| | 9 | 4 |
get_ec| Name: | get_ec | | Prototype: | static int get_ec(const u_char *d, size_t len, EC_POINT *v, const EC_GROUP *g) | | Coverage: | 85.714% (12/14) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-crypto.c | | Lines: | 75-87 |
| | 15 | 4 |
sshbuf_free| Name: | sshbuf_free | | Prototype: | void sshbuf_free(struct sshbuf *buf) | | Coverage: | 84.615% (11/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 133-166 |
| | 20 | 5 |
sshbuf_consume| Name: | sshbuf_consume | | Prototype: | int sshbuf_consume(struct sshbuf *buf, size_t len) | | Coverage: | 84.615% (11/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 363-381 |
| | 11 | 5 |
kex_free_newkeys| Name: | kex_free_newkeys | | Prototype: | void kex_free_newkeys(struct newkeys *newkeys) | | Coverage: | 84.615% (11/13) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 607-636 |
| | 37 | 5 |
fingerprint_randomart| Name: | fingerprint_randomart | | Prototype: | static char * fingerprint_randomart(const char *alg, u_char *dgst_raw, size_t dgst_raw_len, const struct sshkey *k) | | Coverage: | 84.615% (44/52) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 1066-1161 |
| | 65 | 12 |
sshkey_type_plain| Name: | sshkey_type_plain | | Prototype: | int sshkey_type_plain(int type) | | Coverage: | 83.333% (10/12) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 349-366 |
| | 7 | 7 |
sshkey_ssh_name_from_type_nid| Name: | sshkey_ssh_name_from_type_nid | | Prototype: | static const char * sshkey_ssh_name_from_type_nid(int type, int nid) | | Coverage: | 81.818% (9/11) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 161-171 |
| | 5 | 3 |
sshbuf_put_bignum2_bytes| Name: | sshbuf_put_bignum2_bytes | | Prototype: | int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len) | | Coverage: | 81.818% (18/22) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 401-428 |
| | 15 | 6 |
sshbuf_get_cstring| Name: | sshbuf_get_cstring | | Prototype: | int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) | | Coverage: | 81.250% (26/32) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | | Lines: | 180-213 |
| | 49 | 10 |
chacha_encrypt_bytes| Name: | chacha_encrypt_bytes | | Prototype: | void chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) | | Coverage: | 80.769% (21/26) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/chacha.c | | Lines: | 89-219 |
| | 117 | 10 |
strlcat| Name: | strlcat | | Prototype: | size_t strlcat(char *dst, const char *src, size_t siz) | | Coverage: | 80.000% (12/15) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/strlcat.c | | Lines: | 34-60 |
| | 17 | 5 |
sshbuf_maybe_pack| Name: | sshbuf_maybe_pack | | Prototype: | static void sshbuf_maybe_pack(struct sshbuf *buf, int force) | | Coverage: | 80.000% (12/15) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf.c | | Lines: | 52-66 |
| | 7 | 3 |