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

Name:fsquare_fsquare__

Proto:static __always_inline void fsquare_fsquare__(u128 *tmp, u64 *output)

Type:void

Parameter:

TypeParameterName
u128 *tmp
u64 *output
220  r0 = output[0]
221  r1 = output[1]
222  r2 = output[2]
223  r3 = output[3]
224  r4 = output[4]
225  d0 = r0 * 2
226  d1 = r1 * 2
227  d2 = r2 * 2 * 19
228  d419 = r4 * 19
229  d4 = d419 * 2
230  s0 = r0 * r0 + d4 * r1 + d2 * r3
232  s1 = d0 * r1 + d4 * r2 + r3 * 19 * r3
234  s2 = d0 * r2 + r1 * r1 + d4 * r3
236  s3 = d0 * r3 + d1 * r2 + r4 * d419
238  s4 = d0 * r4 + d1 * r3 + r2 * r2
240  tmp[0] = s0
241  tmp[1] = s1
242  tmp[2] = s2
243  tmp[3] = s3
244  tmp[4] = s4
Caller
NameDescribe
fsquare_fsquare_