Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:poly1305_init_generic

Proto:void poly1305_init_generic(struct poly1305_desc_ctx *desc, const u8 *key)

Type:void

Parameter:

TypeParameterName
struct poly1305_desc_ctx *desc
const u8 *key
159  poly1305_core_setkey( key , key)
160  finalize key [0] = get_unaligned_le32(key + 16)
161  finalize key [1] = get_unaligned_le32(key + 20)
162  finalize key [2] = get_unaligned_le32(key + 24)
163  finalize key [3] = get_unaligned_le32(key + 28)
164  poly1305_core_init( & accumulator )
165  bytes used in partial buffer = 0
166  whether s[] has been set = true
167  how many keys have been set in r[] = 1
Caller
NameDescribe
poly1305_init