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_consume() -> xchacha20poly1305_decrypt()

Type Parameter Key Value
PARAM_VALUE 0 dst 500817466604793856
PARAM_VALUE 2 src_len 32
PARAM_VALUE 4 ad_len 16
BUF_SIZE 0 dst 16
BUF_SIZE 1 src 32
BUF_SIZE 3 ad 16
BUF_SIZE 5 nonce 24
BUF_SIZE 6 key 32
USER_DATA 1 *src 0-255
UNITS 2 src_len unit_byte
USER_PTR 1 src
LOCK2 &peer->latest_cookie.lock
TYPE_LOCK (struct cookie)->lock

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

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