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

Name:format_fcontract_trim

Proto:static __always_inline void format_fcontract_trim(u64 *input)

Type:void

Parameter:

TypeParameterName
u64 *input
695  a0 = input[0]
696  a1 = input[1]
697  a2 = input[2]
698  a3 = input[3]
699  a4 = input[4]
700  mask0 = u64_gte_mask(a0, 0x7ffffffffffedLLU)
701  mask1 = u64_eq_mask(a1, 0x7ffffffffffffLLU)
702  mask2 = u64_eq_mask(a2, 0x7ffffffffffffLLU)
703  mask3 = u64_eq_mask(a3, 0x7ffffffffffffLLU)
704  mask4 = u64_eq_mask(a4, 0x7ffffffffffffLLU)
705  mask = mask0 & mask1 & mask2 & mask3 & mask4
706  a0_ = a0 - (0x7ffffffffffedLLU & mask)
707  a1_ = a1 - (0x7ffffffffffffLLU & mask)
708  a2_ = a2 - (0x7ffffffffffffLLU & mask)
709  a3_ = a3 - (0x7ffffffffffffLLU & mask)
710  a4_ = a4 - (0x7ffffffffffffLLU & mask)
711  input[0] = a0_
712  input[1] = a1_
713  input[2] = a2_
714  input[3] = a3_
715  input[4] = a4_
Caller
NameDescribe
format_fcontract