Defined in 15 files as a member:

Defined in 1 files as a function:

Referenced in 39 files:

Smatch caller information:

drivers/net/wireguard/noise.c kdf() -> hmac()

Type Parameter Key Value
PARAM_VALUE 0 out 1747233213976895488
PARAM_VALUE 3 inlen 0,32
PARAM_VALUE 4 keylen 32
BUF_SIZE 0 out 32
BUF_SIZE 1 in (-1),32
BUF_SIZE 1 in (-1),32
BUF_SIZE 2 key 32
DATA_SOURCE 1 in $3
DATA_SOURCE 2 key $8
DATA_SOURCE 3 inlen $7
HARD_MAX 3 inlen 32
NOCHECK_CALL
HALF_LOCKED2 &handshake->lock

drivers/net/wireguard/noise.c kdf() -> hmac()

Type Parameter Key Value
PARAM_VALUE 0 out 4096-ptr_max
PARAM_VALUE 1 in 4096-ptr_max
PARAM_VALUE 2 key 1747233213976895488
PARAM_VALUE 3 inlen 1
PARAM_VALUE 4 keylen 32
BUF_SIZE 0 out 33
BUF_SIZE 1 in 33
BUF_SIZE 2 key 32
NOCHECK_CALL
HALF_LOCKED2 &handshake->lock

drivers/net/wireguard/noise.c kdf() -> hmac()

Type Parameter Key Value
PARAM_VALUE 0 out 4096-ptr_max
PARAM_VALUE 1 in 4096-ptr_max
PARAM_VALUE 2 key 1747233213976895488
PARAM_VALUE 3 inlen 33
PARAM_VALUE 4 keylen 32
BUF_SIZE 0 out 33
BUF_SIZE 1 in 33
BUF_SIZE 2 key 32
NOCHECK_CALL
HALF_LOCKED2 &handshake->lock

drivers/net/wireguard/noise.c kdf() -> hmac()

Type Parameter Key Value
PARAM_VALUE 0 out 4096-ptr_max
PARAM_VALUE 1 in 4096-ptr_max
PARAM_VALUE 2 key 1747233213976895488
PARAM_VALUE 3 inlen 33
PARAM_VALUE 4 keylen 32
BUF_SIZE 0 out 33
BUF_SIZE 1 in 33
BUF_SIZE 2 key 32
NOCHECK_CALL
HALF_LOCKED2 &handshake->lock
HALF_LOCKED2 &handshake->static_identity->lock
HALF_LOCKED2 &wg->static_identity.lock
TYPE_LOCK (struct noise_static_identity)->lock