Packages that use MLKEMEngine
Package
Description
This is a small portion of bouncycastle 1.80 for MLKEM, modified to reduce dependencies.
Uses of MLKEMEngine in org.bouncycastle.pqc.crypto.mlkem
Fields in org.bouncycastle.pqc.crypto.mlkem declared as MLKEMEngineModifier and TypeFieldDescriptionprivate final MLKEMEngineMLKEMExtractor.engineThe ML-KEM engine doing the work.private MLKEMEngineMLKEMIndCpa.engineThe engine providing the primitives.private MLKEMEnginePoly.engineThe engine whose Kyber parameters this polynomial uses.private MLKEMEnginePolyVec.engineThe engine whose arithmetic this vector uses.Methods in org.bouncycastle.pqc.crypto.mlkem that return MLKEMEngineModifier and TypeMethodDescriptionMLKEMParameters.getEngine()Create an ML-KEM engine for this parameter set.Methods in org.bouncycastle.pqc.crypto.mlkem with parameters of type MLKEMEngineModifier and TypeMethodDescriptionstatic voidPolyVec.pointwiseAccountMontgomery(Poly out, PolyVec inp1, PolyVec inp2, MLKEMEngine engine) Multiply two vectors pointwise and sum the products into a polynomial.Constructors in org.bouncycastle.pqc.crypto.mlkem with parameters of type MLKEMEngineModifierConstructorDescriptionMLKEMIndCpa(MLKEMEngine engine) Creates the IND-CPA layer, caching the sizes derived from the engine's parameter set.Poly(MLKEMEngine engine) Creates a zeroed polynomial and caches the engine's Kyber parameters.PolyVec(MLKEMEngine engine) Create a vector sized from the engine's Kyber parameter set.