From d5a3ed7ca44ab2c64c54aff379c888b56b10dad3 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 16 Nov 2015 13:03:47 +0700 Subject: Delete files --- crypto/src/crypto/IEntropySource.cs | 29 ----------------------------- crypto/src/crypto/IEntropySourceProvider.cs | 19 ------------------- 2 files changed, 48 deletions(-) delete mode 100644 crypto/src/crypto/IEntropySource.cs delete mode 100644 crypto/src/crypto/IEntropySourceProvider.cs (limited to 'crypto/src') 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 -{ - /// - /// Base interface describing an entropy source for a DRGB. - /// - public interface IEntropySource - { - /// - /// Return whether or not this entropy source is regarded as prediction resistant. - /// - /// true if this instance is prediction resistant; otherwise, false. - bool IsPredictionResistant { get; } - - /// - /// Return a byte array of entropy. - /// - /// The entropy bytes. - byte[] GetEntropy(); - - /// - /// Return the number of bits of entropy this source can produce. - /// - /// The size, in bits, of the return value of getEntropy. - 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 -{ - /// - /// Base interface describing a provider of entropy sources. - /// - public interface IEntropySourceProvider - { - /// - /// Return an entropy source providing a block of entropy. - /// - /// The size of the block of entropy required. - /// An entropy source providing bitsRequired blocks of entropy. - IEntropySource Get(int bitsRequired); - } -} -- cgit 1.5.1