On 2/14/2013 7:59 PM, Karthick R wrote: > Hi, > > I have been playing with the tss-tools recently and modified the code > just to create the RSA key and exit. The code does the following things: > > 1. Create TSS Context > 2. Get TPM Object > 3. Load PCR values > 4. Get Random symmetric from TPM > 5. Load and set SRK policy > 6. Create and Load RSA key > > I find that creating and loading RSA key take a minimum of 1.5 seconds > in my system. I think this is understandable, given TPM is a low power > device. However, what I am interested is, in the following scenario. > > When I continuously try to create 20 RSA blobs (from a bash script), it > take around 5 minutes (15 seconds at an average). I would like to know > is this by design or am I missing something?
A TPM implementation can generate several RSA keys (or primes) in the background if it has no other tasks. Thus, the first few requests might happen more quickly. Once you've consumed those, new requests take longer. It's a vendor specific feature. Don't depend on it being there. ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
