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() -> shake_squeeze()

Type Parameter Key Value
PARAM_VALUE 0 shake_ctx 4096-ptr_max
PARAM_VALUE 2 out_len 64
BUF_SIZE 1 out 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 out_len unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 shake_ctx 4096-ptr_max
BUF_SIZE 1 out 64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

lib/crypto/mldsa.c rej_ntt_poly() -> shake_squeeze()

Type Parameter Key Value
PARAM_VALUE 0 shake_ctx 4096-ptr_max
PARAM_VALUE 2 out_len 168
BUF_SIZE 1 out 169
CAPPED_DATA 0 shake_ctx->ctx.block_size 1
DATA_SOURCE 0 shake_ctx $3
DATA_SOURCE 1 out $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

lib/crypto/mldsa.c sample_in_ball() -> shake_squeeze()

Type Parameter Key Value
PARAM_VALUE 0 shake_ctx 4096-ptr_max
PARAM_VALUE 1 out 3118284602040868864
PARAM_VALUE 2 out_len 8
BUF_SIZE 1 out 8
CAPPED_DATA 0 shake_ctx->ctx.block_size 1
DATA_SOURCE 0 shake_ctx $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 out_len unit_byte

lib/crypto/mldsa.c sample_in_ball() -> shake_squeeze()

Type Parameter Key Value
PARAM_VALUE 0 shake_ctx 4096-ptr_max
PARAM_VALUE 0 shake_ctx->ctx.absorb_offset 1-255
PARAM_VALUE 0 *shake_ctx->ctx->state.bytes 128
PARAM_VALUE 1 out 5629333265393385472
PARAM_VALUE 2 out_len 1
CAPPED_DATA 0 shake_ctx->ctx.block_size 1
DATA_SOURCE 0 shake_ctx $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

lib/crypto/tests/sha3_kunit.c test_shake_multiple_squeezes() -> shake_squeeze()

Type Parameter Key Value
PARAM_VALUE 0 shake_ctx 246660505223446528
PARAM_VALUE 1 out 4096-ptr_max
PARAM_VALUE 2 out_len 0-512
CAPPED_DATA 2 out_len 1
CAPPED_DATA 2 out_len 1
DATA_SOURCE 2 out_len r rand_length
NOCHECK_CALL

lib/crypto/tests/sha3_kunit.c test_shake_multiple_squeezes() -> shake_squeeze()

Type Parameter Key Value
PARAM_VALUE 0 shake_ctx 246660505223446528
PARAM_VALUE 1 out 4096-ptr_max
PARAM_VALUE 2 out_len 0-512,18446744073709551104-u64max
NOCHECK_CALL

lib/crypto/sha3.c shake128() -> shake_squeeze()

Type Parameter Key Value
PARAM_VALUE 0 shake_ctx 3728630636281753600
PARAM_VALUE 1 out 16,4096-ptr_max
PARAM_VALUE 2 out_len 0-4096
BUF_SIZE 1 out (-1),16,24,512,4096
BUF_SIZE 1 out (-1),16,24,512,4096
CAPPED_DATA 2 out_len 1
CAPPED_DATA 2 out_len 1
DATA_SOURCE 1 out $2
DATA_SOURCE 2 out_len $3
FUZZY_MAX 2 out_len 4096
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 out_len
UNITS 2 out_len unit_byte

lib/crypto/sha3.c shake256() -> shake_squeeze()

Type Parameter Key Value
PARAM_VALUE 0 shake_ctx 2888795646405328896
PARAM_VALUE 2 out_len 0-4096
BUF_SIZE 1 out (-1),32,40,64,512,4096
BUF_SIZE 1 out (-1),32,40,64,512,4096
CAPPED_DATA 2 out_len 1
CAPPED_DATA 2 out_len 1
DATA_SOURCE 1 out $2
DATA_SOURCE 2 out_len $3
FUZZY_MAX 2 out_len 4096
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 out_len
UNITS 2 out_len unit_byte