Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xchacha20poly1305_encrypt

Proto:void xchacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u8 nonce[XCHACHA20POLY1305_NONCE_SIZE], const u8 key[CHACHA20POLY1305_KEY_SIZE])

Type:void

Parameter:

TypeParameterName
u8 *dst
const u8 *src
const size_tsrc_len
const u8 *ad
const size_tad_len
const u8nonce
const u8key
121  xchacha_init(chacha_state, key, nonce)
122  __chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, chacha_state)
Caller
NameDescribe
chacha20poly1305_selftest