Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/bluetooth/selftest.c test_ecdh() -> test_ecdh_sample()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 1 priv_a 32
BUF_SIZE 2 priv_b 32
BUF_SIZE 3 pub_a 64
BUF_SIZE 4 pub_b 64
BUF_SIZE 5 dhkey 32
DATA_SOURCE 0 tfm r crypto_alloc_kpp

net/bluetooth/selftest.c test_ecdh() -> test_ecdh_sample()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 0 tfm->base.__crt_ctx->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.dep_map->name 0-255
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->crt_g2_mode 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 tfm->base.__crt_ctx->dev->iommu->pci_32bit_workaround 0
PARAM_VALUE 0 tfm->base.__crt_ctx->do_fallback 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->fallback 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->g->alloced 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->g->flags 0
PARAM_VALUE 0 tfm->base.__crt_ctx->g->nlimbs 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->g->sign 0
PARAM_VALUE 0 tfm->base.__crt_ctx->g2 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->key_sz 0,32,48
PARAM_VALUE 0 tfm->base.__crt_ctx->p->alloced 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->p->flags 0
PARAM_VALUE 0 tfm->base.__crt_ctx->p->nlimbs 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->p->sign 0
PARAM_VALUE 0 tfm->base.__crt_ctx->p_size 0
PARAM_VALUE 0 tfm->base.__crt_ctx->xa->alloced 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->xa->flags 0
PARAM_VALUE 0 tfm->base.__crt_ctx->xa->nlimbs 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->xa->sign 0
PARAM_VALUE 0 *tfm->base.__crt_ctx->dh.g 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->dh.xa_p 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->ecdh.g 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->ecdh.p 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->g 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->g->d 0,144
PARAM_VALUE 0 *tfm->base.__crt_ctx->p 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->p->d 0,144
PARAM_VALUE 0 *tfm->base.__crt_ctx->public_key 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->xa 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->xa->d 0,144
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 1 priv_a 32
BUF_SIZE 2 priv_b 32
BUF_SIZE 3 pub_a 64
BUF_SIZE 4 pub_b 64
BUF_SIZE 5 dhkey 32
DATA_SOURCE 0 tfm r crypto_alloc_kpp

net/bluetooth/selftest.c test_ecdh() -> test_ecdh_sample()

Type Parameter Key Value
PARAM_VALUE 0 tfm 1-ptr_max
PARAM_VALUE 0 tfm->base.__crt_ctx->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.dep_map->name 0-255
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 tfm->base.__crt_ctx->client->dev.driver_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->crt_g2_mode 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tfm->base.__crt_ctx->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 tfm->base.__crt_ctx->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 tfm->base.__crt_ctx->dev->iommu->pci_32bit_workaround 0
PARAM_VALUE 0 tfm->base.__crt_ctx->do_fallback 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->fallback 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->g->alloced 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->g->flags 0
PARAM_VALUE 0 tfm->base.__crt_ctx->g->nlimbs 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->g->sign 0
PARAM_VALUE 0 tfm->base.__crt_ctx->g2 0-1
PARAM_VALUE 0 tfm->base.__crt_ctx->key_sz 0,32,48
PARAM_VALUE 0 tfm->base.__crt_ctx->p->alloced 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->p->flags 0
PARAM_VALUE 0 tfm->base.__crt_ctx->p->nlimbs 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->p->sign 0
PARAM_VALUE 0 tfm->base.__crt_ctx->p_size 0
PARAM_VALUE 0 tfm->base.__crt_ctx->xa->alloced 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->xa->flags 0
PARAM_VALUE 0 tfm->base.__crt_ctx->xa->nlimbs 0-256
PARAM_VALUE 0 tfm->base.__crt_ctx->xa->sign 0
PARAM_VALUE 0 *tfm->base.__crt_ctx->dh.g 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->dh.xa_p 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->ecdh.g 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->ecdh.p 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->g 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->g->d 0,144
PARAM_VALUE 0 *tfm->base.__crt_ctx->p 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->p->d 0,144
PARAM_VALUE 0 *tfm->base.__crt_ctx->public_key 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->xa 0-255
PARAM_VALUE 0 *tfm->base.__crt_ctx->xa->d 0,144
BUF_SIZE 0 tfm s32min-s32max
BUF_SIZE 1 priv_a 32
BUF_SIZE 2 priv_b 32
BUF_SIZE 3 pub_a 64
BUF_SIZE 4 pub_b 64
BUF_SIZE 5 dhkey 32
DATA_SOURCE 0 tfm r crypto_alloc_kpp