Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

crypto/crypto_null.c null_skcipher_crypt() -> memcpy_sglist()

Type Parameter Key Value
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 1 src != $0
NOSPEC 2 nbytes
NOSPEC 2 nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dst->length 0-2147483646[c]
HOST_DATA 1 src->length 0-2147483646[c]
USER_DATA 0 dst->length 1-u32max[c]
USER_DATA 0 dst->offset 0-2147551739[c]
USER_DATA 1 src->length 1-u32max[c]
USER_DATA 1 src->offset 0-2147551739[c]
USER_DATA 2 nbytes 0-u32max
UNITS 0 dst unit_byte
UNITS 1 src unit_byte
UNITS 2 nbytes unit_byte
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

crypto/gcm.c crypto_rfc4543_crypt() -> memcpy_sglist()

Type Parameter Key Value
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 1 src != $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dst->length 0-2147483646[c]
HOST_DATA 1 src->length 0-2147483646[c]
USER_DATA 0 dst->length 1-2147483646[c]
USER_DATA 0 dst->offset 0-2147551739[c]
USER_DATA 1 src->length 1-2147483646[c]
USER_DATA 1 src->offset 0-2147551739[c]
NO_OVERFLOW_SIMPLE 0 dst->length
NO_OVERFLOW_SIMPLE 1 src->length
UNITS 0 dst unit_byte
UNITS 1 src unit_byte
UNITS 2 nbytes unit_byte

crypto/algif_aead.c _aead_recvmsg() -> memcpy_sglist()

Type Parameter Key Value
PARAM_VALUE 0 dst 0
PARAM_VALUE 1 src 16,4096-ptr_max
PARAM_VALUE 1 src->dma_address 0
PARAM_VALUE 1 src->dma_flags 0
PARAM_VALUE 1 src->dma_length 0
PARAM_VALUE 1 src->length 0
PARAM_VALUE 1 src->offset 0
PARAM_VALUE 1 src->page_link 0
BUF_SIZE 0 dst 0
BUF_SIZE 1 src 32-137438953440
BUF_SIZE 1 src 32-137438953440
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dst unit_byte
UNITS 2 nbytes unit_byte
LOCK2 sk
HALF_LOCKED2 &vq->mutex

crypto/seqiv.c seqiv_aead_encrypt() -> memcpy_sglist()

Type Parameter Key Value
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 1 src != $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dst->length 0-2147483646[c]
HOST_DATA 1 src->length 0-2147483646[c]
USER_DATA 0 dst->length 1-u32max[c]
USER_DATA 0 dst->offset 0-2147551739[c]
USER_DATA 1 src->length 1-u32max[c]
USER_DATA 1 src->offset 0-2147551739[c]
NO_OVERFLOW_SIMPLE 0 dst->length
NO_OVERFLOW_SIMPLE 1 src->length
UNITS 0 dst unit_byte
UNITS 1 src unit_byte
UNITS 2 nbytes unit_byte

crypto/authenc.c crypto_authenc_encrypt() -> memcpy_sglist()

Type Parameter Key Value
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 1 src != $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dst->length 0-2147483646[c]
USER_DATA 0 dst->length 1-u32max[c]
USER_DATA 0 dst->offset 0-2147551739[c]
USER_DATA 1 src->length 1-u32max[c]
NO_OVERFLOW_SIMPLE 0 dst->length
NO_OVERFLOW_SIMPLE 1 src->length
UNITS 0 dst unit_byte
UNITS 1 src unit_byte
UNITS 2 nbytes unit_byte

crypto/authencesn.c crypto_authenc_esn_decrypt() -> memcpy_sglist()

