Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\crypto\internal\poly1305.h Create Date:2022-07-28 06:47:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static inline unsigned int crypto_poly1305_setdesckey(struct poly1305_desc_ctx *dctx, const u8 *src, unsigned int srclen)

Type:unsigned int

Parameter:

TypeParameterName
struct poly1305_desc_ctx *dctx
const u8 *src
unsigned intsrclen
38  If Not whether s[] has been set Then
45  If srclen >= POLY1305_BLOCK_SIZE Then
55  Return srclen