Resource manager tabrm5 fails sessions
Should tabrm5 have the session swapping yet? Is there a different head I should be using?
~~~~
I have the following test:
create a primary storage key
create 2 signing keys under the storage key, each with a different
password
load all 2 keys
create an hmac session
sign with each key
~~~~
When I run three of these processes, it passes. Each test has 3 loaded keys (all slots filled) and one session slot filled. This indicates that transient object swapping is working.
When I start fourth process, it fails creating the session. The error is:
rc 00000903TPM_RC_SESSION_MEMORY - out of memory for session contexts
This indicates that session swapping is not occurring.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Quoted 2 lines · Ken Goldman
Should tabrm5 have the session swapping yet? Is there a different head I should be using?
Jarkko's branch doesn't currently have sessions. If you want the session code, it's here:
http://git.kernel.org/cgit/linux/kernel/git/jejb/tpmdd.git/ tabrm5
It's an addition to Jarkko's, so you should be able simply to pull it in. However, it does contain my experimental regapping code, so treat with caution (it is passing its test suite here, so if you find a failure, I'm interested).
Quoted 18 lines
~~~~
I have the following test:
create a primary storage key
create 2 signing keys under the storage key, each with a
different
password
load all 2 keys
create an hmac session
sign with each key~~~~
When I run three of these processes, it passes. Each test has 3 loaded keys (all slots filled) and one session slot filled. This indicates that transient object swapping is working.
Quoted 7 lines
When I start fourth process, it fails creating the session. The error is:
rc 00000903
TPM_RC_SESSION_MEMORY- out of memory for session contextsThis indicates that session swapping is not occurring.
Right, you need to add the session swapping code, either by applying the patch or updating from my tree.
James
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Quoted 2 lines · Ken Goldman
Should tabrm5 have the session swapping yet? Is there a different head I should be using?
No. You have to apply the patch manually.
/Jarkko
Quoted 27 lines
~~~~
I have the following test:
create a primary storage key
create 2 signing keys under the storage key, each with a different
password
load all 2 keys
create an hmac session
sign with each key~~~~
When I run three of these processes, it passes. Each test has 3 loaded keys (all slots filled) and one session slot filled. This indicates that transient object swapping is working.
When I start fourth process, it fails creating the session. The error is:
rc 00000903
TPM_RC_SESSION_MEMORY- out of memory for session contextsThis indicates that session swapping is not occurring.
Quoted 7 lines
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
tpmdd-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot