Reviewed-by: Tim Hudson <tjh@openssl.org>
if (enc) {
#if !defined(OPENSSL_SMALL_FOOTPRINT)
- if (16%sizeof(size_t) == 0) do { /* always true actually */
+ if (16%sizeof(size_t) == 0) { /* always true actually */
+ do {
while (n && len) {
*(out++) = ivec[n] ^= *(in++);
--len;
}
*num = n;
return;
- } while (0);
+ } while (0);
+ }
/* the rest would be commonly eliminated by x86* compiler */
#endif
while (l<len) {
*num = n;
} else {
#if !defined(OPENSSL_SMALL_FOOTPRINT)
- if (16%sizeof(size_t) == 0) do { /* always true actually */
+ if (16%sizeof(size_t) == 0) { /* always true actually */
+ do {
while (n && len) {
unsigned char c;
*(out++) = ivec[n] ^ (c = *(in++)); ivec[n] = c;
}
*num = n;
return;
- } while (0);
+ } while (0);
+ }
/* the rest would be commonly eliminated by x86* compiler */
#endif
while (l<len) {