Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:chacha20poly1305_encrypt_sg_inplace

Proto:bool chacha20poly1305_encrypt_sg_inplace(struct scatterlist *src, size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE])

Type:bool

Parameter:

TypeParameterName
struct scatterlist *src
size_tsrc_len
const u8 *ad
const size_tad_len
const u64nonce
const u8key
342  Return chacha20poly1305_crypt_sg_inplace(src, src_len, ad, ad_len, nonce, key, 1)
Caller
NameDescribe
chacha20poly1305_selftest