Home
last modified time | relevance | path

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

/Linux-v6.6/arch/s390/crypto/
Daes_s390.c431 } pcc_param; in xts_aes_crypt() local
454 memset(pcc_param.block, 0, sizeof(pcc_param.block)); in xts_aes_crypt()
455 memset(pcc_param.bit, 0, sizeof(pcc_param.bit)); in xts_aes_crypt()
456 memset(pcc_param.xts, 0, sizeof(pcc_param.xts)); in xts_aes_crypt()
457 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_aes_crypt()
458 memcpy(pcc_param.key + offset, xts_ctx->pcc_key, xts_ctx->key_len); in xts_aes_crypt()
459 cpacf_pcc(xts_ctx->fc, pcc_param.key + offset); in xts_aes_crypt()
462 memcpy(xts_param.init, pcc_param.xts, 16); in xts_aes_crypt()
471 memzero_explicit(&pcc_param, sizeof(pcc_param)); in xts_aes_crypt()
Dpaes_s390.c506 } pcc_param; in xts_paes_crypt() local
519 memset(&pcc_param, 0, sizeof(pcc_param)); in xts_paes_crypt()
520 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_paes_crypt()
522 memcpy(pcc_param.key + offset, ctx->pk[1].protkey, keylen); in xts_paes_crypt()
525 cpacf_pcc(ctx->fc, pcc_param.key + offset); in xts_paes_crypt()
526 memcpy(xts_param.init, pcc_param.xts, 16); in xts_paes_crypt()