Lines Matching refs:ctx
459 tmp1 = data.ctx.S[3][tmp1]; \
460 tmp2 = data.ctx.S[2][tmp2]; \
461 tmp3 = data.ctx.S[1][tmp3]; \
462 tmp3 += data.ctx.S[0][tmp4]; \
464 R ^= data.ctx.P[N + 1]; \
480 tmp1 = BF_INDEX(data.ctx.S[3], tmp1); \
481 tmp2 = BF_INDEX(data.ctx.S[2], tmp2); \
482 tmp3 = BF_INDEX(data.ctx.S[1], tmp3); \
483 tmp3 += BF_INDEX(data.ctx.S[0], tmp4); \
485 R ^= data.ctx.P[N + 1]; \
494 L ^= data.ctx.P[0]; \
513 L = tmp4 ^ data.ctx.P[BF_N + 1];
517 ptr = data.ctx.P; \
523 } while (ptr < &data.ctx.P[BF_N + 2]); \
525 ptr = data.ctx.S[0]; \
531 } while (ptr < &data.ctx.S[3][0xFF]);
644 BF_ctx ctx; in BF_crypt() member
682 BF_set_key(key, data.expanded_key, data.ctx.P, in BF_crypt()
685 memcpy(data.ctx.S, BF_init_state.S, sizeof(data.ctx.S)); in BF_crypt()
692 data.ctx.P[i] = L; in BF_crypt()
693 data.ctx.P[i + 1] = R; in BF_crypt()
696 ptr = data.ctx.S[0]; in BF_crypt()
710 } while (ptr < &data.ctx.S[3][0xFF]); in BF_crypt()
716 data.ctx.P[i] ^= data.expanded_key[i]; in BF_crypt()
717 data.ctx.P[i + 1] ^= data.expanded_key[i + 1]; in BF_crypt()
732 data.ctx.P[i] ^= tmp1; in BF_crypt()
733 data.ctx.P[i + 1] ^= tmp2; in BF_crypt()
734 data.ctx.P[i + 2] ^= tmp3; in BF_crypt()
735 data.ctx.P[i + 3] ^= tmp4; in BF_crypt()
737 data.ctx.P[16] ^= tmp1; in BF_crypt()
738 data.ctx.P[17] ^= tmp2; in BF_crypt()