Lines Matching refs:ctx
469 tmp1 = data.ctx.S[3][tmp1]; \
470 tmp2 = data.ctx.S[2][tmp2]; \
471 tmp3 = data.ctx.S[1][tmp3]; \
472 tmp3 += data.ctx.S[0][tmp4]; \
474 R ^= data.ctx.P[N + 1]; \
490 tmp1 = BF_INDEX(data.ctx.S[3], tmp1); \
491 tmp2 = BF_INDEX(data.ctx.S[2], tmp2); \
492 tmp3 = BF_INDEX(data.ctx.S[1], tmp3); \
493 tmp3 += BF_INDEX(data.ctx.S[0], tmp4); \
495 R ^= data.ctx.P[N + 1]; \
504 L ^= data.ctx.P[0]; \
523 L = tmp4 ^ data.ctx.P[BF_N + 1];
527 _BF_body_r(&data.ctx);
531 ptr = data.ctx.P; \
537 } while (ptr < &data.ctx.P[BF_N + 2]); \
539 ptr = data.ctx.S[0]; \
545 } while (ptr < &data.ctx.S[3][0xFF]);
659 extern void _BF_body_r(BF_ctx *ctx); in BF_crypt()
662 BF_ctx ctx; in BF_crypt() member
700 BF_set_key(key, data.expanded_key, data.ctx.P, in BF_crypt()
703 memcpy(data.ctx.S, BF_init_state.S, sizeof(data.ctx.S)); in BF_crypt()
710 data.ctx.P[i] = L; in BF_crypt()
711 data.ctx.P[i + 1] = R; in BF_crypt()
714 ptr = data.ctx.S[0]; in BF_crypt()
728 } while (ptr < &data.ctx.S[3][0xFF]); in BF_crypt()
734 data.ctx.P[i] ^= data.expanded_key[i]; in BF_crypt()
735 data.ctx.P[i + 1] ^= data.expanded_key[i + 1]; in BF_crypt()
750 data.ctx.P[i] ^= tmp1; in BF_crypt()
751 data.ctx.P[i + 1] ^= tmp2; in BF_crypt()
752 data.ctx.P[i + 2] ^= tmp3; in BF_crypt()
753 data.ctx.P[i + 3] ^= tmp4; in BF_crypt()
755 data.ctx.P[16] ^= tmp1; in BF_crypt()
756 data.ctx.P[17] ^= tmp2; in BF_crypt()