Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\crypto\curve25519-fiat32.c Create Date:2022-07-28 06:46:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fe_loose_invert

Proto:static __always_inline void fe_loose_invert(fe *out, const fe_loose *z)

Type:void

Parameter:

TypeParameterName
fe *out
const fe_loose *z
568  fe_sq_tl( & t0, z)
569  fe_sq_tt( & t1, & t0)
570  When i < 2 cycle fe_sq_tt( & t1, & t1)
572  fe_mul_tlt( & t1, z, & t1)
573  fe_mul_ttt( & t0, & t0, & t1)
574  fe_sq_tt( & t2, & t0)
575  fe_mul_ttt( & t1, & t1, & t2)
576  fe_sq_tt( & t2, & t1)
577  When i < 5 cycle fe_sq_tt( & t2, & t2)
579  fe_mul_ttt( & t1, & t2, & t1)
580  fe_sq_tt( & t2, & t1)
581  When i < 10 cycle fe_sq_tt( & t2, & t2)
583  fe_mul_ttt( & t2, & t2, & t1)
584  fe_sq_tt( & t3, & t2)
585  When i < 20 cycle fe_sq_tt( & t3, & t3)
587  fe_mul_ttt( & t2, & t3, & t2)
588  fe_sq_tt( & t2, & t2)
589  When i < 10 cycle fe_sq_tt( & t2, & t2)
591  fe_mul_ttt( & t1, & t2, & t1)
592  fe_sq_tt( & t2, & t1)
593  When i < 50 cycle fe_sq_tt( & t2, & t2)
595  fe_mul_ttt( & t2, & t2, & t1)
596  fe_sq_tt( & t3, & t2)
597  When i < 100 cycle fe_sq_tt( & t3, & t3)
599  fe_mul_ttt( & t2, & t3, & t2)
600  fe_sq_tt( & t2, & t2)
601  When i < 50 cycle fe_sq_tt( & t2, & t2)
603  fe_mul_ttt( & t1, & t2, & t1)
604  fe_sq_tt( & t1, & t1)
605  When i < 5 cycle fe_sq_tt( & t1, & t1)
607  fe_mul_ttt(out, & t1, & t0)
Caller
NameDescribe
fe_invert