Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:chacha20poly1305_selftest_encrypt

Proto:static void __init chacha20poly1305_selftest_encrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u8 *nonce, const size_t nonce_len, 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 u8 *nonce
const size_tnonce_len
const u8key
7233  If nonce_len == 8 Then chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, get_unaligned_le64(nonce), key)
7236  Else BUG()
Caller
NameDescribe
chacha20poly1305_selftest