Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
BUF_SIZE 0 chaining_key 32
BUF_SIZE 1 hash 32
BUF_SIZE 2 remote_static 32
NOCHECK_CALL
LOCK2 &wg->static_identity.lock
TYPE_LOCK (struct noise_static_identity)->lock

drivers/net/wireguard/noise.c wg_noise_handshake_create_initiation() -> handshake_init()

Type Parameter Key Value
BUF_SIZE 0 chaining_key 32
BUF_SIZE 1 hash 32
BUF_SIZE 2 remote_static 32
NOCHECK_CALL
LOCK2 &handshake->lock
LOCK2 &handshake->static_identity->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct noise_handshake)->lock
TYPE_LOCK (struct noise_static_identity)->lock