Home
last modified time | relevance | path

Searched refs:pcc_param (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/arch/s390/crypto/
Daes_s390.c435 } pcc_param; in xts_aes_crypt() local
458 memset(pcc_param.block, 0, sizeof(pcc_param.block)); in xts_aes_crypt()
459 memset(pcc_param.bit, 0, sizeof(pcc_param.bit)); in xts_aes_crypt()
460 memset(pcc_param.xts, 0, sizeof(pcc_param.xts)); in xts_aes_crypt()
461 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_aes_crypt()
462 memcpy(pcc_param.key + offset, xts_ctx->pcc_key, xts_ctx->key_len); in xts_aes_crypt()
463 cpacf_pcc(xts_ctx->fc, pcc_param.key + offset); in xts_aes_crypt()
466 memcpy(xts_param.init, pcc_param.xts, 16); in xts_aes_crypt()
475 memzero_explicit(&pcc_param, sizeof(pcc_param)); in xts_aes_crypt()
Dpaes_s390.c501 } pcc_param; in xts_paes_crypt() local
514 memset(&pcc_param, 0, sizeof(pcc_param)); in xts_paes_crypt()
515 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_paes_crypt()
517 memcpy(pcc_param.key + offset, ctx->pk[1].protkey, keylen); in xts_paes_crypt()
520 cpacf_pcc(ctx->fc, pcc_param.key + offset); in xts_paes_crypt()
521 memcpy(xts_param.init, pcc_param.xts, 16); in xts_paes_crypt()