Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

lib/crypto/mldsa.c mldsa_verify() -> shake256()

Type Parameter Key Value
PARAM_VALUE 0 in 4096-ptr_max
PARAM_VALUE 1 in_len 1312,1952,2592
PARAM_VALUE 3 out_len 64
BUF_SIZE 0 in (-1),1952,2592
BUF_SIZE 0 in (-1),1952,2592
BUF_SIZE 2 out 64
CAPPED_DATA 1 in_len 1
CAPPED_DATA 1 in_len 1
DATA_SOURCE 0 in $5
DATA_SOURCE 1 in_len $6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 in_len
UNITS 1 in_len unit_byte
UNITS 3 out_len unit_byte

lib/crypto/tests/sha3_kunit.c shake() -> shake256()

Type Parameter Key Value
PARAM_VALUE 0 in 16,4096-ptr_max
PARAM_VALUE 1 in_len 0-4096
PARAM_VALUE 2 out 16,4096-ptr_max
PARAM_VALUE 3 out_len 0-4096
BUF_SIZE 0 in (-1),512,4096
BUF_SIZE 0 in (-1),512,4096
BUF_SIZE 2 out (-1),512,4096
BUF_SIZE 2 out (-1),512,4096
CAPPED_DATA 1 in_len 1
CAPPED_DATA 1 in_len 1
CAPPED_DATA 3 out_len 1
CAPPED_DATA 3 out_len 1
DATA_SOURCE 0 in $1
DATA_SOURCE 1 in_len $2
DATA_SOURCE 2 out $3
DATA_SOURCE 3 out_len $4
FUZZY_MAX 1 in_len 4096
FUZZY_MAX 3 out_len 4096
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 in_len
NO_OVERFLOW_SIMPLE 3 out_len

lib/crypto/tests/sha3_kunit.c test_shake256_basic() -> shake256()

Type Parameter Key Value
PARAM_VALUE 0 in 1224337677206781952
PARAM_VALUE 1 in_len 200
PARAM_VALUE 2 out 513486038278238216
PARAM_VALUE 3 out_len 32
BUF_SIZE 0 in 201
BUF_SIZE 2 out 40
NOCHECK_CALL
UNITS 1 in_len unit_byte
UNITS 3 out_len unit_byte

lib/crypto/tests/sha3_kunit.c test_shake256_nist() -> shake256()

Type Parameter Key Value
PARAM_VALUE 0 in 4602998933304729600
PARAM_VALUE 1 in_len 0
PARAM_VALUE 2 out 110875778593824768
PARAM_VALUE 3 out_len 32
BUF_SIZE 2 out 32
STR_LEN 0 in 0
TERMINATED 0 in 1
NOCHECK_CALL
UNITS 3 out_len unit_byte

lib/crypto/tests/sha3_kunit.c test_shake256_nist() -> shake256()

Type Parameter Key Value
PARAM_VALUE 0 in 5568643639650476032
PARAM_VALUE 1 in_len 200
PARAM_VALUE 2 out 110875778593824768
PARAM_VALUE 3 out_len 32
BUF_SIZE 0 in 200
BUF_SIZE 2 out 32
NOCHECK_CALL
UNITS 1 in_len unit_byte
UNITS 3 out_len unit_byte