Home
last modified time | relevance | path

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

/linux/arch/s390/crypto/
H A Daes_s390.c436 } pcc_param; in xts_aes_crypt() local
459 memset(pcc_param.block, 0, sizeof(pcc_param.block)); in xts_aes_crypt()
460 memset(pcc_param.bit, 0, sizeof(pcc_param.bit)); in xts_aes_crypt()
461 memset(pcc_param.xts, 0, sizeof(pcc_param.xts)); in xts_aes_crypt()
462 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_aes_crypt()
463 memcpy(pcc_param.key + offset, xts_ctx->pcc_key, xts_ctx->key_len); in xts_aes_crypt()
464 cpacf_pcc(xts_ctx->fc, pcc_param.key + offset); in xts_aes_crypt()
467 memcpy(xts_param.init, pcc_param.xts, 16); in xts_aes_crypt()
476 memzero_explicit(&pcc_param, sizeof(pcc_param)); in xts_aes_crypt()
H A Dpaes_s390.c505 } pcc_param; in xts_paes_crypt() local
518 memset(&pcc_param, 0, sizeof(pcc_param)); in xts_paes_crypt()
519 memcpy(pcc_param.tweak, walk.iv, sizeof(pcc_param.tweak)); in xts_paes_crypt()
521 memcpy(pcc_param.key + offset, ctx->pk[1].protkey, keylen); in xts_paes_crypt()
524 cpacf_pcc(ctx->fc, pcc_param.key + offset); in xts_paes_crypt()
525 memcpy(xts_param.init, pcc_param.xts, 16); in xts_paes_crypt()