Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/atmel-sha.c atmel_sha_final_req() -> atmel_sha_fill_padding()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->bufcnt 56-u64max
PARAM_VALUE 1 length 0
BUF_SIZE 0 ctx 1-s32max
BUF_SIZE 0 ctx 1-s32max
FUZZY_MAX 0 ctx->bufcnt 56
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/atmel-sha.c atmel_sha_final_req() -> atmel_sha_fill_padding()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->bufcnt 0-55
PARAM_VALUE 1 length 0
BUF_SIZE 0 ctx 1-s32max
BUF_SIZE 0 ctx 1-s32max
HARD_MAX 0 ctx->bufcnt 55
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/atmel-sha.c atmel_sha_hmac_digest2() -> atmel_sha_fill_padding()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->bufcnt 0
PARAM_VALUE 0 ctx->digcnt 4096-ptr_max
PARAM_VALUE 1 length 64
BUF_SIZE 0 ctx 1-s32max
BUF_SIZE 0 ctx 1-s32max
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/atmel-sha.c atmel_sha_hmac_digest2() -> atmel_sha_fill_padding()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->bufcnt 0
PARAM_VALUE 0 ctx->digcnt 4096-ptr_max
PARAM_VALUE 1 length 128
BUF_SIZE 0 ctx 1-s32max
BUF_SIZE 0 ctx 1-s32max
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/atmel-sha.c atmel_sha_update_cpu() -> atmel_sha_fill_padding()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->sg 0,4-u64max
PARAM_VALUE 0 *ctx->buffer 0-255
PARAM_VALUE 1 length 0
BUF_SIZE 0 ctx 1-s32max
BUF_SIZE 0 ctx 1-s32max
CAPPED_DATA 0 ctx->buflen 1
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/atmel-sha.c atmel_sha_update_dma_slow() -> atmel_sha_fill_padding()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->sg 0,4-u64max
PARAM_VALUE 0 ctx->total 0
PARAM_VALUE 0 *ctx->buffer 0-255
PARAM_VALUE 1 length 0
BUF_SIZE 0 ctx 1-s32max
BUF_SIZE 0 ctx 1-s32max
CAPPED_DATA 0 ctx->buflen 1
BIT_INFO 0 ctx->flags 0x10000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/atmel-sha.c atmel_sha_update_dma_start() -> atmel_sha_fill_padding()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->sg 0,4-u64max
PARAM_VALUE 0 *ctx->buffer 0-255
BUF_SIZE 0 ctx 1-s32max
BUF_SIZE 0 ctx 1-s32max
CAPPED_DATA 0 ctx->buflen 1
BIT_INFO 0 ctx->flags 0x10000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 length unit_byte