HSM - cryptoki - opening sessions overhead
Posted
by Raj
on Stack Overflow
See other posts from Stack Overflow
or by Raj
Published on 2010-06-15T10:57:42Z
Indexed on
2010/06/15
11:02 UTC
Read the original article
Hit count: 297
I am having a query regarding sessions with HSM.
I am aware that there is an overhead if you initialise and finalise the cryptoki api for every file you want to encrypt/decrypt.
My queries are,
Is there an overhead in opening and closing individual sessions for every file, you want to encrypt/decrypt.(C_Initialize/C_Finalize)
How many maximum number of sessions can i have for a HSM simultaneously, with out affecting the performance?
Is opening and closing the session for processing individual files the best approach or opening a session and processing multiple files and then closing the session the best approach?
Thanks
© Stack Overflow or respective owner