Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/dsa/dsa_sign.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | DSA_SIG * | - | ||||||
3 | DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) | - | ||||||
4 | { | - | ||||||
5 | return executed 2 times by 2 tests: dsa->meth->dsa_do_sign(dgst, dlen, dsa);return dsa->meth->dsa_do_sign(dgst, dlen, dsa); Executed by:
executed 2 times by 2 tests: return dsa->meth->dsa_do_sign(dgst, dlen, dsa); Executed by:
| 2 | ||||||
6 | } | - | ||||||
7 | - | |||||||
8 | int | - | ||||||
9 | DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) | - | ||||||
10 | { | - | ||||||
11 | return executed 2 times by 2 tests: dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp);return dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp); Executed by:
executed 2 times by 2 tests: return dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp); Executed by:
| 2 | ||||||
12 | } | - | ||||||
13 | - | |||||||
14 | DSA_SIG * | - | ||||||
15 | DSA_SIG_new(void) | - | ||||||
16 | { | - | ||||||
17 | return executed 4 times by 2 tests: calloc(1, sizeof(DSA_SIG));return calloc(1, sizeof(DSA_SIG)); Executed by:
executed 4 times by 2 tests: return calloc(1, sizeof(DSA_SIG)); Executed by:
| 4 | ||||||
18 | } | - | ||||||
19 | - | |||||||
20 | void | - | ||||||
21 | DSA_SIG_free(DSA_SIG *sig) | - | ||||||
22 | { | - | ||||||
23 | if (sig !=
| 1-4 | ||||||
24 | ((void *)0)
| 1-4 | ||||||
25 | ) { | - | ||||||
26 | BN_free(sig->r); | - | ||||||
27 | BN_free(sig->s); | - | ||||||
28 | free(sig); | - | ||||||
29 | } executed 4 times by 2 tests: end of block Executed by:
| 4 | ||||||
30 | } executed 5 times by 3 tests: end of block Executed by:
| 5 | ||||||
Switch to Source code | Preprocessed file |