Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireguard/noise.c wg_noise_handshake_create_initiation() -> message_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | src_len | 32 |
| BUF_SIZE | 0 | dst_ciphertext | 48 |
| BUF_SIZE | 1 | src_plaintext | 32 |
| BUF_SIZE | 3 | key | 32 |
| BUF_SIZE | 4 | hash | 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 |
drivers/net/wireguard/noise.c wg_noise_handshake_create_initiation() -> message_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src_plaintext | 2853624798697582592 |
| PARAM_VALUE | 2 | src_len | 12 |
| BUF_SIZE | 0 | dst_ciphertext | 28 |
| BUF_SIZE | 1 | src_plaintext | 12 |
| BUF_SIZE | 3 | key | 32 |
| BUF_SIZE | 4 | hash | 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 |
drivers/net/wireguard/noise.c wg_noise_handshake_create_response() -> message_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src_plaintext | 0 |
| PARAM_VALUE | 2 | src_len | 0 |
| BUF_SIZE | 0 | dst_ciphertext | 16 |
| BUF_SIZE | 3 | key | 32 |
| BUF_SIZE | 4 | hash | 32 |
| NOCHECK_CALL | |||
| LOCK2 | &handshake->lock | ||
| LOCK2 | &handshake->static_identity->lock | ||
| TYPE_LOCK | (struct noise_handshake)->lock | ||
| TYPE_LOCK | (struct noise_static_identity)->lock |