Class Argon2BytesGenerator.FixedBlockPool

java.lang.Object
org.bouncycastle.crypto.generators.Argon2BytesGenerator.FixedBlockPool
All Implemented Interfaces:
Argon2BytesGenerator.BlockPool
Enclosing class:
Argon2BytesGenerator

public static class Argon2BytesGenerator.FixedBlockPool extends Object implements Argon2BytesGenerator.BlockPool
Bounded pool that recycles up to maxBlocks Argon2BytesGenerator.Block objects. Excess blocks returned via deallocate(Block) are dropped and left for the garbage collector. The generator returns every block zeroised, so this pool neither clears nor inspects what it recycles; Argon2BytesGenerator.getBlockCount(int, int) gives the size that recycles a whole run.