Lines Matching defs:crycb
48 struct kvm_s390_crypto_cb crycb; /* 0x0700 */
158 * @apcb_s: pointer to start of apcb in the shadow crycb
180 * @apcb_s: pointer to start of apcb in the shadow crycb
203 * @crycb_s: pointer to shadow crycb
204 * @crycb_o: pointer to original guest crycb
205 * @crycb_h: pointer to the host crycb
206 * @fmt_o: format of the original guest crycb.
207 * @fmt_h: format of the host crycb.
209 * Checks the compatibility between the guest and host crycb and calls the
212 * Return 0 or an error number if the guest and host crycb are incompatible.
219 struct kvm_s390_crypto_cb *crycb;
221 crycb = (struct kvm_s390_crypto_cb *) (unsigned long)crycb_o;
230 (unsigned long) &crycb->apcb1,
236 (unsigned long) &crycb->apcb0,
241 (unsigned long) &crycb->apcb0,
252 (unsigned long) &crycb->apcb0,
258 (unsigned long) &crycb->apcb0,
266 * shadow_crycb - Create a shadow copy of the crycb block
270 * Create a shadow copy of the crycb block and setup key wrapping, if
280 * the subfunctions working on the crycb.
317 ret = setup_apcb(vcpu, &vsie_page->crycb, crycb_addr,
318 vcpu->kvm->arch.crypto.crycb,
334 vsie_page->crycb.dea_wrapping_key_mask, 56))
341 b1 = (unsigned long *) vsie_page->crycb.dea_wrapping_key_mask;
343 vcpu->kvm->arch.crypto.crycb->dea_wrapping_key_mask;
355 scb_s->crycbd = ((__u32)(__u64) &vsie_page->crycb) | CRYCB_FORMAT2;