Lines Matching refs:ctx
472 tmp1 = data.ctx.S[3][tmp1]; \
473 tmp2 = data.ctx.S[2][tmp2]; \
474 tmp3 = data.ctx.S[1][tmp3]; \
475 tmp3 += data.ctx.S[0][tmp4]; \
477 R ^= data.ctx.P[N + 1]; \
493 tmp1 = BF_INDEX(data.ctx.S[3], tmp1); \
494 tmp2 = BF_INDEX(data.ctx.S[2], tmp2); \
495 tmp3 = BF_INDEX(data.ctx.S[1], tmp3); \
496 tmp3 += BF_INDEX(data.ctx.S[0], tmp4); \
498 R ^= data.ctx.P[N + 1]; \
507 L ^= data.ctx.P[0]; \
526 L = tmp4 ^ data.ctx.P[BF_N + 1];
530 _BF_body_r(&data.ctx);
534 ptr = data.ctx.P; \
540 } while (ptr < &data.ctx.P[BF_N + 2]); \
542 ptr = data.ctx.S[0]; \
548 } while (ptr < &data.ctx.S[3][0xFF]);
662 extern void _BF_body_r(BF_ctx *ctx); in BF_crypt()
665 BF_ctx ctx; in BF_crypt() member
703 BF_set_key(key, data.expanded_key, data.ctx.P, in BF_crypt()
706 memcpy(data.ctx.S, BF_init_state.S, sizeof(data.ctx.S)); in BF_crypt()
713 data.ctx.P[i] = L; in BF_crypt()
714 data.ctx.P[i + 1] = R; in BF_crypt()
717 ptr = data.ctx.S[0]; in BF_crypt()
731 } while (ptr < &data.ctx.S[3][0xFF]); in BF_crypt()
737 data.ctx.P[i] ^= data.expanded_key[i]; in BF_crypt()
738 data.ctx.P[i + 1] ^= data.expanded_key[i + 1]; in BF_crypt()
753 data.ctx.P[i] ^= tmp1; in BF_crypt()
754 data.ctx.P[i + 1] ^= tmp2; in BF_crypt()
755 data.ctx.P[i + 2] ^= tmp3; in BF_crypt()
756 data.ctx.P[i + 3] ^= tmp4; in BF_crypt()
758 data.ctx.P[16] ^= tmp1; in BF_crypt()
759 data.ctx.P[17] ^= tmp2; in BF_crypt()