static void *rc6_decrypt_inplace(void *p, size_t len, rc6_ctx_t *ctx) { int i; for (i = 0; i < len/16; i++) { rc6_dec(p, ctx); p += 16; } return p; }
static void *rc6_decrypt_inplace(void *p, size_t len, rc6_ctx_t *ctx) { int i; /* If encryption is disabled, we've got nothing to do */ if (!flag_encryption_enabled) return p + len; for (i = 0; i < len/16; i++) { rc6_dec(p, ctx); p += 16; } return p; }