Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

crypto/gcm.c gcm_hash() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 24875330321899520
BUF_SIZE 1 out 16
BUF_SIZE 1 out 16
DATA_SOURCE 1 out $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ctx->partial 0-15[c]
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/aes.c aes_gcm_decrypt_final() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
BUF_SIZE 1 out 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/aes.c aes_gcm_encrypt_final() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
BUF_SIZE 1 out 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/tests/ghash_kunit.c ghash() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 3180150278094512128
BUF_SIZE 1 out (-1),16
BUF_SIZE 1 out (-1),16
DATA_SOURCE 1 out $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/tests/ghash_kunit.c hash_irq_test2_func() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
BUF_SIZE 1 out 16
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

lib/crypto/tests/ghash_kunit.c test_ghash_allones_key_and_message() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1555881609615425536
PARAM_VALUE 1 out 6333408112581660672
BUF_SIZE 1 out 16
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/tests/ghash_kunit.c test_hash_all_lens_up_to_4096() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 549471355719241728
PARAM_VALUE 1 out 4012699353370419200
BUF_SIZE 1 out 16
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/tests/ghash_kunit.c test_hash_buffer_overruns() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6735344899772624896
BUF_SIZE 1 out 16
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/tests/ghash_kunit.c test_hash_buffer_overruns() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6735344899772624896
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/tests/ghash_kunit.c test_hash_buffer_overruns() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 *ctx->acc.bytes 0-255
BUF_SIZE 1 out 16
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial
UNITS 0 ctx unit_byte

lib/crypto/tests/ghash_kunit.c test_hash_ctx_zeroization() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 8624895357602566144
BUF_SIZE 1 out 16
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/tests/ghash_kunit.c test_hash_incremental_updates() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 2554853108086665216
BUF_SIZE 1 out 16
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/tests/ghash_kunit.c test_hash_overlaps() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 7898846946629984256
PARAM_VALUE 1 out 1-u64max
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial

lib/crypto/tests/ghash_kunit.c test_hash_overlaps() -> ghash_final()

Type Parameter Key Value
PARAM_VALUE 0 ctx 7898846946629984256
PARAM_VALUE 1 out 1-u64max
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ctx->partial