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 calc_signature() -> ceph_hmac_sha256()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
PARAM_VALUE 0 key->type s32min-0,2-s32max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 buf_len 32
BUF_SIZE 3 hmac 128
BUF_SIZE 3 hmac 128
PARAM_COMPARE 1 buf > $3
PARAM_COMPARE 3 hmac < $1
PARAM_COMPARE 3 hmac < $1
PARAM_COMPARE 3 hmac == $1
NOCHECK_CALL
UNITS 2 buf_len unit_byte
HALF_LOCKED2 &con->mutex
HALF_LOCKED2 &pool->lock

net/ceph/auth_x.c ceph_x_build_request() -> ceph_hmac_sha256()

Type Parameter Key Value
PARAM_VALUE 0 key 4096-ptr_max
PARAM_VALUE 0 key->type s32min-0,2-s32max
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 buf_len 16
BUF_SIZE 3 hmac 128
BUF_SIZE 3 hmac 128
PARAM_COMPARE 1 buf > $3
PARAM_COMPARE 3 hmac < $1
NOCHECK_CALL
UNITS 2 buf_len unit_byte
LOCK2 &ac->mutex
LOCK2 &monc->mutex
TYPE_LOCK (struct ceph_auth_client)->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex