函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Poly1305 requires a unique key for each tag, which implies that we can't set* it on the tfm that gets accessed by multiple users simultaneously. Instead we* expect the key as the first 32 bytes in the update() call.

函数原型:static inline unsigned int crypto_poly1305_setdesckey(struct poly1305_desc_ctx *dctx, const u8 *src, unsigned int srclen)

返回类型:unsigned int

参数:

类型参数名称
struct poly1305_desc_ctx *dctx
const u8 *src
unsigned intsrclen
38  如果非 whether s[] has been set
41  src加等于POLY1305_BLOCK_SIZE
45  如果srclen大于等于POLY1305_BLOCK_SIZE
50  src加等于POLY1305_BLOCK_SIZE
55  返回:srclen