- Add Fortuna PRNG to pgcrypto.

Bruce Momjian <bruce@momjian.us>

Commit: 4fcf8b11ff4561b7479b80396a0d697bda0e5115
Author: Bruce Momjian <bruce@momjian.us>
Date: 2005-07-10T03:55:28Z
Releases: 8.1.0
- Add Fortuna PRNG to pgcrypto.
- Move openssl random provider to openssl.c and builtin provider
  to internal.c
- Make px_random_bytes use Fortuna, instead of giving error.
- Retarget random.c to aquiring system randomness, for initial seeding
  of Fortuna.  There is ATM 2 functions for Windows,
  reader from /dev/urandom and the regular time()/getpid() silliness.

Marko Kreen

Files

PathChange+/−
contrib/pgcrypto/internal.c modified +64 −1
contrib/pgcrypto/Makefile modified +5 −9
contrib/pgcrypto/openssl.c modified +59 −1
contrib/pgcrypto/px.h modified +4 −1
contrib/pgcrypto/random.c modified +152 −65