函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\mpi\mpih-mul.c Create Date:2022-07-27 08:17:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mul_n

函数原型:static void mul_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size, mpi_ptr_t tspace)

返回类型:void

参数:

类型参数名称
mpi_ptr_tprodp
mpi_ptr_tup
mpi_ptr_tvp
mpi_size_tsize
mpi_ptr_ttspace
98  如果size按位与1则
109  esize等于size减1
113  cy_limb等于mpihelp_addmul_1(prodp + esize, up, esize, vp[esize])
114  prodp[esize + esize]等于cy_limb
115  cy_limb等于mpihelp_addmul_1(prodp + esize, vp, size, up[esize])
116  prodp[esize + size]等于cy_limb
117  否则
133  hsize等于size右移1位
148  如果mpi比较大于等于0则
150  negflg等于0
151  否则
153  negflg等于1
155  如果mpi比较大于等于0则
157  negflg异或等于1
158  否则
175  如果negflgcy减等于mpihelp_sub_n(prodp + hsize, prodp + hsize, tspace, size)
179  否则cy加等于mpihelp_add_n(prodp + hsize, prodp + hsize, tspace, size)
194  cy加等于mpihelp_add_n(prodp + hsize, prodp + hsize, tspace, size)
195  如果cympihelp_add_1(prodp + hsize + size, prodp + hsize + size, hsize, cy)
202  如果cympihelp_add_1(prodp + size, prodp + size, size, 1)