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

Name:fdifference

Proto:static __always_inline void fdifference(u64 *a, u64 *b)

Type:void

Parameter:

TypeParameterName
u64 *a
u64 *b
353  u64 tmp[5] = {0}
359  No 3D Now!(tmp, b, 5 * size of b )
360  b0 = tmp[0]
361  b1 = tmp[1]
362  b2 = tmp[2]
363  b3 = tmp[3]
364  b4 = tmp[4]
365  tmp[0] = b0 + 0x3fffffffffff68LLU
366  tmp[1] = b1 + 0x3ffffffffffff8LLU
367  tmp[2] = b2 + 0x3ffffffffffff8LLU
368  tmp[3] = b3 + 0x3ffffffffffff8LLU
369  tmp[4] = b4 + 0x3ffffffffffff8LLU
371  xi = a[0]
372  yi = tmp[0]
373  a[0] = yi - xi
376  xi = a[1]
377  yi = tmp[1]
378  a[1] = yi - xi
381  xi = a[2]
382  yi = tmp[2]
383  a[2] = yi - xi
386  xi = a[3]
387  yi = tmp[3]
388  a[3] = yi - xi
391  xi = a[4]
392  yi = tmp[4]
393  a[4] = yi - xi
Caller
NameDescribe
addanddouble_fmonty