| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto-aes-cmac.c | 46 if (req->result && rctx->final) in ccp_aes_cmac_complete() 56 unsigned int final) in ccp_do_cmac_update() argument 77 if (!final && (len <= block_size)) { in ccp_do_cmac_update() 88 rctx->final = final; in ccp_do_cmac_update() 89 rctx->hash_rem = final ? 0 : len & (block_size - 1); in ccp_do_cmac_update() 91 if (!final && !rctx->hash_rem) { in ccp_do_cmac_update() 97 if (final && (rctx->null_msg || (len & (block_size - 1)))) in ccp_do_cmac_update() 152 if (final) in ccp_do_cmac_update() 171 rctx->cmd.u.aes.cmac_final = final; in ccp_do_cmac_update() 367 alg->final = ccp_aes_cmac_final; in ccp_register_aes_cmac_algs()
|
| H A D | ccp-crypto-sha.c | 49 if (req->result && rctx->final) in ccp_sha_complete() 59 unsigned int final) in ccp_do_sha_update() argument 74 if (!final && (len <= block_size)) { in ccp_do_sha_update() 85 rctx->final = final; in ccp_do_sha_update() 86 rctx->hash_rem = final ? 0 : len & (block_size - 1); in ccp_do_sha_update() 88 if (!final && !rctx->hash_rem) { in ccp_do_sha_update() 167 rctx->cmd.u.sha.final = rctx->final; in ccp_do_sha_update() 476 alg->final = ccp_sha_final; in ccp_register_sha_alg()
|
| H A D | ccp-ops.c | 639 struct ccp_dm_workarea final; in ccp_run_aes_gcm_cmd() member 651 __be64 *final; in ccp_run_aes_gcm_cmd() local 852 ret = ccp_init_dm_workarea(&wa->final, cmd_q, AES_BLOCK_SIZE, in ccp_run_aes_gcm_cmd() 856 final = (__be64 *)wa->final.address; in ccp_run_aes_gcm_cmd() 857 final[0] = cpu_to_be64(aes->aad_len * 8); in ccp_run_aes_gcm_cmd() 858 final[1] = cpu_to_be64(ilen * 8); in ccp_run_aes_gcm_cmd() 870 wa->op.src.u.dma.address = wa->final.dma.address; in ccp_run_aes_gcm_cmd() 873 wa->op.dst.u.dma.address = wa->final.dma.address; in ccp_run_aes_gcm_cmd() 883 ccp_get_dm_area(&wa->final, 0, p_tag, 0, authsize); in ccp_run_aes_gcm_cmd() 896 ret = crypto_memneq(wa->tag.address, wa->final.address, in ccp_run_aes_gcm_cmd() [all …]
|
| H A D | ccp-crypto.h | 131 unsigned int final; member 205 unsigned int final; member
|
| /linux/drivers/crypto/ |
| H A D | omap-sham.c | 193 int final, int dma); 368 int final, int dma) in omap_sham_write_ctrl_omap2() argument 387 if (final) in omap_sham_write_ctrl_omap2() 437 int final, int dma) in omap_sham_write_ctrl_omap4() argument 471 if (final) { in omap_sham_write_ctrl_omap4() 503 int final) in omap_sham_xmit_cpu() argument 512 ctx->digcnt, length, final); in omap_sham_xmit_cpu() 514 dd->pdata->write_ctrl(dd, length, final, 0); in omap_sham_xmit_cpu() 521 if (final) in omap_sham_xmit_cpu() 570 int final) in omap_sham_xmit_dma() argument [all …]
|
| H A D | atmel-sha.c | 562 size_t length, int final) in atmel_sha_xmit_cpu() argument 569 ctx->digcnt[1], ctx->digcnt[0], length, final); in atmel_sha_xmit_cpu() 578 if (final) in atmel_sha_xmit_cpu() 592 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_pdc() argument 598 ctx->digcnt[1], ctx->digcnt[0], length1, final); in atmel_sha_xmit_pdc() 616 if (final) in atmel_sha_xmit_pdc() 638 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_dma() argument 645 ctx->digcnt[1], ctx->digcnt[0], length1, final); in atmel_sha_xmit_dma() 680 if (final) in atmel_sha_xmit_dma() 693 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_start() argument [all …]
|
| H A D | s5p-sss.c | 914 bool final) in s5p_hash_write_ctrl() argument 928 if (final) { in s5p_hash_write_ctrl() 964 bool final) in s5p_hash_xmit_dma() argument 979 s5p_hash_write_ctrl(dd, length, final); in s5p_hash_xmit_dma() 984 if (final) in s5p_hash_xmit_dma() 1121 unsigned int new_len, bool final) in s5p_hash_prepare_sgs() argument 1130 if (skip || !final) in s5p_hash_prepare_sgs() 1196 bool final = ctx->finup; in s5p_hash_prepare_request() local 1228 if (final) { in s5p_hash_prepare_request() 1245 final); in s5p_hash_prepare_request() [all …]
|
| /linux/tools/memory-model/Documentation/ |
| H A D | locking.txt | 50 consequence that if the final value of r0 is equal to 1, then the final 52 say nothing about the final value of r1. 82 This also has the consequence that if the final value of r1 is equal 83 to 0, then the final value of r0 must also be equal to 0. In contrast, 84 the weaker rule would say nothing about the final value of r0. 184 the final value of r0 be 1, the final value of z be 2, and the final 220 the counter-intuitive result where the final value of r0 is 1, the final 221 value of z is 2, and the final value of r1 is 0.
|
| H A D | recipes.txt | 95 consequence that if the final value of r0 is equal to 1, then the final 97 say nothing about the final value of r1. 121 This also has the consequence that if the final value of r1 is equal 122 to 0, then the final value of r0 must also be equal to 0. In contrast, 123 the weaker rule would say nothing about the final value of r0. 158 the final value of r0 be 1, the final value of z be 2, and the final 238 subsequent accesses. Therefore, if the final value of r0 is the value 1, 239 the final value of r1 must also be the value 1. 273 In this example, if the final value of r0 is &x then the final value of 316 the final value of r0 is 1, the final value of r1 must also be 1. [all …]
|
| /linux/crypto/ |
| H A D | sha3.c | 94 .final = crypto_sha3_final, 107 .final = crypto_sha3_final, 120 .final = crypto_sha3_final, 133 .final = crypto_sha3_final,
|
| H A D | sha256.c | 328 .final = crypto_sha224_final, 346 .final = crypto_sha256_final, 366 .final = crypto_hmac_sha224_final, 386 .final = crypto_hmac_sha256_final,
|
| H A D | sha512.c | 334 .final = crypto_sha384_final, 352 .final = crypto_sha512_final, 372 .final = crypto_hmac_sha384_final, 392 .final = crypto_hmac_sha512_final,
|
| /linux/include/linux/ |
| H A D | ccp.h | 245 u32 final; member 298 u32 final; /* Indicates final sha cmd */ member 443 u32 final; member 472 u32 final; member
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-hash.c | 100 csr.final = 1; in starfive_hash_start() 561 .base.final = starfive_hash_final, 589 .base.final = starfive_hash_final, 618 .base.final = starfive_hash_final, 646 .base.final = starfive_hash_final, 675 .base.final = starfive_hash_final, 703 .base.final = starfive_hash_final, 732 .base.final = starfive_hash_final, 760 .base.final = starfive_hash_final, 789 .base.final = starfive_hash_final, [all …]
|
| /linux/Documentation/security/tpm/ |
| H A D | tpm_event_log.rst | 40 The firmware provides so called final events configuration table to sort 46 final events table size while the stub is still running to the custom 49 and the final events table. 55 - [2] The final concatenation is done in drivers/char/tpm/eventlog/efi.c
|
| /linux/include/linux/sched/ |
| H A D | numa_balancing.h | 32 extern void task_numa_free(struct task_struct *p, bool final); 47 static inline void task_numa_free(struct task_struct *p, bool final) in task_numa_free() argument
|
| /linux/arch/alpha/lib/ |
| H A D | strncpy.S | 47 subq $27, 1, $2 # clear the final bits in the prev word 73 1: ldq_u $1, 0($16) # clear the leading bits in the final word
|
| /linux/arch/x86/kernel/cpu/mce/ |
| H A D | core.c | 264 static noinstr void mce_panic(const char *msg, struct mce_hw_err *final, char *exp) in mce_panic() argument 309 if (!final || mce_cmp(m, &final->m)) { in mce_panic() 315 if (final) { in mce_panic() 316 print_mce(final); in mce_panic() 318 apei_err = apei_write_mce(&final->m); in mce_panic() 323 memmsg = mce_dump_aux_info(&final->m); in mce_panic() 338 if (final && (final->m.status & MCI_STATUS_ADDRV)) { in mce_panic() 340 p = pfn_to_online_page(final->m.addr >> PAGE_SHIFT); in mce_panic() 1358 struct mce_hw_err *final, unsigned long *toclear, in __mc_scan_banks() argument 1423 *final = *err; in __mc_scan_banks() [all …]
|
| /linux/include/soc/fsl/ |
| H A D | dpaa2-fd.h | 441 static inline void dpaa2_sg_set_final(struct dpaa2_sg_entry *sg, bool final) in dpaa2_sg_set_final() argument 445 sg->format_offset |= cpu_to_le16(final << SG_FINAL_FLAG_SHIFT); in dpaa2_sg_set_final() 674 static inline void dpaa2_fl_set_final(struct dpaa2_fl_entry *fle, bool final) in dpaa2_fl_set_final() argument 678 fle->format_offset |= cpu_to_le16(final << FL_FINAL_FLAG_SHIFT); in dpaa2_fl_set_final()
|
| /linux/drivers/gpu/drm/vkms/tests/ |
| H A D | vkms_color_test.c | 140 u16 srgb, final; in vkms_color_srgb_inv_srgb() local 144 final = apply_lut_to_channel_value(&srgb_inv_eotf, srgb, LUT_RED); in vkms_color_srgb_inv_srgb() 146 KUNIT_EXPECT_GE(test, final / 0x101, i - 1); in vkms_color_srgb_inv_srgb() 147 KUNIT_EXPECT_LE(test, final / 0x101, i + 1); in vkms_color_srgb_inv_srgb()
|
| /linux/drivers/crypto/caam/ |
| H A D | caamhash.c | 122 int (*final)(struct ahash_request *req); member 134 int (*final)(struct ahash_request *req); member 1298 state->final = ahash_final_ctx; in ahash_update_no_ctx() 1478 state->final = ahash_final_ctx; in ahash_update_first() 1482 state->final = ahash_final_no_ctx; in ahash_update_first() 1510 state->final = ahash_final_no_ctx; in ahash_init() 1539 return state->final(req); in ahash_final() 1553 export->final = state->final; in ahash_export() 1569 state->final = export->final; in ahash_import() 1596 .final = ahash_final, [all …]
|
| /linux/arch/m68k/fpsp040/ |
| H A D | bindec.S | 98 | the final string area in memory. 102 | digits are stored in the final string. 103 | Test the length of the final exponent string. If the 106 | A16. Write sign bits to final string. 120 | a0: ptr for original operand/final result 231 | a0: ptr for original operand/final result 294 | a0: ptr for original operand/final result 359 | d0: exponent/scratch - final is 0 366 | a0: ptr for original operand/final result 619 | d0: FPCR with size set to ext/scratch final = 0 [all …]
|
| /linux/drivers/crypto/inside-secure/eip93/ |
| H A D | eip93-hash.c | 639 .final = eip93_hash_final, 669 .final = eip93_hash_final, 699 .final = eip93_hash_final, 729 .final = eip93_hash_final, 759 .final = eip93_hash_final, 790 .final = eip93_hash_final, 821 .final = eip93_hash_final, 852 .final = eip93_hash_final,
|
| /linux/drivers/crypto/inside-secure/ |
| H A D | safexcel_hash.c | 985 .final = safexcel_ahash_final, 1210 .final = safexcel_ahash_final, 1268 .final = safexcel_ahash_final, 1325 .final = safexcel_ahash_final, 1396 .final = safexcel_ahash_final, 1468 .final = safexcel_ahash_final, 1526 .final = safexcel_ahash_final, 1583 .final = safexcel_ahash_final, 1654 .final = safexcel_ahash_final, 1726 .final = safexcel_ahash_final, [all …]
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_selftests.c | 398 struct stmmac_counters initial, final; in stmmac_test_mmc() local 402 memset(&final, 0, sizeof(final)); in stmmac_test_mmc() 415 stmmac_mmc_read(priv, priv->mmcaddr, &final); in stmmac_test_mmc() 422 if (final.mmc_tx_framecount_g <= initial.mmc_tx_framecount_g) in stmmac_test_mmc() 430 struct stmmac_extra_stats *initial, *final; in stmmac_test_eee() local 441 final = kzalloc_obj(*final); in stmmac_test_eee() 442 if (!final) { in stmmac_test_eee() 455 memcpy(final, &priv->xstats, sizeof(*final)); in stmmac_test_eee() 457 if (final->irq_tx_path_in_lpi_mode_n > in stmmac_test_eee() 468 if (final->irq_tx_path_in_lpi_mode_n <= in stmmac_test_eee() [all …]
|