Home
last modified time | relevance | path

Searched refs:reg_shm (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tee.c68 struct tee_shm *reg_shm = NULL; in trusted_tee_seal() local
75 if (IS_ERR(reg_shm)) { in trusted_tee_seal()
77 return PTR_ERR(reg_shm); in trusted_tee_seal()
102 tee_shm_free(reg_shm); in trusted_tee_seal()
115 struct tee_shm *reg_shm = NULL; in trusted_tee_unseal() local
122 if (IS_ERR(reg_shm)) { in trusted_tee_unseal()
124 return PTR_ERR(reg_shm); in trusted_tee_unseal()
149 tee_shm_free(reg_shm); in trusted_tee_unseal()
168 if (IS_ERR(reg_shm)) { in trusted_tee_get_random()
170 return PTR_ERR(reg_shm); in trusted_tee_get_random()
[all …]
/openbmc/u-boot/test/dm/
H A Dtee.c53 struct tee_shm *reg_shm; member
83 rc = tee_shm_register(dev, data, sizeof(data), 0, &vars->reg_shm); in test_tee()
91 ut_assert(tee_shm_is_registered(vars->reg_shm, dev)); in test_tee()
94 tee_shm_free(vars->reg_shm); in test_tee()
95 vars->reg_shm = NULL; in test_tee()
109 tee_shm_free(vars.reg_shm); in dm_test_tee()