csbcpb 74 arch/powerpc/include/asm/vio.h u64 csbcpb; csbcpb 1120 arch/powerpc/platforms/pseries/vio.c op->outlen, op->csbcpb); csbcpb 70 drivers/crypto/nx/nx-842-pseries.c struct nx_csbcpb csbcpb; csbcpb 285 drivers/crypto/nx/nx-842-pseries.c struct nx_csbcpb *csbcpb; csbcpb 318 drivers/crypto/nx/nx-842-pseries.c csbcpb = &workmem->csbcpb; csbcpb 319 drivers/crypto/nx/nx-842-pseries.c memset(csbcpb, 0, sizeof(*csbcpb)); csbcpb 320 drivers/crypto/nx/nx-842-pseries.c op.csbcpb = nx842_get_pa(csbcpb); csbcpb 362 drivers/crypto/nx/nx-842-pseries.c ret = nx842_validate_result(dev, &csbcpb->csb); csbcpb 366 drivers/crypto/nx/nx-842-pseries.c *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); csbcpb 415 drivers/crypto/nx/nx-842-pseries.c struct nx_csbcpb *csbcpb; csbcpb 450 drivers/crypto/nx/nx-842-pseries.c csbcpb = &workmem->csbcpb; csbcpb 451 drivers/crypto/nx/nx-842-pseries.c memset(csbcpb, 0, sizeof(*csbcpb)); csbcpb 452 drivers/crypto/nx/nx-842-pseries.c op.csbcpb = nx842_get_pa(csbcpb); csbcpb 493 drivers/crypto/nx/nx-842-pseries.c ret = nx842_validate_result(dev, &csbcpb->csb); csbcpb 497 drivers/crypto/nx/nx-842-pseries.c *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); csbcpb 26 drivers/crypto/nx/nx-aes-cbc.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 32 drivers/crypto/nx/nx-aes-cbc.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_128); csbcpb 36 drivers/crypto/nx/nx-aes-cbc.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_192); csbcpb 40 drivers/crypto/nx/nx-aes-cbc.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_256); csbcpb 47 drivers/crypto/nx/nx-aes-cbc.c csbcpb->cpb.hdr.mode = NX_MODE_AES_CBC; csbcpb 48 drivers/crypto/nx/nx-aes-cbc.c memcpy(csbcpb->cpb.aes_cbc.key, in_key, key_len); csbcpb 60 drivers/crypto/nx/nx-aes-cbc.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 68 drivers/crypto/nx/nx-aes-cbc.c NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; csbcpb 70 drivers/crypto/nx/nx-aes-cbc.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; csbcpb 76 drivers/crypto/nx/nx-aes-cbc.c processed, csbcpb->cpb.aes_cbc.iv); csbcpb 90 drivers/crypto/nx/nx-aes-cbc.c memcpy(desc->info, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE); csbcpb 92 drivers/crypto/nx/nx-aes-cbc.c atomic64_add(csbcpb->csb.processed_byte_count, csbcpb 28 drivers/crypto/nx/nx-aes-ccm.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 35 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_128); csbcpb 43 drivers/crypto/nx/nx-aes-ccm.c csbcpb->cpb.hdr.mode = NX_MODE_AES_CCM; csbcpb 44 drivers/crypto/nx/nx-aes-ccm.c memcpy(csbcpb->cpb.aes_ccm.key, in_key, key_len); csbcpb 189 drivers/crypto/nx/nx-aes-ccm.c b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; csbcpb 194 drivers/crypto/nx/nx-aes-ccm.c b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; csbcpb 257 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(nx_ctx->csbcpb) |= NX_FDM_ENDE_ENCRYPT; csbcpb 258 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(nx_ctx->csbcpb) |= NX_FDM_INTERMEDIATE; csbcpb 260 drivers/crypto/nx/nx-aes-ccm.c result = nx_ctx->csbcpb->cpb.aes_ccm.out_pat_or_mac; csbcpb 334 drivers/crypto/nx/nx-aes-ccm.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 352 drivers/crypto/nx/nx-aes-ccm.c csbcpb->cpb.aes_ccm.in_pat_or_b0); csbcpb 364 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; csbcpb 366 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 368 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(nx_ctx->csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; csbcpb 372 drivers/crypto/nx/nx-aes-ccm.c csbcpb->cpb.aes_ccm.iv_or_ctr); csbcpb 384 drivers/crypto/nx/nx-aes-ccm.c memcpy(desc->info, csbcpb->cpb.aes_ccm.out_ctr, AES_BLOCK_SIZE); csbcpb 385 drivers/crypto/nx/nx-aes-ccm.c memcpy(csbcpb->cpb.aes_ccm.in_pat_or_b0, csbcpb 386 drivers/crypto/nx/nx-aes-ccm.c csbcpb->cpb.aes_ccm.out_pat_or_mac, AES_BLOCK_SIZE); csbcpb 387 drivers/crypto/nx/nx-aes-ccm.c memcpy(csbcpb->cpb.aes_ccm.in_s0, csbcpb 388 drivers/crypto/nx/nx-aes-ccm.c csbcpb->cpb.aes_ccm.out_s0, AES_BLOCK_SIZE); csbcpb 390 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; csbcpb 394 drivers/crypto/nx/nx-aes-ccm.c atomic64_add(csbcpb->csb.processed_byte_count, csbcpb 400 drivers/crypto/nx/nx-aes-ccm.c rc = crypto_memneq(csbcpb->cpb.aes_ccm.out_pat_or_mac, priv->oauth_tag, csbcpb 412 drivers/crypto/nx/nx-aes-ccm.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 422 drivers/crypto/nx/nx-aes-ccm.c csbcpb->cpb.aes_ccm.in_pat_or_b0); csbcpb 433 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; csbcpb 435 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 437 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; csbcpb 441 drivers/crypto/nx/nx-aes-ccm.c csbcpb->cpb.aes_ccm.iv_or_ctr); csbcpb 453 drivers/crypto/nx/nx-aes-ccm.c memcpy(desc->info, csbcpb->cpb.aes_ccm.out_ctr, AES_BLOCK_SIZE); csbcpb 454 drivers/crypto/nx/nx-aes-ccm.c memcpy(csbcpb->cpb.aes_ccm.in_pat_or_b0, csbcpb 455 drivers/crypto/nx/nx-aes-ccm.c csbcpb->cpb.aes_ccm.out_pat_or_mac, AES_BLOCK_SIZE); csbcpb 456 drivers/crypto/nx/nx-aes-ccm.c memcpy(csbcpb->cpb.aes_ccm.in_s0, csbcpb 457 drivers/crypto/nx/nx-aes-ccm.c csbcpb->cpb.aes_ccm.out_s0, AES_BLOCK_SIZE); csbcpb 459 drivers/crypto/nx/nx-aes-ccm.c NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; csbcpb 463 drivers/crypto/nx/nx-aes-ccm.c atomic64_add(csbcpb->csb.processed_byte_count, csbcpb 471 drivers/crypto/nx/nx-aes-ccm.c scatterwalk_map_and_copy(csbcpb->cpb.aes_ccm.out_pat_or_mac, csbcpb 27 drivers/crypto/nx/nx-aes-ctr.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 33 drivers/crypto/nx/nx-aes-ctr.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_128); csbcpb 37 drivers/crypto/nx/nx-aes-ctr.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_192); csbcpb 41 drivers/crypto/nx/nx-aes-ctr.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_256); csbcpb 48 drivers/crypto/nx/nx-aes-ctr.c csbcpb->cpb.hdr.mode = NX_MODE_AES_CTR; csbcpb 49 drivers/crypto/nx/nx-aes-ctr.c memcpy(csbcpb->cpb.aes_ctr.key, in_key, key_len); csbcpb 78 drivers/crypto/nx/nx-aes-ctr.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 89 drivers/crypto/nx/nx-aes-ctr.c processed, csbcpb->cpb.aes_ctr.iv); csbcpb 103 drivers/crypto/nx/nx-aes-ctr.c memcpy(desc->info, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE); csbcpb 106 drivers/crypto/nx/nx-aes-ctr.c atomic64_add(csbcpb->csb.processed_byte_count, csbcpb 26 drivers/crypto/nx/nx-aes-ecb.c struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; csbcpb 32 drivers/crypto/nx/nx-aes-ecb.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_128); csbcpb 36 drivers/crypto/nx/nx-aes-ecb.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_192); csbcpb 40 drivers/crypto/nx/nx-aes-ecb.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_256); csbcpb 47 drivers/crypto/nx/nx-aes-ecb.c csbcpb->cpb.hdr.mode = NX_MODE_AES_ECB; csbcpb 48 drivers/crypto/nx/nx-aes-ecb.c memcpy(csbcpb->cpb.aes_ecb.key, in_key, key_len); csbcpb 60 drivers/crypto/nx/nx-aes-ecb.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 68 drivers/crypto/nx/nx-aes-ecb.c NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; csbcpb 70 drivers/crypto/nx/nx-aes-ecb.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; csbcpb 91 drivers/crypto/nx/nx-aes-ecb.c atomic64_add(csbcpb->csb.processed_byte_count, csbcpb 28 drivers/crypto/nx/nx-aes-gcm.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 35 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_128); csbcpb 40 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_192); csbcpb 45 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_256); csbcpb 53 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.hdr.mode = NX_MODE_AES_GCM; csbcpb 54 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb->cpb.aes_gcm.key, in_key, key_len); csbcpb 175 drivers/crypto/nx/nx-aes-gcm.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 182 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.hdr.mode = NX_MODE_AES_GMAC; csbcpb 184 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_CONTINUATION; csbcpb 193 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, desc->info, AES_BLOCK_SIZE); csbcpb 209 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; csbcpb 211 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 216 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.bit_length_data = 0; csbcpb 217 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.bit_length_aad = 8 * nbytes; csbcpb 224 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb->cpb.aes_gcm.in_pat_or_aad, csbcpb 225 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.out_pat_or_mac, AES_BLOCK_SIZE); csbcpb 226 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb->cpb.aes_gcm.in_s0, csbcpb 227 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.out_s0, AES_BLOCK_SIZE); csbcpb 229 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; csbcpb 239 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.hdr.mode = NX_MODE_AES_GCM; csbcpb 249 drivers/crypto/nx/nx-aes-gcm.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 260 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.hdr.mode = NX_MODE_AES_ECB; csbcpb 261 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb->cpb.aes_ecb.key, csbcpb->cpb.aes_gcm.key, csbcpb 262 drivers/crypto/nx/nx-aes-gcm.c sizeof(csbcpb->cpb.aes_ecb.key)); csbcpb 264 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; csbcpb 266 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; csbcpb 294 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb->cpb.aes_gcm.out_pat_or_mac, out, csbcpb 298 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.hdr.mode = NX_MODE_AES_GCM; csbcpb 304 drivers/crypto/nx/nx-aes-gcm.c memset(csbcpb->cpb.aes_ecb.key, 0, sizeof(csbcpb->cpb.aes_ecb.key)); csbcpb 315 drivers/crypto/nx/nx-aes-gcm.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 340 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.bit_length_aad = assoclen * 8; csbcpb 342 drivers/crypto/nx/nx-aes-gcm.c rc = nx_gca(nx_ctx, req, csbcpb->cpb.aes_gcm.in_pat_or_aad, csbcpb 349 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_CONTINUATION; csbcpb 351 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; csbcpb 353 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; csbcpb 360 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.bit_length_data = nbytes * 8; csbcpb 364 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.iv_or_cnt); csbcpb 370 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; csbcpb 372 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 380 drivers/crypto/nx/nx-aes-gcm.c memcpy(desc.info, csbcpb->cpb.aes_gcm.out_cnt, AES_BLOCK_SIZE); csbcpb 381 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb->cpb.aes_gcm.in_pat_or_aad, csbcpb 382 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.out_pat_or_mac, AES_BLOCK_SIZE); csbcpb 383 drivers/crypto/nx/nx-aes-gcm.c memcpy(csbcpb->cpb.aes_gcm.in_s0, csbcpb 384 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.out_s0, AES_BLOCK_SIZE); csbcpb 386 drivers/crypto/nx/nx-aes-gcm.c NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; csbcpb 389 drivers/crypto/nx/nx-aes-gcm.c atomic64_add(csbcpb->csb.processed_byte_count, csbcpb 399 drivers/crypto/nx/nx-aes-gcm.c csbcpb->cpb.aes_gcm.out_pat_or_mac, csbcpb 405 drivers/crypto/nx/nx-aes-gcm.c u8 *otag = csbcpb->cpb.aes_gcm.out_pat_or_mac; csbcpb 33 drivers/crypto/nx/nx-aes-xcbc.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 43 drivers/crypto/nx/nx-aes-xcbc.c memcpy(csbcpb->cpb.aes_xcbc.key, in_key, key_len); csbcpb 62 drivers/crypto/nx/nx-aes-xcbc.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 70 drivers/crypto/nx/nx-aes-xcbc.c csbcpb->cpb.hdr.mode = NX_MODE_AES_ECB; csbcpb 71 drivers/crypto/nx/nx-aes-xcbc.c memcpy(key, csbcpb->cpb.aes_xcbc.key, AES_BLOCK_SIZE); csbcpb 72 drivers/crypto/nx/nx-aes-xcbc.c memcpy(csbcpb->cpb.aes_ecb.key, key, AES_BLOCK_SIZE); csbcpb 73 drivers/crypto/nx/nx-aes-xcbc.c NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; csbcpb 107 drivers/crypto/nx/nx-aes-xcbc.c memcpy(csbcpb->cpb.aes_ecb.key, keys[0], AES_BLOCK_SIZE); csbcpb 131 drivers/crypto/nx/nx-aes-xcbc.c csbcpb->cpb.hdr.mode = NX_MODE_AES_XCBC_MAC; csbcpb 132 drivers/crypto/nx/nx-aes-xcbc.c memcpy(csbcpb->cpb.aes_xcbc.key, key, AES_BLOCK_SIZE); csbcpb 133 drivers/crypto/nx/nx-aes-xcbc.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; csbcpb 141 drivers/crypto/nx/nx-aes-xcbc.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 150 drivers/crypto/nx/nx-aes-xcbc.c NX_CPB_SET_KEY_SIZE(csbcpb, NX_KS_AES_128); csbcpb 151 drivers/crypto/nx/nx-aes-xcbc.c csbcpb->cpb.hdr.mode = NX_MODE_AES_XCBC_MAC; csbcpb 171 drivers/crypto/nx/nx-aes-xcbc.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 256 drivers/crypto/nx/nx-aes-xcbc.c if (NX_CPB_FDM(csbcpb) & NX_FDM_CONTINUATION) { csbcpb 257 drivers/crypto/nx/nx-aes-xcbc.c memcpy(csbcpb->cpb.aes_xcbc.cv, csbcpb 258 drivers/crypto/nx/nx-aes-xcbc.c csbcpb->cpb.aes_xcbc.out_cv_mac, csbcpb 262 drivers/crypto/nx/nx-aes-xcbc.c NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; csbcpb 275 drivers/crypto/nx/nx-aes-xcbc.c NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; csbcpb 296 drivers/crypto/nx/nx-aes-xcbc.c struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; csbcpb 304 drivers/crypto/nx/nx-aes-xcbc.c if (NX_CPB_FDM(csbcpb) & NX_FDM_CONTINUATION) { csbcpb 307 drivers/crypto/nx/nx-aes-xcbc.c memcpy(csbcpb->cpb.aes_xcbc.cv, csbcpb 308 drivers/crypto/nx/nx-aes-xcbc.c csbcpb->cpb.aes_xcbc.out_cv_mac, AES_BLOCK_SIZE); csbcpb 321 drivers/crypto/nx/nx-aes-xcbc.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 355 drivers/crypto/nx/nx-aes-xcbc.c memcpy(out, csbcpb->cpb.aes_xcbc.out_cv_mac, AES_BLOCK_SIZE); csbcpb 33 drivers/crypto/nx/nx-sha256.c NX_CPB_SET_DIGEST_SIZE(nx_ctx->csbcpb, NX_DS_SHA256); csbcpb 61 drivers/crypto/nx/nx-sha256.c struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; csbcpb 83 drivers/crypto/nx/nx-sha256.c memcpy(csbcpb->cpb.sha256.message_digest, sctx->state, SHA256_DIGEST_SIZE); csbcpb 84 drivers/crypto/nx/nx-sha256.c NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; csbcpb 85 drivers/crypto/nx/nx-sha256.c NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; csbcpb 144 drivers/crypto/nx/nx-sha256.c memcpy(csbcpb->cpb.sha256.input_partial_digest, csbcpb 145 drivers/crypto/nx/nx-sha256.c csbcpb->cpb.sha256.message_digest, csbcpb 170 drivers/crypto/nx/nx-sha256.c memcpy(sctx->state, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); csbcpb 180 drivers/crypto/nx/nx-sha256.c struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; csbcpb 199 drivers/crypto/nx/nx-sha256.c memcpy(csbcpb->cpb.sha256.input_partial_digest, sctx->state, SHA256_DIGEST_SIZE); csbcpb 200 drivers/crypto/nx/nx-sha256.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 201 drivers/crypto/nx/nx-sha256.c NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; csbcpb 203 drivers/crypto/nx/nx-sha256.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 204 drivers/crypto/nx/nx-sha256.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_CONTINUATION; csbcpb 207 drivers/crypto/nx/nx-sha256.c csbcpb->cpb.sha256.message_bit_length = (u64) (sctx->count * 8); csbcpb 240 drivers/crypto/nx/nx-sha256.c memcpy(out, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); csbcpb 32 drivers/crypto/nx/nx-sha512.c NX_CPB_SET_DIGEST_SIZE(nx_ctx->csbcpb, NX_DS_SHA512); csbcpb 61 drivers/crypto/nx/nx-sha512.c struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; csbcpb 83 drivers/crypto/nx/nx-sha512.c memcpy(csbcpb->cpb.sha512.message_digest, sctx->state, SHA512_DIGEST_SIZE); csbcpb 84 drivers/crypto/nx/nx-sha512.c NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; csbcpb 85 drivers/crypto/nx/nx-sha512.c NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; csbcpb 148 drivers/crypto/nx/nx-sha512.c memcpy(csbcpb->cpb.sha512.input_partial_digest, csbcpb 149 drivers/crypto/nx/nx-sha512.c csbcpb->cpb.sha512.message_digest, csbcpb 173 drivers/crypto/nx/nx-sha512.c memcpy(sctx->state, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); csbcpb 183 drivers/crypto/nx/nx-sha512.c struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; csbcpb 203 drivers/crypto/nx/nx-sha512.c memcpy(csbcpb->cpb.sha512.input_partial_digest, sctx->state, csbcpb 205 drivers/crypto/nx/nx-sha512.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 206 drivers/crypto/nx/nx-sha512.c NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; csbcpb 208 drivers/crypto/nx/nx-sha512.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 209 drivers/crypto/nx/nx-sha512.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_CONTINUATION; csbcpb 212 drivers/crypto/nx/nx-sha512.c NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; csbcpb 216 drivers/crypto/nx/nx-sha512.c csbcpb->cpb.sha512.message_bit_length_lo = count0; csbcpb 246 drivers/crypto/nx/nx-sha512.c memcpy(out, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); csbcpb 309 drivers/crypto/nx/nx.c nx_ctx->csbcpb->csb.valid |= NX_CSB_VALID_BIT; csbcpb 312 drivers/crypto/nx/nx.c nx_ctx->op.csbcpb = __pa(nx_ctx->csbcpb); csbcpb 320 drivers/crypto/nx/nx.c nx_ctx->op_aead.csbcpb = __pa(nx_ctx->csbcpb_aead); csbcpb 673 drivers/crypto/nx/nx.c nx_ctx->csbcpb = (struct nx_csbcpb *)(round_up((u64)nx_ctx->kmem, csbcpb 675 drivers/crypto/nx/nx.c nx_ctx->in_sg = (struct nx_sg *)((u8 *)nx_ctx->csbcpb + NX_PAGE_SIZE); csbcpb 749 drivers/crypto/nx/nx.c nx_ctx->csbcpb = NULL; csbcpb 121 drivers/crypto/nx/nx.h struct nx_csbcpb *csbcpb; /* aligned page given to phyp @ hcall time */