Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/s390/crypto/
Daes_s390.c434 } pcc_param; in xts_aes_crypt() local
457 memset(pcc_param.block, 0, sizeof(pcc_param.block)); in xts_aes_crypt()
458 memset(pcc_param.bit, 0, sizeof(pcc_param.bit)); in xts_aes_crypt()
459 memset(pcc_param.xts, 0, sizeof(pcc_param.xts)); in xts_aes_crypt()
460 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_aes_crypt()
461 memcpy(pcc_param.key + offset, xts_ctx->pcc_key, xts_ctx->key_len); in xts_aes_crypt()
462 cpacf_pcc(xts_ctx->fc, pcc_param.key + offset); in xts_aes_crypt()
465 memcpy(xts_param.init, pcc_param.xts, 16); in xts_aes_crypt()
474 memzero_explicit(&pcc_param, sizeof(pcc_param)); in xts_aes_crypt()
Dpaes_s390.c491 } pcc_param; in xts_paes_crypt() local
504 memset(&pcc_param, 0, sizeof(pcc_param)); in xts_paes_crypt()
505 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_paes_crypt()
507 memcpy(pcc_param.key + offset, ctx->pk[1].protkey, keylen); in xts_paes_crypt()
510 cpacf_pcc(ctx->fc, pcc_param.key + offset); in xts_paes_crypt()
511 memcpy(xts_param.init, pcc_param.xts, 16); in xts_paes_crypt()