函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:返回位数

函数原型:unsigned mpi_get_nbits(MPI a)

返回类型:unsigned

参数:

类型参数名称
MPIa
43  Sometimes we have MSL (most significant limbs) which are 0;* this is for some reasons not good, so this function removes them.
45  如果 number of valid limbs
46  alimb等于 array with the limbs [ number of valid limbs - 1]
47  如果alimbn等于_leading_zeros - Count the number of zeros from the MSB back*@x: The value* Count the number of leading zeros from the MSB going towards the LSB in @x.* If the MSB of @x is set, the result is 0.
49  否则n等于BITS_PER_MPI_LIMB
51  n等于BITS_PER_MPI_LIMBn number of valid limbs 减1的差乘BITS_PER_MPI_LIMB
52  否则n等于0
54  返回:n
调用者
名称描述
digsig_verify_rsaRSA公钥签名验证