diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/crypto/prng/ISP80090Drbg.cs | 33 | ||||
-rw-r--r-- | crypto/test/src/crypto/prng/test/DrbgTestVector.cs (renamed from crypto/test/src/crypto/prng/test/DRGBTestVector.cs) | 0 |
2 files changed, 0 insertions, 33 deletions
diff --git a/crypto/src/crypto/prng/ISP80090Drbg.cs b/crypto/src/crypto/prng/ISP80090Drbg.cs deleted file mode 100644 index c39cf365f..000000000 --- a/crypto/src/crypto/prng/ISP80090Drbg.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace Org.BouncyCastle.Crypto.Prng.Drbg -{ - /** - * Interface to SP800-90A deterministic random bit generators. - */ - public interface SP80090Drbg - { - /** - * Return the block size of the DRBG. - * - * @return the block size (in bits) produced by each round of the DRBG. - */ - int BlockSize { get; } - - /** - * Populate a passed in array with random data. - * - * @param output output array for generated bits. - * @param additionalInput additional input to be added to the DRBG in this step. - * @param predictionResistant true if a reseed should be forced, false otherwise. - * - * @return number of bits generated, -1 if a reseed required. - */ - int Generate(byte[] output, byte[] additionalInput, bool predictionResistant); - - /** - * Reseed the DRBG. - * - * @param additionalInput additional input to be added to the DRBG in this step. - */ - void Reseed(byte[] additionalInput); - } -} diff --git a/crypto/test/src/crypto/prng/test/DRGBTestVector.cs b/crypto/test/src/crypto/prng/test/DrbgTestVector.cs index a4129b9f8..a4129b9f8 100644 --- a/crypto/test/src/crypto/prng/test/DRGBTestVector.cs +++ b/crypto/test/src/crypto/prng/test/DrbgTestVector.cs |