Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 2 keylen 20
PARAM_VALUE 4 h2 1-u64max
PARAM_VALUE 5 h3 0
PARAM_VALUE 6 $ 4
PARAM_VALUE 7 $ 2334835578624196608
PARAM_VALUE 7 *$ 23
PARAM_VALUE 8 $ 20
PARAM_VALUE 9 $ 4096-ptr_max
PARAM_VALUE 10 $ 4
PARAM_VALUE 11 $ 2537403839427272704
PARAM_VALUE 12 $ 4
PARAM_VALUE 13 $ 6343703230478286848
PARAM_VALUE 15 $ 4096-ptr_max
PARAM_VALUE 16 $ 0
PARAM_VALUE 17 $ 0
BUF_SIZE 0 digest 20
BUF_SIZE 1 key 20
BUF_SIZE 3 h1 20
BUF_SIZE 4 h2 20
BUF_SIZE 7 $ 4
BUF_SIZE 9 $ 20
BUF_SIZE 11 $ 4
BUF_SIZE 13 $ 4
BUF_SIZE 15 $ 129
BUF_SIZE 15 $ 129
DATA_SOURCE 14 $ $5
DATA_SOURCE 15 $ $4
UNITS 6 $ unit_byte
UNITS 10 $ unit_byte
UNITS 12 $ unit_byte
UNITS 14 $ unit_byte

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

Type Parameter Key Value
PARAM_VALUE 2 keylen 20
PARAM_VALUE 4 h2 1-u64max
PARAM_VALUE 5 h3 0
PARAM_VALUE 6 $ 4
PARAM_VALUE 7 $ 2334835578624196608
PARAM_VALUE 7 *$ 23
PARAM_VALUE 8 $ 20
PARAM_VALUE 9 $ 4096-ptr_max
PARAM_VALUE 10 $ 4
PARAM_VALUE 11 $ 2537403839427272704
PARAM_VALUE 12 $ 1-u32max
PARAM_VALUE 14 $ 4
PARAM_VALUE 15 $ 6343703230478286848
PARAM_VALUE 17 $ 4096-ptr_max
PARAM_VALUE 18 $ 0
PARAM_VALUE 19 $ 0
BUF_SIZE 0 digest 20
BUF_SIZE 1 key 20
BUF_SIZE 3 h1 20
BUF_SIZE 4 h2 20
BUF_SIZE 7 $ 4
BUF_SIZE 9 $ 20
BUF_SIZE 11 $ 4
BUF_SIZE 13 $ 64
BUF_SIZE 13 $ 64
BUF_SIZE 15 $ 4
BUF_SIZE 17 $ 129
BUF_SIZE 17 $ 129
DATA_SOURCE 12 $ $10
DATA_SOURCE 13 $ $9
DATA_SOURCE 16 $ $5
DATA_SOURCE 17 $ $4
UNITS 6 $ unit_byte
UNITS 10 $ unit_byte
UNITS 14 $ unit_byte
UNITS 16 $ unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 digest 1165834853568987136
PARAM_VALUE 2 keylen 20
PARAM_VALUE 3 h1 5838847195261804544
PARAM_VALUE 4 h2 8298277321598398464
PARAM_VALUE 5 h3 0
PARAM_VALUE 6 $ 4
PARAM_VALUE 7 $ 7469181753725939712
PARAM_VALUE 7 *$ 24
PARAM_VALUE 10 $ 0
PARAM_VALUE 11 $ 0
BUF_SIZE 0 digest 20
BUF_SIZE 1 key 20
BUF_SIZE 1 key 20
BUF_SIZE 3 h1 20
BUF_SIZE 4 h2 20
BUF_SIZE 7 $ 4
BUF_SIZE 9 $ 512
BUF_SIZE 9 $ 512
DATA_SOURCE 1 key $2
DATA_SOURCE 8 $ $4
DATA_SOURCE 9 $ $3
UNITS 6 $ unit_byte
UNITS 8 $ unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 digest 6152266753242689536
PARAM_VALUE 2 keylen 20
PARAM_VALUE 3 h1 5820714161545334784
PARAM_VALUE 4 h2 8298277321598398464
PARAM_VALUE 5 h3 0
PARAM_VALUE 6 $ 4
PARAM_VALUE 7 $ 7469181753725939712
PARAM_VALUE 10 $ 0
PARAM_VALUE 11 $ 0
BUF_SIZE 0 digest 20
BUF_SIZE 1 key 20
BUF_SIZE 1 key 20
BUF_SIZE 3 h1 20
BUF_SIZE 4 h2 20
BUF_SIZE 7 $ 4
BUF_SIZE 9 $ 512
BUF_SIZE 9 $ 512
DATA_SOURCE 1 key $5
DATA_SOURCE 8 $ $4
DATA_SOURCE 9 $ $3
UNITS 6 $ unit_byte
UNITS 8 $ unit_byte