Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireguard/noise.c wg_noise_handshake_consume_initiation() -> message_decrypt()

Type Parameter Key Value
PARAM_VALUE 0 dst_plaintext 4474959302064992256
PARAM_VALUE 2 src_len 48
BUF_SIZE 0 dst_plaintext 32
BUF_SIZE 1 src_ciphertext 48
BUF_SIZE 3 key 32
BUF_SIZE 4 hash 32
USER_DATA 1 *src_ciphertext 0-255
UNITS 2 src_len unit_byte
USER_PTR 1 src_ciphertext
LOCK2 &wg->static_identity.lock
TYPE_LOCK (struct noise_static_identity)->lock

drivers/net/wireguard/noise.c wg_noise_handshake_consume_initiation() -> message_decrypt()

Type Parameter Key Value
PARAM_VALUE 0 dst_plaintext 2544334924202516480
PARAM_VALUE 2 src_len 28
BUF_SIZE 0 dst_plaintext 12
BUF_SIZE 1 src_ciphertext 28
BUF_SIZE 3 key 32
BUF_SIZE 4 hash 32
USER_DATA 1 *src_ciphertext 0-255
UNITS 2 src_len unit_byte
USER_PTR 1 src_ciphertext
LOCK2 &wg->static_identity.lock
TYPE_LOCK (struct noise_static_identity)->lock

drivers/net/wireguard/noise.c wg_noise_handshake_consume_response() -> message_decrypt()

Type Parameter Key Value
PARAM_VALUE 0 dst_plaintext 0
PARAM_VALUE 2 src_len 16
PARAM_VALUE 4 hash 8560824046025392128
BUF_SIZE 1 src_ciphertext 16
BUF_SIZE 3 key 32
BUF_SIZE 4 hash 32
USER_DATA 1 *src_ciphertext 0-255
UNITS 2 src_len unit_byte
USER_PTR 1 src_ciphertext
LOCK2 &wg->static_identity.lock
TYPE_LOCK (struct noise_static_identity)->lock