Lines Matching defs:k1
68 /* Keys k1 and k2 */
69 unsigned char k1[EVP_MAX_BLOCK_LENGTH];
81 static void make_kn(unsigned char *k1, unsigned char *l, int bl)
86 k1[i] = l[i] << 1;
88 k1[i] |= 1;
92 k1[bl - 1] ^= bl == 16 ? 0x87 : 0x1b;
116 OPENSSL_cleanse(ctx->k1, EVP_MAX_BLOCK_LENGTH);
143 memcpy(out->k1, in->k1, bl);
197 make_kn(ctx->k1, ctx->tbl, bl);
198 make_kn(ctx->k2, ctx->k1, bl);
271 out[i] = ctx->last_block[i] ^ ctx->k1[i];