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:15
Last Modify:2022-05-21 12:16:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:u64_eq_mask

Proto:static __always_inline u64 u64_eq_mask(u64 a, u64 b)

Type:u64

Parameter:

TypeParameterName
u64a
u64b
21  x = a ^ b
22  minus_x = ~x + 1U
23  x_or_minus_x = x | minus_x
24  xnx = x_or_minus_x >> 63U
25  c = xnx - 1U
26  Return c
Caller
NameDescribe
format_fcontract_trim