Lines Matching refs:xctx
22 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)vctx;
23 S390X_KM_XTS_PARAMS *km = &xctx->plat.s390x.param.km;
26 switch (xctx->base.keylen) {
43 if (ivlen != xctx->base.ivlen
49 xctx->plat.s390x.iv_set = 1;
53 if (keylen != xctx->base.keylen) {
61 xctx->plat.s390x.key_set = 1;
64 xctx->plat.s390x.fc = fc | dec;
65 xctx->plat.s390x.offset = offs;
70 return aes_xts_set_ctx_params(xctx, params);
73 xctx->plat.s390x.fc = 0;
74 xctx->plat.s390x.offset = 0;
108 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)vctx;
109 S390X_KM_XTS_PARAMS *km = &xctx->plat.s390x.param.km;
110 unsigned char *param = (unsigned char *)km + xctx->plat.s390x.offset;
111 unsigned int fc = xctx->plat.s390x.fc;
121 || !xctx->plat.s390x.iv_set
122 || !xctx->plat.s390x.key_set)
163 memcpy(xctx->base.iv, km->tweak, AES_BLOCK_SIZE);