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

Name:fmul_fmul

Proto:static __always_inline void fmul_fmul(u64 *output, u64 *input, u64 *input21)

Type:void

Parameter:

TypeParameterName
u64 *output
u64 *input
u64 *input21
189  u64 tmp[5] = {input[0], input[1], input[2], input[3], input[4]}
199  u128 t[5] = {0}
200  fmul_mul_shift_reduce_(t, tmp, input21)
201  fproduct_carry_wide_(t)
202  b4 = t[4]
203  b0 = t[0]
204  b4_ = b4 & 0x7ffffffffffffLLU
205  b0_ = b0 + 19 * (b4 >> 51)
206  t[4] = b4_
207  t[0] = b0_
208  fproduct_copy_from_wide_(output, t)
209  i0 = output[0]
210  i1 = output[1]
211  i0_ = i0 & 0x7ffffffffffffLLU
212  i1_ = i1 + (i0 >> 51)
213  output[0] = i0_
214  output[1] = i1_
Caller
NameDescribe
crecip_crecip
fmul