Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:chacha_load_key

Proto:static void chacha_load_key(u32 *k, const u8 *in)

Type:void

Parameter:

TypeParameterName
u32 *k
const u8 *in
28  k[0] = get_unaligned_le32(in)
29  k[1] = get_unaligned_le32(in + 4)
30  k[2] = get_unaligned_le32(in + 8)
31  k[3] = get_unaligned_le32(in + 12)
32  k[4] = get_unaligned_le32(in + 16)
33  k[5] = get_unaligned_le32(in + 20)
34  k[6] = get_unaligned_le32(in + 24)
35  k[7] = get_unaligned_le32(in + 28)
Caller
NameDescribe
xchacha_init
chacha20poly1305_encrypt
chacha20poly1305_decrypt
chacha20poly1305_crypt_sg_inplace