Re: Question about NSS initialization for using SHA_256 in my library

2009-12-12 Thread Nelson B Bolyard
On 2009-12-10 03:53 PST, Konstantin Andreev wrote: > On Thu, 10 Dec 2009, Lv, Zhiyuan wrote: >> >> I am planning to use the HASH_HashBuf (HASH_AlgSHA256...) in my own >> library for SHA256 computing. Currently I encountered an initialization >> issue.. Could someone kindly give me some suggestions

Re: Question about NSS initialization for using SHA_256 in my library

2009-12-11 Thread Wan-Teh Chang
2009/12/9 Lv, Zhiyuan : > Hi, > > I am planning to use the HASH_HashBuf (HASH_AlgSHA256...) in my own library > for SHA256 computing. Currently I encountered an initialization issue. Could > someone kindly give me some suggestions? Thanks in advance! > > There is code like below: > > inited_by_myse

Re: Question about NSS initialization for using SHA_256 in my library

2009-12-10 Thread Konstantin Andreev
Hello, Zhiyuan. On Thu, 10 Dec 2009, Lv, Zhiyuan wrote: I am planning to use the HASH_HashBuf (HASH_AlgSHA256...) in my own library for SHA256 computing. Currently I encountered an initialization issue.. Could someone kindly give me some suggestions? Thanks in advance! If your application nee

Question about NSS initialization for using SHA_256 in my library

2009-12-09 Thread Lv, Zhiyuan
Hi, I am planning to use the HASH_HashBuf (HASH_AlgSHA256...) in my own library for SHA256 computing. Currently I encountered an initialization issue. Could someone kindly give me some suggestions? Thanks in advance! There is code like below: inited_by_myself = false; if (NSS_IsInitialized())