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:

lib/crypto/tests/sha1_kunit.c hash_irq_test2_func() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

lib/crypto/tests/sha1_kunit.c test_hash_all_lens_up_to_4096() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 3787762505698357248
NOCHECK_CALL

lib/crypto/tests/sha1_kunit.c test_hash_buffer_overruns() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1615175228707938304
NOCHECK_CALL

lib/crypto/tests/sha1_kunit.c test_hash_buffer_overruns() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1615175228707938304
NOCHECK_CALL

lib/crypto/tests/sha1_kunit.c test_hash_buffer_overruns() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
NOCHECK_CALL
UNITS 0 ctx unit_byte

lib/crypto/tests/sha1_kunit.c test_hash_ctx_zeroization() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6802091284299821056
NOCHECK_CALL

lib/crypto/tests/sha1_kunit.c test_hash_incremental_updates() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6657892919859118080
NOCHECK_CALL

lib/crypto/tests/sha1_kunit.c test_hash_overlaps() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1354255801869844480
NOCHECK_CALL

lib/crypto/tests/sha1_kunit.c test_hash_overlaps() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1354255801869844480
NOCHECK_CALL

lib/digsig.c digsig_verify() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 3778161075020431360
NOCHECK_CALL
HALF_LOCKED2 &iint->mutex
HALF_LOCKED2 &inode->i_rwsem

crypto/sha1.c crypto_sha1_init() -> sha1_init()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/ipv6/addrconf.c ipv6_generate_stable_address() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 3151300663677210624
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &lock
LOCK2 bh
HALF_LOCKED2 &ifp->lock

drivers/tee/tee_core.c uuid_v5() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 2464566980519280640
NOCHECK_CALL

security/keys/trusted-keys/trusted_tpm1.c TSS_authhmac() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 3806100545931898880
NOCHECK_CALL

security/keys/trusted-keys/trusted_tpm1.c TSS_checkhmac1() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 6176015404705296384
NOCHECK_CALL

security/keys/trusted-keys/trusted_tpm1.c TSS_checkhmac2() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 8197178206705680384
NOCHECK_CALL

drivers/net/ppp/ppp_mppe.c get_new_key_from_sha() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 3212715259644874752
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
HALF_LOCKED2 &ppp->rlock
HALF_LOCKED2 &ppp->wlock
HALF_LOCKED2 rcu_read

lib/crypto/sha1.c sha1() -> sha1_init()

Type Parameter Key Value
PARAM_VALUE 0 ctx 1097225407751192576
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ndev->req_lock
HALF_LOCKED2 &nfc_dev->dev.mutex