| /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-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/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,
|
| H A D | md5.c | 187 .final = crypto_md5_final, 207 .final = crypto_hmac_md5_final,
|
| H A D | sha1.c | 191 .final = crypto_sha1_final, 211 .final = crypto_hmac_sha1_final,
|
| /linux/arch/s390/crypto/ |
| H A D | hmac_s390.c | 101 u8 *digest, unsigned int digestsize, bool final) in hash_data() argument 128 func = final ? CPACF_KLMD_SHA_256 : CPACF_KIMD_SHA_256; in hash_data() 130 if (!final) in hash_data() 134 func = final ? CPACF_KLMD_SHA_256 : CPACF_KIMD_SHA_256; in hash_data() 138 func = final ? CPACF_KLMD_SHA_512 : CPACF_KIMD_SHA_512; in hash_data() 140 if (!final) in hash_data() 144 func = final ? CPACF_KLMD_SHA_512 : CPACF_KIMD_SHA_512; in hash_data() 153 if (final) in hash_data()
|
| /linux/include/linux/ |
| H A D | ccp.h | 164 * @cmac_final: indicates final operation when running in CMAC mode 165 * @cmac_key: K1/K2 key used in final CMAC operation 194 u32 cmac_final; /* Indicates final cmac cmd */ 196 * final cmac cmd */ 234 * @final: indicates final XTS operation 237 * - action, unit_size, key, key_len, iv, iv_len, src, dst, src_len, final 256 u32 final; 286 * @opad: data to be used for final HMAC operation 287 * @opad_len: length in bytes of data used for final HMA 245 u32 final; global() member 298 u32 final; /* Indicates final sha cmd */ global() member 443 u32 final; global() member 472 u32 final; global() member [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/drivers/crypto/ |
| H A D | atmel-sha.c | 557 size_t length, int final) in atmel_sha_xmit_cpu() 563 dev_dbg(dd->dev, "xmit_cpu: digcnt: 0x%llx 0x%llx, length: %zd, final: %d\n", in atmel_sha_xmit_cpu() 564 ctx->digcnt[1], ctx->digcnt[0], length, final); in atmel_sha_xmit_cpu() 573 if (final) in atmel_sha_xmit_cpu() 587 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_pdc() 592 dev_dbg(dd->dev, "xmit_pdc: digcnt: 0x%llx 0x%llx, length: %zd, final: %d\n", in atmel_sha_xmit_pdc() 593 ctx->digcnt[1], ctx->digcnt[0], length1, final); in atmel_sha_xmit_pdc() 611 if (final) in atmel_sha_xmit_pdc() 633 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_dma() 639 dev_dbg(dd->dev, "xmit_dma: digcnt: 0x%llx 0x%llx, length: %zd, final in atmel_sha_xmit_dma() 554 atmel_sha_xmit_cpu(struct atmel_sha_dev * dd,const u8 * buf,size_t length,int final) atmel_sha_xmit_cpu() argument 584 atmel_sha_xmit_pdc(struct atmel_sha_dev * dd,dma_addr_t dma_addr1,size_t length1,dma_addr_t dma_addr2,size_t length2,int final) atmel_sha_xmit_pdc() argument 630 atmel_sha_xmit_dma(struct atmel_sha_dev * dd,dma_addr_t dma_addr1,size_t length1,dma_addr_t dma_addr2,size_t length2,int final) atmel_sha_xmit_dma() argument 685 atmel_sha_xmit_start(struct atmel_sha_dev * dd,dma_addr_t dma_addr1,size_t length1,dma_addr_t dma_addr2,size_t length2,int final) atmel_sha_xmit_start() argument 710 atmel_sha_xmit_dma_map(struct atmel_sha_dev * dd,struct atmel_sha_reqctx * ctx,size_t length,int final) atmel_sha_xmit_dma_map() argument 729 unsigned int final; atmel_sha_update_dma_slow() local 754 unsigned int length, final, tail; atmel_sha_update_dma_start() local [all...] |
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_selftests.c | 412 struct stmmac_counters initial, final; in __stmmac_test_loopback() 416 memset(&final, 0, sizeof(final)); in __stmmac_test_loopback() 429 stmmac_mmc_read(priv, priv->mmcaddr, &final); in stmmac_test_mmc() 441 if (final.mmc_tx_framecount_g <= initial.mmc_tx_framecount_g && in stmmac_test_mmc() 442 final.mmc_rx_framecount_gb <= initial.mmc_rx_framecount_gb) in stmmac_test_mmc() 450 struct stmmac_extra_stats *initial, *final; in stmmac_test_mmc() 465 final = kzalloc_obj(*final); 466 if (!final) { in stmmac_test_eee() 430 struct stmmac_counters initial, final; stmmac_test_mmc() local 468 struct stmmac_extra_stats *initial, *final; stmmac_test_eee() local [all...] |
| /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/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 756 .final = tegra_sha_final, 781 .final = tegra_sha_final, 806 .final = tegra_sha_final, 831 .final = tegra_sha_final, 856 .final = tegra_sha_final, 881 .final = tegra_sha_final, 906 .final = tegra_sha_final, 931 .final = tegra_sha_final, 956 .final = tegra_sha_final, 982 .final = tegra_sha_final, [all …]
|
| /linux/drivers/crypto/intel/keembay/ |
| H A D | keembay-ocs-hcu-core.c | 27 /* Flag marking a final request. */ 223 * Note: if this is a final request, we process all the data in the SG list, 245 * If this is not a final DMA (terminated DMA), the data passed to the in kmb_ocs_dma_prepare() 409 * k ^ opad will be calculated in the final request. in prepare_ipad() 500 /* If we get here, this is a final request. */ in kmb_ocs_hcu_do_one_request() 520 } else { /* Otherwise (if we have no data), use final. */ in kmb_ocs_hcu_do_one_request() 549 /* Now hash the buffer to obtain the final HMAC. */ in kmb_ocs_hcu_do_one_request() 650 * process it at the next update() or final(). in kmb_ocs_hcu_update() 894 .base.final = kmb_ocs_hcu_final, 919 .base.final [all...] |
| /linux/arch/x86/kernel/cpu/mce/ |
| H A D | core.c | 242 /* Panic in progress. Enable interrupts and wait for final IPI */ 264 static noinstr void mce_panic(const char *msg, struct mce_hw_err *final, char *exp) in mce_panic() argument 303 /* Now print uncorrected but with the final one last */ in mce_panic() 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 in mce_panic() 1332 __mc_scan_banks(struct mce_hw_err * err,struct pt_regs * regs,struct mce_hw_err * final,unsigned long * toclear,unsigned long * valid_banks,int no_way_out,int * worst) __mc_scan_banks() argument 1533 struct mce_hw_err *final; do_machine_check() local [all...] |
| /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/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/ |
| 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 [all...] |
| /linux/arch/sparc/lib/ |
| H A D | checksum_32.S | 50 addx %g0, %o2, %o2 ! add in final carry 57 addx %g0, %o2, %o2 ! add in final carry 69 4: ldub [%o0], %o5 ! get final byte 74 addx %g0, %o2, %o0 ! add final carry into retval 121 addx %g0, %o2, %o2 ! sink in final carry 130 sub %g7, %o4, %g7 ! final jmp ptr adjust 140 addx %g0, %o2, %o2 ! fetch final carry
|
| /linux/arch/alpha/lib/ |
| H A D | memchr.S | 125 beq $2, $final # .. e1 : 157 $final: subq $5, $0, $18 # .. e1 : $18 <- number of bytes left to do
|
| /linux/Documentation/crypto/ |
| H A D | devel-algos.rst | 175 followed immediately by .final() is also a perfectly valid 182 .init() -> .update() -> .final() ! .update() might not be called 214 .import -> .update() -> .final() ! .update() may not be called 226 - _not_ call any of .final(), .finup() or .export() at any point in future
|