Lines Matching refs:km
23 S390X_KM_XTS_PARAMS *km = &xctx->plat.s390x.param.km;
39 if (!(OPENSSL_s390xcap_P.km[1] && S390X_CAPBIT(fc)))
44 || ivlen > sizeof(km->tweak)) {
48 memcpy(km->tweak, iv, ivlen);
60 memcpy(km->key + offs, key, keylen);
67 memset(km->nap, 0, sizeof(km->nap));
68 km->nap[0] = 0x1;
109 S390X_KM_XTS_PARAMS *km = &xctx->plat.s390x.param.km;
110 unsigned char *param = (unsigned char *)km + xctx->plat.s390x.offset;
148 memcpy(nap_n1, km->nap, AES_BLOCK_SIZE);
153 memcpy(km->nap, nap_n1, AES_BLOCK_SIZE);
163 memcpy(xctx->base.iv, km->tweak, AES_BLOCK_SIZE);