Rewrote the RNG parts. Now it uses Ada's own Stream_IO package instead of calling C functions. It's also rewritten so the stream is opened only on request, i.e. when information needs to be read from the RNG source file. This is achieved by opening and closing the the source file during the Read procedures, not during Initialize and Finalize respectively.
Moreover Big_Numbers and random Nonces was changed to add the ability to use a different RNG source than the default one from the Random package (i.e. /dev/random). When instantiating e.g. Big_Numbers an optional string signifies the RNG source file.
Lastly added generic instantiation variable to all asymmetric algorithms so non-default RNGs can be used by them as well.
Rewrote the RNG parts. Now it uses Ada's own Stream_IO package instead of calling C functions. It's also rewritten so the stream is opened only on request, i.e. when information needs to be read from the RNG source file. This is achieved by opening and closing the the source file during the Read procedures, not during Initialize and Finalize respectively.
Moreover Big_Numbers and random Nonces was changed to add the ability to use a different RNG source than the default one from the Random package (i.e. /dev/random). When instantiating e.g. Big_Numbers an optional string signifies the RNG source file.
Lastly added generic instantiation variable to all asymmetric algorithms so non-default RNGs can be used by them as well.