Lines Matching refs:s390x

38     adat->plat.s390x.fc = S390X_AES_FC(keylen);
39 memcpy(adat->plat.s390x.param.km.k, key, keylen);
49 s390x_km(in, len, out, adat->plat.s390x.fc | modifier,
50 &adat->plat.s390x.param.km);
59 memcpy(adat->plat.s390x.param.kmo_kmf.k, key, keylen);
60 adat->plat.s390x.fc = S390X_AES_FC(keylen);
71 memcpy(adat->plat.s390x.param.kmo_kmf.cv, dat->iv, dat->ivlen);
73 *out = *in ^ adat->plat.s390x.param.kmo_kmf.cv[n];
84 s390x_kmo(in, len, out, adat->plat.s390x.fc,
85 &adat->plat.s390x.param.kmo_kmf);
92 s390x_km(adat->plat.s390x.param.kmo_kmf.cv, 16,
93 adat->plat.s390x.param.kmo_kmf.cv,
94 adat->plat.s390x.fc,
95 adat->plat.s390x.param.kmo_kmf.k);
98 out[n] = in[n] ^ adat->plat.s390x.param.kmo_kmf.cv[n];
103 memcpy(dat->iv, adat->plat.s390x.param.kmo_kmf.cv, dat->ivlen);
113 adat->plat.s390x.fc = S390X_AES_FC(keylen);
114 adat->plat.s390x.fc |= 16 << 24; /* 16 bytes cipher feedback */
115 memcpy(adat->plat.s390x.param.kmo_kmf.k, key, keylen);
128 memcpy(adat->plat.s390x.param.kmo_kmf.cv, dat->iv, dat->ivlen);
131 *out = adat->plat.s390x.param.kmo_kmf.cv[n] ^ tmp;
132 adat->plat.s390x.param.kmo_kmf.cv[n] = dat->enc ? *out : tmp;
143 s390x_kmf(in, len, out, adat->plat.s390x.fc | modifier,
144 &adat->plat.s390x.param.kmo_kmf);
151 s390x_km(adat->plat.s390x.param.kmo_kmf.cv, 16,
152 adat->plat.s390x.param.kmo_kmf.cv,
154 adat->plat.s390x.param.kmo_kmf.k);
158 out[n] = adat->plat.s390x.param.kmo_kmf.cv[n] ^ tmp;
159 adat->plat.s390x.param.kmo_kmf.cv[n] = dat->enc ? out[n] : tmp;
164 memcpy(dat->iv, adat->plat.s390x.param.kmo_kmf.cv, dat->ivlen);
174 adat->plat.s390x.fc = S390X_AES_FC(keylen);
175 adat->plat.s390x.fc |= 1 << 24; /* 1 byte cipher feedback */
176 memcpy(adat->plat.s390x.param.kmo_kmf.k, key, keylen);
186 memcpy(adat->plat.s390x.param.kmo_kmf.cv, dat->iv, dat->ivlen);
187 s390x_kmf(in, len, out, adat->plat.s390x.fc | modifier,
188 &adat->plat.s390x.param.kmo_kmf);
189 memcpy(dat->iv, adat->plat.s390x.param.kmo_kmf.cv, dat->ivlen);