crypto/modes/ocb128.c:97: error: UNINITIALIZED_VALUE
  The value read from mask[_] was never initialized.
Showing all 1 steps of the trace


crypto/modes/ocb128.c:97:13: 
95.   
96.           if (i != 15) {
97. >             out->c[i] ^= mask[i];
98.           }
99.       }

static void ocb_block_lshift(OCB_BLOCK *in, size_t shift, OCB_BLOCK *out)
{
    unsigned char shift_mask;
    int i;
    unsigned char mask[15];
    shift_mask = 0xff;
    shift_mask <<= (8 - shift);
    for (i = 15; i >= 0; i--) {
        if (i > 0) {
            mask[i - 1] = in->c[i] & shift_mask;
            mask[i - 1] >>= 8 - shift;
        }
        out->c[i] = in->c[i] << shift;
        if (i != 15) {
            out->c[i] ^= mask[i];
        }
    }
}
['static void ocb_block_lshift(OCB_BLOCK *in, size_t shift, OCB_BLOCK *out)\n{\n    unsigned char shift_mask;\n    int i;\n    unsigned char mask[15];\n    shift_mask = 0xff;\n    shift_mask <<= (8 - shift);\n    for (i = 15; i >= 0; i--) {\n        if (i > 0) {\n            mask[i - 1] = in->c[i] & shift_mask;\n            mask[i - 1] >>= 8 - shift;\n        }\n        out->c[i] = in->c[i] << shift;\n        if (i != 15) {\n            out->c[i] ^= mask[i];\n        }\n    }\n}']