函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mpi_get_buffer() - Returns an allocated buffer with the MPI (msb first).* Caller must free the return string.* This function does return a 0 byte buffer with nbytes set to zero if the* value of A is zero.*@a: a multi precision integer.

函数原型:void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign)

返回类型:void

参数:

类型参数名称
MPIa
unsigned *nbytes
int *sign
209  如果非nbytes则返回:NULL
212  n等于需要存储的数量极大值
214  如果非nn自加
217  buf等于kmalloc(n, GFP_KERNEL)
219  如果非buf则返回:NULL
222  ret等于mpi_read_buffer() - read MPI to a bufer provided by user (msb first)*@a: a multi precision integer*@buf: bufer to which the output will be written to
224  如果ret
225  kfree(buf)
226  返回:NULL
228  返回:buf
调用者
名称描述
digsig_verify_rsaRSA公钥签名验证