| Modifier and Type | Field and Description |
|---|---|
| private final FipsAlgorithm | |
| private DRBG | |
| private final DRBGProvider | |
| private final EntropySource |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public VariantInternalKatTest | createReseedSelfTest(FipsAlgorithm
the FipsAlgorithm type algorithm)Implements org. |
| public VariantInternalKatTest | createSelfTest(FipsAlgorithm
the FipsAlgorithm type algorithm)Implements org. |
| public int | generate(byte[]
output array for generated bits. output, byte[] additional input to be added to the DRBG in this step. additionalInput, boolean true if a reseed should be forced, false otherwise. predictionResistant)Implements org. |
| public int | Returns: number of bits produced each cycle.Implements org. |
| public int | getSecurityStrength()
Implements org. |
| private void | |
| public void | reseed(byte[]
additional input to be added to the DRBG in this step. additionalInput)Implements org. |
| algorithm | back to summary |
|---|---|
| private final FipsAlgorithm algorithm | |
| drbg | back to summary |
|---|---|
| private DRBG drbg | |
| drbgProvider | back to summary |
|---|---|
| private final DRBGProvider drbgProvider | |
| entropySource | back to summary |
|---|---|
| private final EntropySource entropySource | |
| DRBGPseudoRandom | back to summary |
|---|---|
| pack-priv DRBGPseudoRandom(FipsAlgorithm algorithm, EntropySource entropySource, DRBGProvider drbgProvider) | |
| createReseedSelfTest | back to summary |
|---|---|
| public VariantInternalKatTest createReseedSelfTest(FipsAlgorithm algorithm) Implements org. Doc from org. Return a KAT for the DRBG - used prior to reseed.
| |
| createSelfTest | back to summary |
|---|---|
| public VariantInternalKatTest createSelfTest(FipsAlgorithm algorithm) Implements org. Doc from org. Return a KAT for the DRBG - used prior to initialisation.
| |
| generate | back to summary |
|---|---|
| public int generate(byte[] output, byte[] additionalInput, boolean predictionResistant) Implements org. Doc from org. Populate a passed in array with random data.
| |
| getBlockSize | back to summary |
|---|---|
| public int getBlockSize() Implements org. Return the block size of the underlying DRBG
| |
| getSecurityStrength | back to summary |
|---|---|
| public int getSecurityStrength() Implements org. Doc from org. Return the security strength of the DRBG.
| |
| lazyInitDRBG | back to summary |
|---|---|
| private void lazyInitDRBG() | |
| reseed | back to summary |
|---|---|
| public void reseed(byte[] additionalInput) Implements org. Doc from org. Reseed the DRBG.
| |