Robert, thank you for detailed answer. I decided how to implement parametrization of hash context creation in freebl`hasht.h`SECHashObject.
I chose to add another constructor at the end of SECHashObject. This decision keeps backward compatibility, binary and source-level. -- Konstantin On 07/26/10 21:42, Robert Relyea wrote:
[skip] Long answer: Blapi is used in the following instances: On linux, through a very specific and limited api for hashing functions only. This is use is not highly encouraged, but allowed for certain system functions (like glibc). In softoken through the blapi api (a static library the dlopens blapi itself and calls functions through a function pointer. This static library deals with version differences). In libssl if bypass is turned on. In other pkcs11 modules, particularly ones built with the ck library in the NSS tree. (libpem is an example). Currently softoken and blapi are tightly coupled. I know of no system that does not package these two together. I believe libssl is as well if bypass is turned on (linux will use an older blapi than libssl at times). bob
-- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto