-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow objects on uninitialized tokens
- Loading branch information
Showing
2 changed files
with
134 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Could you please, if possible, add the flag
CKR_HOST_MEMORY
as well? Sometimes the OPTEE shared memory could not allocate anymore and cause an error at C_OpenSession due to ioctl failure. This will returnCKR_HOST_MEMORY
. So if possible change as follow:Just to add more information, since you have a pthread_cond_wait without timeout this block all process's that want get a connection. This problem was detected during to boot when several services try to access the HSM for connections