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

Name:u64_gte_mask

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

Type:u64

Parameter:

TypeParameterName
u64a
u64b
31  x = a
32  y = b
33  x_xor_y = x ^ y
34  x_sub_y = x - y
35  x_sub_y_xor_y = x_sub_y ^ y
36  q = x_xor_y | x_sub_y_xor_y
37  x_xor_q = x ^ q
38  x_xor_q_ = x_xor_q >> 63U
39  c = x_xor_q_ - 1U
40  Return c
Caller
NameDescribe
format_fcontract_trim