Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/wireguard/cookie.c wg_cookie_message_create() -> xchacha20poly1305_encrypt()

Type Parameter Key Value
PARAM_VALUE 1 src 6478283173735006208
PARAM_VALUE 2 src_len 16
PARAM_VALUE 4 ad_len 16
BUF_SIZE 0 dst 32
BUF_SIZE 1 src 16
BUF_SIZE 3 ad 16
BUF_SIZE 5 nonce 24
BUF_SIZE 6 key 32
NOCHECK_CALL

lib/crypto/tests/chacha20poly1305_kunit.c test_chacha20poly1305() -> xchacha20poly1305_encrypt()

Type Parameter Key Value
PARAM_VALUE 0 dst 16,4096-ptr_max
BUF_SIZE 0 dst 4096
BUF_SIZE 0 dst 4096
CAPPED_DATA 0 dst 1
DATA_SOURCE 0 dst r alloc_buf
MEM_ZERO 0 dst
NOCHECK_CALL