Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ceph/auth_x.c __ceph_x_decrypt() -> ceph_crypt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 1 | usage_slot | 0-2 |
| PARAM_VALUE | 2 | encrypt | 0 |
| PARAM_VALUE | 6 | pout_len | 8734781343391936512 |
| BUF_SIZE | 3 | buf | (-1),128 |
| BUF_SIZE | 3 | buf | (-1),128 |
| DATA_SOURCE | 0 | key | $0 |
| DATA_SOURCE | 1 | usage_slot | $1 |
| DATA_SOURCE | 3 | buf | $2 |
| DATA_SOURCE | 4 | buf_len | $3 |
| DATA_SOURCE | 5 | in_len | $3 |
| HARD_MAX | 1 | usage_slot | 2 |
| USER_DATA | 4 | buf_len | s32min-s32max[c] |
| USER_DATA | 5 | in_len | s32min-s32max[c] |
| LOCK2 | &ac->mutex | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex |
net/ceph/auth_x.c calc_signature() -> ceph_crypt()
| 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 | 2 | encrypt | 1 |
| PARAM_VALUE | 4 | buf_len | 128 |
| PARAM_VALUE | 5 | in_len | 32 |
| PARAM_VALUE | 6 | pout_len | 3204975930657693696 |
| BUF_SIZE | 3 | buf | 128 |
| BUF_SIZE | 3 | buf | 128 |
| UNITS | 5 | in_len | unit_byte |
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/ceph/auth_x.c ceph_x_encrypt() -> ceph_crypt()
| 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 | encrypt | 1 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | buf_len | (-4)-2147483643 |
| PARAM_VALUE | 5 | in_len | 25,27,29 |
| PARAM_VALUE | 6 | pout_len | 8463448054872002560 |
| DATA_SOURCE | 0 | key | $0 |
| DATA_SOURCE | 1 | usage_slot | $1 |
| UNITS | 3 | buf | unit_byte |
| UNITS | 4 | buf_len | unit_byte |
| UNITS | 5 | in_len | unit_byte |
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &monc->mutex |