Branch Coverage

ed25519/src/ge.c
Criterion Covered Total %
branch 47 50 94.0


line true false branch
30 800768 3128 for (i = 0; i < 256; ++i) {
34 800768 3128 for (i = 0; i < 256; ++i)
35 132568 668200 if (r[i]) {
36 729423 33816 for (b = 1; b <= 6 && i + b < 256; ++b) {
727925 1498 for (b = 1; b <= 6 && i + b < 256; ++b) {
37 358239 369686 if (r[i + b]) {
38 195819 162420 if (r[i] + (r[i + b] << b) <= 15) {
41 65166 97254 } else if (r[i] - (r[i + b] << b) >= -15) {
44 195700 0 for (k = i + b; k < 256; ++k) {
45 65166 130534 if (!r[k]) {
103 8769 0 for (i = 255; i >= 0; --i) {
104 7860 909 if (aslide[i] || bslide[i]) {
7205 655 if (aslide[i] || bslide[i]) {
109 393179 1564 for (; i >= 0; --i) {
112 33662 359517 if (aslide[i] > 0) {
115 32670 326847 } else if (aslide[i] < 0) {
120 33740 359439 if (bslide[i] > 0) {
123 32496 326943 } else if (bslide[i] < 0) {
165 788 776 if (fe_isnonzero(check)) {
168 0 788 if (fe_isnonzero(check)) {
175 796 768 if (fe_isnegative(h->X) == (s[31] >> 7)) {
394 83712 2616 for (i = 0; i < 32; ++i) {
403 164808 2616 for (i = 0; i < 63; ++i) {
414 83712 2616 for (i = 1; i < 64; i += 2) {
429 83712 2616 for (i = 0; i < 64; i += 2) {