Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ceph/auth_x.c calc_signature() -> ceph_x_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->type | 0-2 |
| PARAM_VALUE | 1 | usage_slot | 0 |
| PARAM_VALUE | 3 | buf_len | 128 |
| PARAM_VALUE | 4 | plaintext_len | 20 |
| BUF_SIZE | 2 | buf | 128 |
| BUF_SIZE | 2 | buf | 128 |
| UNITS | 4 | plaintext_len | unit_byte |
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/ceph/auth_x.c ceph_x_build_request() -> ceph_x_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->type | 1 |
| PARAM_VALUE | 1 | usage_slot | 0 |
| PARAM_VALUE | 3 | buf_len | 128 |
| PARAM_VALUE | 4 | plaintext_len | 16 |
| BUF_SIZE | 2 | buf | 128 |
| BUF_SIZE | 2 | buf | 128 |
| UNITS | 4 | plaintext_len | unit_byte |
| LOCK2 | &ac->mutex | ||
| LOCK2 | &monc->mutex | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/auth_x.c encrypt_authorizer() -> ceph_x_encrypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->type | 0-2 |
| PARAM_VALUE | 1 | usage_slot | 0 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | plaintext_len | 18 |
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | buf_len | unit_byte |
| UNITS | 4 | plaintext_len | unit_byte |
| LOCK2 | &ac->mutex | ||
| HALF_LOCKED2 | &con->mutex | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex |