函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mpihelp_add_1

函数原型:G10_MPI_INLINE_DECL mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, mpi_limb_t s2_limb)

返回类型:mpi_limb_t

参数:

类型参数名称
mpi_ptr_tres_ptr
mpi_ptr_ts1_ptr
mpi_size_ts1_size
mpi_limb_ts2_limb
29  x等于s1_ptr自加
30  s2_limb加等于x
31  res_ptr自加等于s2_limb
32  如果s2_limb小于x
33 s1_size先自减循环
34  x = * s1_ptr++ + 1
35  res_ptr自加等于x
36  如果x则转到:leave
39  返回:1
42  leave :
43  如果res_ptr不等于s1_ptr
45 i小于s1_size减1循环res_ptr[i]等于s1_ptr[i]
48  返回:0
调用者
名称描述
mul_n
mpih_sqr_n
mpihelp_mul_karatsuba_case
mpihelp_add