Type Parameter Key Value
PARAM_VALUE 0 dst->dma_flags 0-4294967295
PARAM_VALUE 0 dst->dma_length 0-4294967295
PARAM_VALUE 0 dst->length 0-4294967295
PARAM_VALUE 1 src->dma_flags 0-4294967295
PARAM_VALUE 1 src->dma_length 0-4294967295
PARAM_VALUE 1 src->length 0-4294967295
BUF_SIZE 0 dst (-1),64
BUF_SIZE 0 dst (-1),64
BUF_SIZE 1 src (-1),64
BUF_SIZE 1 src (-1),64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dst->length 0-2147483646[c]
HOST_DATA 1 src->length 0-2147483646[c]
USER_DATA 0 dst->length 1-u32max[c]
USER_DATA 0 dst->offset 0-2147551739[c]
USER_DATA 1 src->length 1-u32max[c]
USER_DATA 1 src->offset 0-2147551739[c]
NO_OVERFLOW_SIMPLE 0 dst->length
NO_OVERFLOW_SIMPLE 1 src->length
UNITS 0 dst unit_byte
UNITS 1 src unit_byte
UNITS 2 nbytes unit_byte
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 bh

crypto/authencesn.c crypto_authenc_esn_decrypt_tail() -> memcpy_sglist()

Type Parameter Key Value
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 1 src != $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dst->length 0-2147483646[c]
HOST_DATA 1 src->length 0-2147483646[c]
USER_DATA 0 dst->length 1-2147483646[c]
USER_DATA 0 dst->offset 0-2147551739[c]
USER_DATA 1 src->length 1-2147483646[c]
USER_DATA 1 src->offset 0-2147551739[c]
NO_OVERFLOW_SIMPLE 0 dst->length
NO_OVERFLOW_SIMPLE 1 src->length
UNITS 0 dst unit_byte
UNITS 1 src unit_byte
UNITS 2 nbytes unit_byte
HALF_LOCKED2 &pool->lock

crypto/authencesn.c crypto_authenc_esn_encrypt() -> memcpy_sglist()

Type Parameter Key Value
PARAM_VALUE 2 nbytes 8-u32max
CAPPED_DATA 2 nbytes 1
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 1 src != $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dst->length 0-2147483646[c]
USER_DATA 0 dst->length 1-u32max[c]
USER_DATA 0 dst->offset 0-2147551739[c]
USER_DATA 1 src->length 1-u32max[c]
NO_OVERFLOW_SIMPLE 0 dst->length
NO_OVERFLOW_SIMPLE 1 src->length
UNITS 0 dst unit_byte
UNITS 1 src unit_byte
UNITS 2 nbytes unit_byte

crypto/chacha20poly1305.c poly_hash() -> memcpy_sglist()

Type Parameter Key Value
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 1 src != $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dst->length 0-2147483646[c]
HOST_DATA 1 src->length 0-2147483646[c]
USER_DATA 0 dst->length 1-2147483646[c]
USER_DATA 0 dst->offset 0-2147551739[c]
USER_DATA 1 src->length 1-2147483646[c]
USER_DATA 1 src->offset 0-2147551739[c]
NO_OVERFLOW_SIMPLE 0 dst->length
NO_OVERFLOW_SIMPLE 1 src->length
UNITS 0 dst unit_byte
UNITS 1 src unit_byte
UNITS 2 nbytes unit_byte

crypto/echainiv.c echainiv_encrypt() -> memcpy_sglist()

Type Parameter Key Value
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 0 dst != $1
PARAM_COMPARE 1 src != $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dst->length 0-2147483646[c]
HOST_DATA 1 src->length 0-2147483646[c]
USER_DATA 0 dst->length 1-u32max[c]
USER_DATA 0 dst->offset 0-2147551739[c]
USER_DATA 1 src->length 1-u32max[c]
USER_DATA 1 src->offset 0-2147551739[c]
NO_OVERFLOW_SIMPLE 0 dst->length
NO_OVERFLOW_SIMPLE 1 src->length
UNITS 0 dst unit_byte
UNITS 1 src unit_byte
UNITS 2 nbytes unit_byte