| Modifier and Type | Method and Description |
|---|---|
| public VariantInternalKatTest | Returns: a self testthe FipsAlgorithm type algorithm)Return a KAT for the DRBG - used prior to reseed. |
| public VariantInternalKatTest | Returns: a self testthe FipsAlgorithm type algorithm)Return a KAT for the DRBG - used prior to initialisation. |
| public int | Returns: number of bits generated, -1 if a reseed required.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)Populate a passed in array with random data. |
| public int | Returns: the block size (in bits) produced by each round of the DRBG.Return the block size of the DRBG. |
| public int | Returns: the security strength (in bits) of the DRBG.Return the security strength of the DRBG. |
| public void | reseed(byte[]
additional input to be added to the DRBG in this step. additionalInput)Reseed the DRBG. |
| createReseedSelfTest | back to summary |
|---|---|
| public VariantInternalKatTest createReseedSelfTest(FipsAlgorithm algorithm) Return a KAT for the DRBG - used prior to reseed.
| |
| createSelfTest | back to summary |
|---|---|
| public VariantInternalKatTest createSelfTest(FipsAlgorithm algorithm) Return a KAT for the DRBG - used prior to initialisation.
| |
| generate | back to summary |
|---|---|
| public int generate(byte[] output, byte[] additionalInput, boolean predictionResistant) Populate a passed in array with random data.
| |
| getBlockSize | back to summary |
|---|---|
| public int getBlockSize() Return the block size of the DRBG.
| |
| getSecurityStrength | back to summary |
|---|---|
| public int getSecurityStrength() Return the security strength of the DRBG.
| |
| reseed | back to summary |
|---|---|
| public void reseed(byte[] additionalInput) Reseed the DRBG.
| |