Home
last modified time | relevance | path

Searched refs:entropySource (Results 1 – 25 of 31) sorted by relevance

12

/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/prng/
H A DSP800SecureRandom.java13 private final EntropySource entropySource; field in SP800SecureRandom
17 …SP800SecureRandom(SecureRandom randomSource, EntropySource entropySource, DRBGProvider drbgProvide… in SP800SecureRandom() argument
20 this.entropySource = entropySource; in SP800SecureRandom()
59 drbg = drbgProvider.get(entropySource); in nextBytes()
73 return EntropyUtil.generateSeed(entropySource, numBytes); in generateSeed()
87 drbg = drbgProvider.get(entropySource); in reseed()
H A DEntropyUtil.java15 public static byte[] generateSeed(EntropySource entropySource, int numBytes) in generateSeed() argument
19 if (numBytes * 8 <= entropySource.entropySize()) in generateSeed()
21 byte[] ent = entropySource.getEntropy(); in generateSeed()
27 int entSize = entropySource.entropySize() / 8; in generateSeed()
31 byte[] ent = entropySource.getEntropy(); in generateSeed()
H A DX931RNG.java13 private final EntropySource entropySource; field in X931RNG
28 public X931RNG(BlockCipher engine, byte[] dateTimeVector, EntropySource entropySource) in X931RNG() argument
31 this.entropySource = entropySource; in X931RNG()
78 V = entropySource.getEntropy(); in generate()
121 V = entropySource.getEntropy(); in reseed()
131 return entropySource; in getEntropySource()
H A DSP800SecureRandomBuilder.java52 public SP800SecureRandomBuilder(SecureRandom entropySource, boolean predictionResistant) in SP800SecureRandomBuilder() argument
54 this.random = entropySource; in SP800SecureRandomBuilder()
170 public SP80090DRBG get(EntropySource entropySource) in get() argument
172 … return new HashSP800DRBG(digest, securityStrength, entropySource, personalizationString, nonce); in get()
202 public SP80090DRBG get(EntropySource entropySource) in get() argument
204 … return new HMacSP800DRBG(hMac, securityStrength, entropySource, personalizationString, nonce); in get()
236 public SP80090DRBG get(EntropySource entropySource) in get() argument
238 …return new CTRSP800DRBG(blockCipher, keySizeInBits, securityStrength, entropySource, personalizati… in get()
H A DX931SecureRandomBuilder.java41 public X931SecureRandomBuilder(SecureRandom entropySource, boolean predictionResistant) in X931SecureRandomBuilder() argument
43 this.random = entropySource; in X931SecureRandomBuilder()
H A DDRBGProvider.java9 SP80090DRBG get(EntropySource entropySource); in get() argument
/dports/java/bouncycastle15/crypto-169/core/src/main/jdk1.1/org/bouncycastle/crypto/prng/
H A DSP800SecureRandomBuilder.java52 public SP800SecureRandomBuilder(SecureRandom entropySource, boolean predictionResistant) in SP800SecureRandomBuilder() argument
54 this.random = entropySource; in SP800SecureRandomBuilder()
170 public SP80090DRBG get(EntropySource entropySource) in get() argument
172 … return new HashSP800DRBG(digest, securityStrength, entropySource, personalizationString, nonce); in get()
202 public SP80090DRBG get(EntropySource entropySource) in get() argument
204 … return new HMacSP800DRBG(hMac, securityStrength, entropySource, personalizationString, nonce); in get()
236 public SP80090DRBG get(EntropySource entropySource) in get() argument
238 …return new CTRSP800DRBG(blockCipher, keySizeInBits, securityStrength, entropySource, personalizati… in get()
/dports/java/bouncycastle15/crypto-169/tls/src/main/java/org/bouncycastle/tls/crypto/impl/jcajce/
H A DJcaNonceGenerator.java15 JcaNonceGenerator(SecureRandom entropySource, byte[] additionalData) in JcaNonceGenerator() argument
19 entropySource.nextBytes(nonce); in JcaNonceGenerator()
21 this.random = new SP800SecureRandomBuilder(entropySource, false) in JcaNonceGenerator()
H A DJcaTlsCrypto.java80 private final SecureRandom entropySource; field in JcaTlsCrypto
94 …protected JcaTlsCrypto(JcaJceHelper helper, SecureRandom entropySource, SecureRandom nonceEntropyS… in JcaTlsCrypto() argument
97 this.entropySource = entropySource; in JcaTlsCrypto()
125 return entropySource; in getSecureRandom()
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/crypto/prng/drbg/
H A DDualECSP800DRBG.java88 …public DualECSP800DRBG(Digest digest, int securityStrength, EntropySource entropySource, byte[] pe… in DualECSP800DRBG() argument
90 this(nistPoints, digest, securityStrength, entropySource, personalizationString, nonce); in DualECSP800DRBG()
105 …Points[] pointSet, Digest digest, int securityStrength, EntropySource entropySource, byte[] person… in DualECSP800DRBG() argument
108 _entropySource = entropySource; in DualECSP800DRBG()
116 …if (entropySource.entropySize() < securityStrength || entropySource.entropySize() > MAX_ENTROPY_LE… in DualECSP800DRBG()
H A DHMacSP800DRBG.java35 …public HMacSP800DRBG(Mac hMac, int securityStrength, EntropySource entropySource, byte[] personali… in HMacSP800DRBG() argument
42 if (entropySource.entropySize() < securityStrength) in HMacSP800DRBG()
48 _entropySource = entropySource; in HMacSP800DRBG()
H A DHashSP800DRBG.java53 …public HashSP800DRBG(Digest digest, int securityStrength, EntropySource entropySource, byte[] pers… in HashSP800DRBG() argument
60 if (entropySource.entropySize() < securityStrength) in HashSP800DRBG()
66 _entropySource = entropySource; in HashSP800DRBG()
H A DCTRSP800DRBG.java44 …Cipher engine, int keySizeInBits, int securityStrength, EntropySource entropySource, byte[] person… in CTRSP800DRBG() argument
46 _entropySource = entropySource; in CTRSP800DRBG()
64 if (entropySource.entropySize() < securityStrength) in CTRSP800DRBG()
/dports/security/beecrypt/beecrypt-4.2.1/include/beecrypt/
H A Dbeecrypt.h53 struct BEECRYPTAPI entropySource struct
69 typedef struct _entropySource entropySource; typedef
93 const entropySource* entropySourceGet(int n);
101 const entropySource* entropySourceFind(const char* name);
109 const entropySource* entropySourceDefault(void);
/dports/security/beecrypt/beecrypt-4.2.1/
H A Dbeecrypt.c61 static entropySource entropySourceList[] =
86 #define ENTROPYSOURCES (sizeof(entropySourceList) / sizeof(entropySource))
93 const entropySource* entropySourceGet(int n) in entropySourceGet()
96 return (const entropySource*) 0; in entropySourceGet()
101 const entropySource* entropySourceFind(const char* name) in entropySourceFind()
110 return (const entropySource*) 0; in entropySourceFind()
113 const entropySource* entropySourceDefault() in entropySourceDefault()
125 return (const entropySource*) 0; in entropySourceDefault()
134 const entropySource* ptr = entropySourceFind(selection); in entropyGatherNext()
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-core/include/aws/core/utils/crypto/
H A DSecureRandom.h56 … SecureRandom(const std::shared_ptr<SecureRandomBytes>& entropySource) : m_entropy(entropySource) in SecureRandom() argument
/dports/java/bouncycastle15/crypto-169/core/src/test/jdk1.4/org/bouncycastle/crypto/prng/test/
H A DSP800RandomTest.java68 rBuild.setEntropyBitsRequired(tv.entropySource().getEntropy().length * 8); in doHashTest()
133 rBuild.setEntropyBitsRequired(tv.entropySource().getEntropy().length * 8); in doHMACTest()
199 rBuild.setEntropyBitsRequired(tv.entropySource().getEntropy().length * 8); in doCTRTest()
/dports/java/bouncycastle15/crypto-169/core/src/test/java/org/bouncycastle/crypto/prng/test/
H A DSP800RandomTest.java68 rBuild.setEntropyBitsRequired(tv.entropySource().getEntropy().length * 8); in doHashTest()
133 rBuild.setEntropyBitsRequired(tv.entropySource().getEntropy().length * 8); in doHMACTest()
199 rBuild.setEntropyBitsRequired(tv.entropySource().getEntropy().length * 8); in doCTRTest()
H A DCTRDRBGTest.java335 …800DRBG(tv.getCipher(), tv.keySizeInBits(), tv.securityStrength(), tv.entropySource(), personalisa… in performTest()
362 …Cipher(tv.getCipher()), tv.keySizeInBits(), tv.securityStrength(), tv.entropySource(), tv.personal… in performTest()
H A DDRBGTestVector.java109 public EntropySource entropySource() in entropySource() method in DRBGTestVector
H A DDualECDRBGTest.java312 …RBG d = new DualECSP800DRBG(tv.getDigest(), tv.securityStrength(), tv.entropySource(), personalisa… in performTest()
/dports/java/bouncycastle15/crypto-169/tls/src/main/java/org/bouncycastle/tls/crypto/impl/bc/
H A DBcTlsCrypto.java80 private final SecureRandom entropySource; field in BcTlsCrypto
82 public BcTlsCrypto(SecureRandom entropySource) in BcTlsCrypto() argument
84 this.entropySource = entropySource; in BcTlsCrypto()
94 return entropySource; in getSecureRandom()
/dports/sysutils/calamares/calamares-3.2.44.2/src/modules/luksbootkeyfile/
H A DLuksBootKeyFileJob.cpp110 auto entropySource = CalamaresUtils::getEntropy( 2048, entropy ); in generateTargetKeyfile() local
111 if ( entropySource != CalamaresUtils::EntropySource::URandom ) in generateTargetKeyfile()
/dports/devel/capnproto080/capnproto-0.8.0/c++/src/kj/compat/
H A Dhttp-test.c++2179 FakeEntropySource entropySource; variable
2181 clientSettings.entropySource = entropySource;
2206 FakeEntropySource entropySource; variable
2208 clientSettings.entropySource = entropySource;
2952 clientSettings.entropySource = entropySource;
2992 clientSettings.entropySource = entropySource;
3426 FakeEntropySource entropySource; variable
3428 clientSettings.entropySource = entropySource;
3578 FakeEntropySource entropySource; variable
3580 clientSettings.entropySource = entropySource;
[all …]
/dports/devel/capnproto/capnproto-0.9.0/c++/src/kj/compat/
H A Dhttp-test.c++2264 FakeEntropySource entropySource; variable
2266 clientSettings.entropySource = entropySource;
2291 FakeEntropySource entropySource; variable
2293 clientSettings.entropySource = entropySource;
3039 clientSettings.entropySource = entropySource;
3080 clientSettings.entropySource = entropySource;
3514 FakeEntropySource entropySource; variable
3516 clientSettings.entropySource = entropySource;
3666 FakeEntropySource entropySource; variable
3668 clientSettings.entropySource = entropySource;
[all …]

12