Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:chacha20poly1305_decrypt_sg_inplace

Proto:bool chacha20poly1305_decrypt_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
352  If Value for the false possibility is greater at compile time(src_len < POLY1305_DIGEST_SIZE) Then Return false
355  Return chacha20poly1305_crypt_sg_inplace(src, src_len - POLY1305_DIGEST_SIZE, ad, ad_len, nonce, key, 0)
Caller
NameDescribe
chacha20poly1305_selftest