Protecting PRNG against malicious users / multiple independent PRNG states

2011-07-26 Thread Brian Smith
Mozilla would like to expose a secure PRNG (basically, a wrapper around PK11_GenerateRandom) to JavaScript content: https://bugzilla.mozilla.org/show_bug.cgi?id=440046 There is some agreement that we should maintain separate PRNG state for each origin (roughly: domain name), and that all those s

Re: bug compiling ridiculous program

2011-07-26 Thread John Dennis
On 07/26/2011 10:22 AM, florent ainardi wrote: hi i have just installed nss library and all dependencies (libc6, sqlite, zlib1g .. ) my program look like this #include #include that's all when i launch the gcc command : gcc test.c -otest -lnss i have more than hundred error but the firsts

bug compiling ridiculous program

2011-07-26 Thread florent ainardi
hi i have just installed nss library and all dependencies (libc6, sqlite, zlib1g .. ) my program look like this #include #include that's all when i launch the gcc command : gcc test.c -otest -lnss i have more than hundred error but the firsts one are these prtypes.h not found in nss dire

Re: nss program language

2011-07-26 Thread Elio Maldonado
On Jul 26, 7:08 am, florent ainardi wrote: > On 25 juil, 14:56, John Dennis wrote: > > > > > > > > > > > On 07/25/2011 05:08 AM, florent ainardi wrote: > > > > hi all > > > i have a doubt concerning the language of the nss library > > > i parse a sample of code given on the official website and i

Re: nss program language

2011-07-26 Thread florent ainardi
On 25 juil, 14:56, John Dennis wrote: > On 07/25/2011 05:08 AM, florent ainardi wrote: > > > hi all > > i have a doubt concerning the language of the nss library > > i parse a sample of code given on the official website and it seems to > > be written in cpp > > can you confirm that the nss librar

problem while compiling nss project

2011-07-26 Thread florent ainardi
hi i made a little program including nss.h and pk11pub.h when i try to compil it with gcc i have the following error : test.c c: 2:21 error : pk11pub.h : file not found when i install the lib i have no error how can i check that the libs is installed properlly ? can i delete it and install it aga