Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\crypto\curve25519-hacl64.c Create Date:2022-07-28 06:46:29
Last Modify:2022-05-21 12:16:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:point_swap_conditional_step

Proto:static __always_inline void point_swap_conditional_step(u64 *a, u64 *b, u64 swap1, u32 ctr)

Type:void

Parameter:

TypeParameterName
u64 *a
u64 *b
u64swap1
u32ctr
447  i = ctr - 1
448  ai = a[i]
449  bi = b[i]
450  x = swap1 & (ai ^ bi)
451  ai1 = ai ^ x
452  bi1 = bi ^ x
453  a[i] = ai1
454  b[i] = bi1
Caller
NameDescribe
point_swap_conditional5