Home
last modified time | relevance | path

Searched refs:final (Results 1 – 25 of 206) sorted by relevance

123456789

/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes-cmac.c46 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 Dccp-ops.c639 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 Dccp-crypto.h131 unsigned int final; member
205 unsigned int final; member
/linux/tools/memory-model/Documentation/
H A Dlocking.txt50 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 Drecipes.txt95 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 Dsha3.c94 .final = crypto_sha3_final,
107 .final = crypto_sha3_final,
120 .final = crypto_sha3_final,
133 .final = crypto_sha3_final,
H A Dsha256.c328 .final = crypto_sha224_final,
346 .final = crypto_sha256_final,
366 .final = crypto_hmac_sha224_final,
386 .final = crypto_hmac_sha256_final,
H A Dsha512.c334 .final = crypto_sha384_final,
352 .final = crypto_sha512_final,
372 .final = crypto_hmac_sha384_final,
392 .final = crypto_hmac_sha512_final,
H A Dmd5.c187 .final = crypto_md5_final,
207 .final = crypto_hmac_md5_final,
H A Dsha1.c191 .final = crypto_sha1_final,
211 .final = crypto_hmac_sha1_final,
/linux/include/linux/
H A Dccp.h245 u32 final; member
298 u32 final; /* Indicates final sha cmd */ member
443 u32 final; member
472 u32 final; member
/linux/Documentation/security/tpm/
H A Dtpm_event_log.rst40 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 Dnuma_balancing.h32 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 Dtegra-se-hash.c756 .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/arch/alpha/lib/
H A Dstrncpy.S47 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
H A Dmemchr.S125 beq $2, $final # .. e1 :
157 $final: subq $5, $0, $18 # .. e1 : $18 <- number of bytes left to do
/linux/arch/x86/kernel/cpu/mce/
H A Dcore.c265 static noinstr void mce_panic(const char *msg, struct mce_hw_err *final, char *exp) in mce_panic() argument
310 if (!final || mce_cmp(m, &final->m)) { in mce_panic()
316 if (final) { in mce_panic()
317 print_mce(final); in mce_panic()
319 apei_err = apei_write_mce(&final->m); in mce_panic()
324 memmsg = mce_dump_aux_info(&final->m); in mce_panic()
339 if (final && (final->m.status & MCI_STATUS_ADDRV)) { in mce_panic()
341 p = pfn_to_online_page(final->m.addr >> PAGE_SHIFT); in mce_panic()
1335 struct mce_hw_err *final, unsigned long *toclear, in __mc_scan_banks() argument
1400 *final = *err; in __mc_scan_banks()
[all …]
/linux/include/soc/fsl/
H A Ddpaa2-fd.h441 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 Dvkms_color_test.c140 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 Dcaamhash.c122 int (*final)(struct ahash_request *req); member
134 int (*final)(struct ahash_request *req); member
1299 state->final = ahash_final_ctx; in ahash_update_no_ctx()
1479 state->final = ahash_final_ctx; in ahash_update_first()
1483 state->final = ahash_final_no_ctx; in ahash_update_first()
1511 state->final = ahash_final_no_ctx; in ahash_init()
1540 return state->final(req); in ahash_final()
1554 export->final = state->final; in ahash_export()
1570 state->final = export->final; in ahash_import()
1597 .final = ahash_final,
[all …]
/linux/arch/m68k/fpsp040/
H A Dbindec.S98 | 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 Dsafexcel_hash.c985 .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 Dstmmac_selftests.c398 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 …]
/linux/arch/sparc/lib/
H A Dchecksum_32.S50 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/Documentation/crypto/
H A Ddevel-algos.rst175 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

123456789