函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:poly1305_final_generic

函数原型:void poly1305_final_generic(struct poly1305_desc_ctx *desc, u8 *dst)

返回类型:void

参数:

类型参数名称
struct poly1305_desc_ctx *desc
u8 *dst
206  f等于0
208  如果此条件成立可能性小(为编译器优化)( bytes used in partial buffer )则
209  partial buffer [ bytes used in partial buffer ++]等于1
210  memset( partial buffer + bytes used in partial buffer , 0, POLY1305_BLOCK_SIZE - bytes used in partial buffer )
212  poly1305_core_blocks( & accumulator , key , partial buffer , 1, 0)
215  poly1305_core_emit( & accumulator , digest)
218  f等于f右移32位的值加le32_to_cpu(digest[0])加 finalize key [0]
219  put_unaligned_le32(f, dst + 0)
220  f等于f右移32位的值加le32_to_cpu(digest[1])加 finalize key [1]
221  put_unaligned_le32(f, dst + 4)
222  f等于f右移32位的值加le32_to_cpu(digest[2])加 finalize key [2]
223  put_unaligned_le32(f, dst + 8)
224  f等于f右移32位的值加le32_to_cpu(digest[3])加 finalize key [3]
225  put_unaligned_le32(f, dst + 12)
227  * desc = (struct poly1305_desc_ctx){}
调用者
名称描述
poly1305_final