diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-11-16 13:03:47 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-11-16 13:03:47 +0700 |
commit | d5a3ed7ca44ab2c64c54aff379c888b56b10dad3 (patch) | |
tree | b68984b7ea847c43986eddca735c3efc94be1408 | |
parent | More delete/move/rename (diff) | |
download | BouncyCastle.NET-ed25519-d5a3ed7ca44ab2c64c54aff379c888b56b10dad3.tar.xz |
Delete files
-rw-r--r-- | crypto/src/crypto/IEntropySource.cs | 29 | ||||
-rw-r--r-- | crypto/src/crypto/IEntropySourceProvider.cs | 19 |
2 files changed, 0 insertions, 48 deletions
diff --git a/crypto/src/crypto/IEntropySource.cs b/crypto/src/crypto/IEntropySource.cs deleted file mode 100644 index 33ce1b801..000000000 --- a/crypto/src/crypto/IEntropySource.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; - -namespace Org.BouncyCastle.Crypto -{ - /// <summary> - /// Base interface describing an entropy source for a DRGB. - /// </summary> - public interface IEntropySource - { - /// <summary> - /// Return whether or not this entropy source is regarded as prediction resistant. - /// </summary> - /// <value><c>true</c> if this instance is prediction resistant; otherwise, <c>false</c>.</value> - bool IsPredictionResistant { get; } - - /// <summary> - /// Return a byte array of entropy. - /// </summary> - /// <returns>The entropy bytes.</returns> - byte[] GetEntropy(); - - /// <summary> - /// Return the number of bits of entropy this source can produce. - /// </summary> - /// <value>The size, in bits, of the return value of getEntropy.</value> - int EntropySize { get; } - } -} - diff --git a/crypto/src/crypto/IEntropySourceProvider.cs b/crypto/src/crypto/IEntropySourceProvider.cs deleted file mode 100644 index 990c6497b..000000000 --- a/crypto/src/crypto/IEntropySourceProvider.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Org.BouncyCastle.Crypto -{ - /// <summary> - /// Base interface describing a provider of entropy sources. - /// </summary> - public interface IEntropySourceProvider - { - /// <summary> - /// Return an entropy source providing a block of entropy. - /// </summary> - /// <param name="bitsRequired">The size of the block of entropy required.</param> - /// <returns>An entropy source providing bitsRequired blocks of entropy.</returns> - IEntropySource Get(int bitsRequired); - } -} |