Hi, I am developing an extension for Firefox that uses NSS for
cryptography. I would like to use RNG_SystemRNG function to gain random
noise from OS. This seems to be the best way to initialize my own
secured random generator. Problem is that this function is declared in
private header (dist\private\nss\secrng.h) and I cannot include it in
my extension. I may use PR_GetRandomNoise in NSPR but this is probably
not that secure strong and also blocks on linux OS when I want more
noise data synchronously at once.

Is there a way how I can use RNG_SystemRNG function in my extension? Is
there a way how I can getter secure random data directly in NSS which
would alter my current secured random generator implementation?

Thanks for help,
Honza B.

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to