OpenSolaris

Printable Version Enter a New Search
Bug ID 6665460
Synopsis move random and nonzero random funcs out of pkcs11 to libcryptoutil
State 10-Fix Delivered (Fix available in build)
Category:Subcategory solaris-crypto:other
Keywords
Responsible Engineer Dina Kurktchi
Reported Against
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_85
Fixed In snv_85
Release Fixed solaris_nevada(snv_85)
Related Bugs 6650809 , 6666204 , 6722460 , 4926125
Submit Date 20-February-2008
Last Update Date 12-March-2008
Description
Generating random data and non-zero random data is useful to applications outside of pkcs11.  There is nothing inherently pkcs11 specific about making random data and making nonzero random data, so it can be factored out of pkcs11 and made available to other applications.  Lofi with encryption support is one example of an application that could use random functions to generate its ephemeral keys.  Lack of a pkcs11-unencumbered non-zero random function prevented moving ECC implementation code into a standalone crypto library with other crypto algorithms.  Libcryptoutil seems a reasonable place to move them.
Work Around
Rewrite a non-zero random function for lofi encryption support and embed in lofi.  However, once you've done that, you've already done 95% of the work for this RFE to make it generally available.
Comments
N/A