- // Keep these for later use
- working_vector[0] = *cursor;
- working_vector[1] = *(cursor + 1);
- cursor += 2;
-
- if (hidden_length > length - 8)
- {
- LOG(1, s, t, "Hidden length %d too long in AVP of length %d\n", (int) hidden_length, (int) length);
- return 0;
- }
-
- /* Decrypt remainder */
- done = 2;
- todo = hidden_length;
- while (todo)