Branch Coverage

src/ed25519/ge.c
Criterion Covered Total %
branch 44 50 88.0


line true false branch
30 512 2 for (i = 0; i < 256; ++i) {
34 512 2 for (i = 0; i < 256; ++i)
35 85 427 if (r[i]) {
36 471 21 for (b = 1; b <= 6 && i + b < 256; ++b) {
469 2 for (b = 1; b <= 6 && i + b < 256; ++b) {
37 214 255 if (r[i + b]) {
38 109 105 if (r[i] + (r[i + b] << b) <= 15) {
41 43 62 } else if (r[i] - (r[i + b] << b) >= -15) {
44 119 0 for (k = i + b; k < 256; ++k) {
45 43 76 if (!r[k]) {
103 4 0 for (i = 255; i >= 0; --i) {
104 4 0 if (aslide[i] || bslide[i]) {
3 1 if (aslide[i] || bslide[i]) {
109 253 1 for (; i >= 0; --i) {
112 21 232 if (aslide[i] > 0) {
115 21 211 } else if (aslide[i] < 0) {
120 21 232 if (bslide[i] > 0) {
123 22 210 } else if (bslide[i] < 0) {
165 1 0 if (fe_isnonzero(check)) {
168 0 1 if (fe_isnonzero(check)) {
175 0 1 if (fe_isnegative(h->X) == (s[31] >> 7)) {
394 64 2 for (i = 0; i < 32; ++i) {
403 126 2 for (i = 0; i < 63; ++i) {
414 64 2 for (i = 1; i < 64; i += 2) {
429 64 2 for (i = 0; i < 64; i += 2) {